83Plus:BCALLs:4C93: Difference between revisions
From WikiTI
Jump to navigationJump to search
84plusfreak (talk | contribs) No edit summary |
Linked apdTime and formatting |
||
| Line 11: | Line 11: | ||
=== Outputs === | === Outputs === | ||
* (apdTimer)= | * ([[83Plus:RAM:8449|apdTimer]]) = 74 | ||
=== Registers Destroyed === | === Registers Destroyed === | ||
Latest revision as of 04:30, 4 May 2005
Synopsis
Official Name: ApdSetup
BCALL Address: 4C93
Resets the APD counter
Inputs
- None
Outputs
- (apdTimer) = 74
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