83:ROMCalls:4014

From WikiTI
Revision as of 18:32, 17 June 2020 by Tari (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Official Name: GetCSC

Call Address: 4014

This routine returns the Current Scan Code into register A.

Inputs

  • none

Outputs

Comments

This routine expects that either interrupts are enabled or KbdScan was called manually. Either of these routines will check the keyboard and load the appropriate scan code into kbdScanCode and set the flag kbdSCR,(iy+kbdFlags).

Arrow keys and DEL will repeat if held down, while others will not; see notes on KbdScan.