summaryrefslogtreecommitdiffstats
path: root/private/mvdm/vdd/samples/hpscan/hpscan16.inc
blob: 1bc4d07ff9440c55143ec12c1ab3fcba6df85796 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
;*************************************************
; 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