;
;MASM defines for ASCII and extended characters
;

NUL	EQU	0
CTL_A	EQU	1
CTL_B	EQU	2
CTL_C	EQU	3
CTL_D	EQU	4
CTL_E	EQU	5
CTL_F	EQU	6
CTL_G	EQU	7
CTL_H	EQU	8
CTL_I	EQU	9
CTL_J	EQU	10
CTL_K	EQU	11
CTL_L	EQU	12
CTL_M	EQU	13
CTL_N	EQU	14
CTL_O	EQU	15
CTL_P	EQU	16
CTL_Q	EQU	17
CTL_R	EQU	18
CTL_S	EQU	19
CTL_T	EQU	20
CTL_U	EQU	21
CTL_V	EQU	22
CTL_W	EQU	23
CTL_X	EQU	24
CTL_Y	EQU	25
CTL_Z	EQU	26
ESCAPE	EQU	27	;^[
;FS	EQU	28	;^\
;GS	EQU	29	;^]
;FS & GS are TASM reserved words.
RS	EQU	30	;^^
US	EQU	31	;^_
DEL	EQU	127

BEL		EQU	CTL_G
TAB		EQU	CTL_I
LF		EQU	CTL_J
CR		EQU	CTL_M
SPACE		EQU	20h
QUOTE		EQU	22h
DOLLAR		EQU	24h
BACKSLASH 	EQU	5Ch
PERCENT		EQU	25h

;extended codes (returned in AH when AL is 0)
F1	EQU	59
F2	EQU	60
F3	EQU	61
F4	EQU	62
F5	EQU	63
F6	EQU	64
F7	EQU	65
F8	EQU	66
F9	EQU	67
F10	EQU	68
HOME	EQU	71
UP	EQU	72
LEFT	EQU	75
RIGHT	EQU	77
KPEND	EQU	79
DOWN	EQU	80
;INS	EQU	82
;INS is a TASM reserved word.
DELKEY	EQU	83
CTL_LEFT  EQU	115
CTL_RIGHT EQU	116

