You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1018 B
29 lines
1018 B
;*************************************************
|
|
; Name: HPSCAN16.INC
|
|
; Description: Defines for HPSCAN16.ASM
|
|
;*************************************************
|
|
|
|
;**----------- Segment Declarations ------------**
|
|
CSEG segment word public 'CODE'
|
|
CSEG ends ;header segment
|
|
|
|
;**-------------- Status Values ----------------**
|
|
STAT_OK equ 0000h ;ok
|
|
STAT_DONE equ 0100h ;function complete
|
|
STAT_GF equ 800Ch ;general failure
|
|
|
|
RH EQU ES:[BX] ;request header
|
|
|
|
;**------ Common Request Header Structure ------**
|
|
RHC struc ;common to all commands
|
|
db ? ;length of request header
|
|
db ? ;unit code of device
|
|
RHC_CMD db ? ;command code
|
|
RHC_STA dw ? ;completion status, 16-bits
|
|
dq ? ;reserved for DOS
|
|
db ? ;this field varies with command
|
|
RHC_OFF dw ? ;offset of data
|
|
RHC_SEG dw ? ;segment of data
|
|
RHC_CNT dw ? ;byte count (length) of data
|
|
RHC ends ;end of common portion
|
|
|