83Plus:BCALLs:4018
From WikiTI
Revision as of 07:33, 26 April 2005 by Dan Englender (Talk | contribs)
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).