summaryrefslogtreecommitdiffstats
path: root/private/mvdm/vdd/samples/hpscan/hpscan16.inc
diff options
context:
space:
mode:
Diffstat (limited to 'private/mvdm/vdd/samples/hpscan/hpscan16.inc')
-rw-r--r--private/mvdm/vdd/samples/hpscan/hpscan16.inc29
1 files changed, 29 insertions, 0 deletions
diff --git a/private/mvdm/vdd/samples/hpscan/hpscan16.inc b/private/mvdm/vdd/samples/hpscan/hpscan16.inc
new file mode 100644
index 000000000..1bc4d07ff
--- /dev/null
+++ b/private/mvdm/vdd/samples/hpscan/hpscan16.inc
@@ -0,0 +1,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
+ \ No newline at end of file