GetCSC
This routine loads the current keyboard scancode from kbdScanCode
into a
, then clears kbdScanCode
. If no key is pressed, a
is loaded with $00. Note that calling this routine will also enable interrupts. An interactive keypad with all key values (including scan codes) can be found here.
- None.
a
: Current scancode.hl
:kbdScanCode
address.kbdScanCode
: Loaded with $00.kbdSCR
flag reset.
a
,hl