eZ80 docs
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

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.

Address: $02014C

Inputs:

  • None.

Outputs:

Destroys:

  • a, hl