Difference between revisions of "83Plus:BCALLs:4018"
From WikiTI
(→Registers Destroyed) |
m (fix category) |
||
Line 1: | Line 1: | ||
− | [[Category:83Plus:BCALLs:By Name: | + | [[Category:83Plus:BCALLs:By Name:Utility|GetCSC]] [[Category:83Plus:BCALLs:By Name|GetCSC]] [[Category:83Plus:BCALLs:By Address|4018 - GetCSC]] |
== Synopsis == | == Synopsis == | ||
'''Official Name:''' GetCSC | '''Official Name:''' GetCSC |
Revision as of 12:42, 13 April 2005
Synopsis
Official Name: GetCSC
BCALL Address: 4018
This routine loads the most recent scan code into register A.
Inputs
- none
Outputs
- A=(kbdScanCode)
- (kbdScanCode)=0
- kbdSCR,(iy+kbdFlags) reset
Registers Destroyed
- HL=kbdScanCode
Comments
This routine expects that either interrupts are enabled or KbdScan was called manually. Either of these routines will check the keyboard and load the appropriate scan code into the memory location kbdScanCode and set the flag kbdSCR,(iy+kbdFlags).