ReC98/platform/x86real/pc98/keyboard.inc

141 lines
1.8 KiB
HTML

; BIOS key press bitmap addresses
KEYGROUP_0 = 52Ah
KEYGROUP_1 = 52Bh
KEYGROUP_2 = 52Ch
KEYGROUP_3 = 52Dh
KEYGROUP_4 = 52Eh
KEYGROUP_5 = 52Fh
KEYGROUP_6 = 530h
KEYGROUP_7 = 531h
KEYGROUP_8 = 532h
KEYGROUP_9 = 533h
KEYGROUP_10 = 534h
KEYGROUP_11 = 535h
KEYGROUP_12 = 536h
KEYGROUP_13 = 537h
KEYGROUP_14 = 538h
K0_ESC = 01h
K0_1 = 02h
K0_2 = 04h
K0_3 = 08h
K0_4 = 10h
K0_5 = 20h
K0_6 = 40h
K0_7 = 80h
K1_8 = 01h
K1_9 = 02h
K1_0 = 04h
K1_MINUS = 08h
K1_CIRCUMFLEX = 10h
K1_YEN = 20h
K1_BACKSPACE = 40h
K1_TAB = 80h
K2_Q = 01h
K2_W = 02h
K2_E = 04h
K2_R = 08h
K2_T = 10h
K2_Y = 20h
K2_U = 40h
K2_I = 80h
K3_O = 01h
K3_P = 02h
K3_AT = 04h
K3_LBRACKET = 08h
K3_RETURN = 10h
K3_A = 20h
K3_S = 40h
K3_D = 80h
K4_F = 01h
K4_G = 02h
K4_H = 04h
K4_J = 08h
K4_K = 10h
K4_L = 20h
K4_PLUS = 40h
K4_ASTERISK = 80h
K5_RBRACKET = 01h
K5_Z = 02h
K5_X = 04h
K5_C = 08h
K5_V = 10h
K5_B = 20h
K5_N = 40h
K5_M = 80h
K6_COMMA = 01h
K6_PERIOD = 02h
K6_SLASH = 04h
K6_UNDERSCORE = 08h
K6_SPACE = 10h
K6_XFER = 20h
K6_ROLL_UP = 40h
K6_ROLL_DOWN = 80h
K7_INS = 01h
K7_DEL = 02h
K7_ARROW_UP = 04h
K7_ARROW_LEFT = 08h
K7_ARROW_RIGHT = 10h
K7_ARROW_DOWN = 20h
K7_HOME_CLR = 40h
K7_END = 80h
K8_NUM_MINUS = 01h
K8_NUM_DIV = 02h
K8_NUM_7 = 04h
K8_NUM_8 = 08h
K8_NUM_9 = 10h
K8_NUM_MUL = 20h
K8_NUM_4 = 40h
K8_NUM_5 = 80h
K9_NUM_6 = 01h
K9_NUM_PLUS = 02h
K9_NUM_1 = 04h
K9_NUM_2 = 08h
K9_NUM_3 = 10h
K9_NUM_EQUALS = 20h
K9_NUM_0 = 40h
K9_NUM_COMMA = 80h
K10_NUM_PERIOD = 01h
K10_NFER = 02h
K10_VF1 = 04h
K10_VF2 = 08h
K10_VF3 = 10h
K10_VF4 = 20h
K10_VF5 = 40h
K11_NUM = 02h
K11_SYMBOL_SHIFT = 04h
K11_VOWEL_SHIFT = 08h
K11_CONSONANT_SHIFT = 10h
K11_HOME = 40h
K12_STOP = 01h
K12_COPY = 02h
K12_F1 = 04h
K12_F2 = 08h
K12_F3 = 10h
K12_F4 = 20h
K12_F5 = 40h
K12_F6 = 80h
K13_F7 = 01h
K13_F8 = 02h
K13_F9 = 04h
K13_F10 = 08h
K14_SHIFT = 01h
K14_CAPS = 02h
K14_KANA = 04h
K14_GRPH = 08h
K14_CTRL = 10h