Difference between revisions of "83Plus:BCALLs:4C93"

From WikiTI
Jump to: navigation, search
 
(Linked apdTime and formatting)
 
Line 11: Line 11:
  
 
=== Outputs ===
 
=== Outputs ===
* (apdTimer)=74h
+
* ([[83Plus:RAM:8449|apdTimer]]) = 74
  
 
=== Registers Destroyed ===
 
=== Registers Destroyed ===

Latest revision as of 20:30, 3 May 2005

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