Difference between revisions of "83:ROMCalls:4010"
From WikiTI
Line 17: | Line 17: | ||
== Comments == | == Comments == | ||
− | Normally this routine is called by the interrupt handler. If interrupts are not enabled, this can be used prior to the Getcsc | + | Normally this routine is called by the interrupt handler. If interrupts are not enabled, this can be used prior to the [[83:ROMCalls:4014|Getcsc]] romcall to achieve the same results. |
Revision as of 12:39, 13 April 2005
Synopsis
Official Name: KbdScan
Call Address: 4010
This routine scans the keyboard for any key presses and updates the memory location kbdScanCode.
Inputs
- none
Outputs
- (kbdScanCode) = scan code of key press
Registers Destroyed
- ??
Comments
Normally this routine is called by the interrupt handler. If interrupts are not enabled, this can be used prior to the Getcsc romcall to achieve the same results.