From WikiTI
Jump to: navigation, search
This article is missing some information (namely Destroys). You can help WikiTI by filling in the missing information.


Official Name: KbdScan

Call Address: 4010

This routine scans the keyboard for any key presses and updates the memory location kbdScanCode.


  • none


Registers Destroyed

  •  ??


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.

Key repeat is handled here, when scanning the keyboard. If any of the arrow keys or DEL is held, they will first be repeated after about 48 calls and every 10 after the first. Holding other keys will not update kbdScanCode until the key is released.