;***************************************************************************

VIDEO_MASK		EQU	30H
MONO		EQU    	30H
COPROC_MASK	EQU	02H
MONO_BASE		EQU	3B4H
COLOR_BASE		EQU	3D4H
CMOS_DIAG		EQU	8EH
CMOS_FD_TYPE	EQU	90H
MAX_HD_TYP		equ	47

ESC_KEY		EQU	01H
END_KEY		EQU	4FH
UP_KEY		EQU	48H
DW_KEY		EQU	50H
PGDW_KEY		EQU	51H
LEFT_KEY		EQU	4BH
RIGHT_KEY		EQU	4DH

BS		EQU	08H
CR		EQU	0DH

HD_TBL		STRUC
HD_CYL		DW	?	;TOTAL NUMBER OF CYLINDERS
HD_HDS		DB	?	;NUMBER OF HEADS
HD_RS1		DW	?	;XT RESERVED
HD_PCMP		DW	?	;CYLINDER TO START WRITE PRECOMPENSATION (-1=NONE)
HD_MAX_ECC	DB	?	;MAXIMUM ECC DATA BURST LENGTH
HD_CONT		DB	?	;CONTROL BYTE, DEFINED AS SHOWN BELOW
HD_RS2		DB	?,?,?	;MORE XT RESERVED (WE USE THE FIRST ONE FOR STEP RATE)
HD_LAND		DW	?	;LANDIND ZONE
HD_SEC		DB	?	;SECTORS/TRACK
HD_RS3		DB	?	;RESERVED FOR FUTURE USE
HD_TBL		ENDS

HD_PTR		EQU	[DI]	;METHOD OF POINTING TO THIS TABLE

;***************************************************************************

