Difference between revisions of "83:ROMCalls:4010"
From WikiTI
m (83Plus to 83) |
(kbdScanCode is at 8000) |
||
Line 6: | Line 6: | ||
'''Call Address:''' 4010 | '''Call Address:''' 4010 | ||
− | This routine scans the keyboard for any key presses and updates the memory location [[83:RAM: | + | This routine scans the keyboard for any key presses and updates the memory location [[83:RAM:8000|kbdScanCode]]. |
=== Inputs === | === Inputs === | ||
Line 12: | Line 12: | ||
=== Outputs === | === Outputs === | ||
− | * ([[83:RAM: | + | * ([[83:RAM:8000|kbdScanCode]]) = scan code of key press |
=== Registers Destroyed === | === Registers Destroyed === |
Revision as of 21:16, 18 April 2008
This article is missing some information (namely Destroys). You can help WikiTI by filling in the missing information.
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.