83Plus:BCALLs:4C93

From WikiTI
Revision as of 04:50, 3 May 2005 by 84plusfreak (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Official Name: ApdSetup

BCALL Address: 4C93

Resets the APD counter

Inputs

  • None

Outputs

  • (apdTimer)=74h

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