83Plus:RAM:843F

From WikiTI
Revision as of 03:29, 10 May 2014 by Dr. D'nar (Talk | contribs)

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

Synopsis

Official Name: kbdScanCode

Memory Address: 843Fh

Length: 1 byte.

Stores the scan code of the key being pressed. This is set by KbdScan and read by GetCSC. It is only valid when the flag kbdSCR,(iy+kbdFlags) is set.

GetCSC can also process diagonal arrow key presses; set bit 0 of mouseFlag1 to enable this behavior, though you shouldn't return to the OS with it set. Here are the equates:

skDownLeft		EQU	252
skDownRight		EQU	250
skUpLeft		EQU	245
skUpRight		EQU	243