CMOS_PORT		equ	70h
PORT_6845		equ	63h
COLOR_PORT		equ	3d4h
MONO_PORT		equ	3b4h
STATUS_PORT		equ	64h
SHUT_DOWN		equ	0feh
INT_MASK_PORT	equ	21h
VIRTUAL_MODE	equ	0001
A20_PORT			equ	0d1h
A20_ON			equ	0dfh
A20_OFF			equ	0ddh
EOI				equ	20h
MASTER8259A		equ	20h
SLAVE8259A		equ	0a0h
KBD_PORT_A		equ	60h
KBD_PORT_B		equ	61h

L_SHIFT			equ	0000000000000001b
NL_SHIFT			equ	1111111111111110b
R_SHIFT			equ	0000000000000010b
NR_SHIFT			equ	1111111111111101b

L_CTRL			equ	0000000000000100b
NL_CTRL			equ	1111111111111011b
R_CTRL			equ	0000000000001000b
NR_CTRL			equ	1111111111110111b

L_ALT				equ	0000000000010000b
NL_ALT			equ	1111111111101111b
R_ALT				equ	0000000000100000b
NR_ALT			equ	1111111111011111b

CAPS_LOCK		equ	0000000001000000b
SCR_LOCK			equ	0000000010000000b
NUM_LOCK			equ	0000000100000000b
INSERT			equ	0000001000000000b


STRUC	idtr_struc
	idt_len dw	0
	idt_low dw	0
	idt_hi	db	0
	rsrv	db	0
ENDS	idtr_struc
