83Plus:BCALLs:4C93

From WikiTI
Jump to: navigation, search

Synopsis

Official Name: ApdSetup

BCALL Address: 4C93

Resets the APD counter

Inputs

  • None

Outputs

Registers Destroyed

  • HL

Comments

Simply enough to implement yourself. The code is:

ld hl,apdTimer
ld (hl),74h
ret

Example

keyLoop:
ei
halt
B_CALL GetCSC
or a
jr z,keyLoop
B_CALL ApdSetup
ret