%warning out: MSEQU.INC...
;==============================================================================

FTOOBIG 	EQU	80H
FBIG		EQU	40H
ROMSTATUS	EQU	1
ROMREAD 	EQU	2
ROMWRITE	EQU	3
ROMVERIFY	EQU	4
ROMFORMAT	EQU	5
VID_SIZE	EQU 12

%include "msbds.mac"    ; VARIOUS EQUATES FOR BDS

;AN000; Extended BPB structure.
BPB_TYPE STRUC
SECSIZE DW	?
SECALL	DB	?
RESNUM	DW	?
FATNUM	DB	?
DIRNUM	DW	?
SECNUM	DW	?
FATID	DB	?
FATSIZE DW	?
SLIM	DW	?
HLIM	DW	?
HIDDEN_L  DW	  ?
HIDDEN_H  dw	  ? ;0			;J.K.
SECNUM_L  dw	  ? ;0			;J.K.
SECNUM_H  dw	  ? ;0			;J.K.
BPB_TYPE ENDS

;;;;;;;;;;;
BOOT_SERIAL_SIZE	equ	4	;J.K.
BOOT_VOLUME_LABEL_SIZE	equ	11	;J.K.
BOOT_SYSTEM_ID_SIZE	equ	8	;J.K.
EXT_BOOT_SIGNATURE	equ	41	;J.K.
RSINIT equ 0A3H		      ;RS232 INITIALIZATION
			      ;9600 BAUD:NO PARITY:1 STOP:8 BIT WORD
LF equ 10			      ;LINE FEED
CR equ 13			      ;CARRIAGE RETURN
BACKSP equ 8		      ;BACKSPACE
BRKADR equ 1BH * 4		      ;006C  1BH BREAK VECTOR ADDRESS
TIMADR equ 1CH * 4		      ;0070  1CH TIMER INTERRUPT
DSKADR equ 1EH * 4		      ;ADDRESS OF PTR TO DISK PARAMETERS
SEC9 equ 522H		      ;ADDRESS OF DISK PARAMETERS
HEADSETTLE equ SEC9+9	      ; ARR 2.20 ADDRESS OF HEAD SETTLE TIME
NORMSETTLE equ 15		      ; ARR 2.20 NORMAL HEAD SETTLE
SPEEDSETTLE equ 0		      ; ARR 2.20 SPEED UP SETTLE TIME
INITSPOT equ 534H		      ; ARR IBM WANTS 4 ZEROS HERE
AKPORT equ 20H
EOI equ 20H
CMDLEN	equ	    0			    ;LENGTH OF THIS COMMAND
UNIT	equ	    1			    ;SUB UNIT SPECIFIER
CMD	equ	    2			    ;COMMAND CODE
STATUS	equ	    3			    ;STATUS
MEDIA	equ	    13			    ;MEDIA DESCRIPTOR
TRANS	equ	    14			    ;TRANSFER ADDRESS
COUNT	equ	    18			    ;COUNT OF BLOCKS OR CHARACTERS
START	equ	    20			    ;FIRST BLOCK TO TRANSFER
EXTRA	equ	    22			    ;USUALLY A POINTER TO VOL ID FOR ERROR 15
CHROUT	equ	    29H
MAXERR	equ	     5
LSTDRV	equ	     504H

NOTBUSYSTATUS	equ	10000000B	    ; NOT BUSY
ACKSTATUS	equ	01000000B	    ; ACKNOWLEDGE (FOR WHAT?)
NOPAPERSTATUS	equ	00100000B	    ; NO MORE PAPER
SELECTEDSTATUS	equ	00010000B	    ; THE PRINTER SAID IT WAS SELECTED
IOERRSTATUS	equ	00001000B	    ; SOME KINDA ERROR
RESERVED	equ	00000110B	    ; NOPS
TIMEOUTSTATUS	equ	00000001B	    ; TIME OUT.
ERROR_UNKNOWN_MEDIA   equ 7		    ; FOR USE IN BUILD BPB CALL

PATHGEN 	equ	1
