Equates File (continued)
0000
0001
0002
0003
?? 1?
0005
08
7 ?
0000
71
OOOE
7?? ?
0010
??? 1
0012
? 11 1
0014
??? 1
0016
0000
00 (
? ?
OOOD
??
OOOE
?? ?
0010
11 ?
0012
?? ?
0014
?? ?
0016
17
0017
0000
OE
(
? ?
OOOE
? 7
0010
??
0012
? ?
0014
? ?
0016
? 1
0018
;******************************************************************************
~ *~~:*~~ii~;i;i*~~~~i~~~i~*:;i*~~i~*~~*:iiiii*:i;~~i*~;i~i;*i~;;:;~*~i~i~i*****
MSD REQ HEADER
struc
;00;
structure for access to MS driver cmds
~~g=3~~iEN
~g
~
~g~: ~~~1t~u~~e~m~0~nC~~:~dinclUding
data @ end
MSO-CMO
db
1
;02: command code
MSO=STATUS
dw
1
;03:
flller with completion status before return
db 8 dup (1)
area reserved for DOS
~
~
~
; removable media command
;device open and clole commandl
;Non-destructive input with no wait
;build Bios Parameter Block
; I/O cant rol input
Pad 50
it is
paragraph aligned.
;first cover header area
full address of buffer for data transfer
could be bytes or block count
address of
first block to read or write
poi n t
e
r t
0
vol ume i d
i
fer reo de.)
0
F h
13
mOlt emds have this defined in the data area
14
16
18
,20
OB
number of units service by this driver
OC
offset of end of code
OE
segment
address of and of code
12
,t:
;:~l~f~~i~e~fl:~~e~i~} ~i~s~nt~~tattached
02H
03H
04H
OSH
06H
07H
08H
09H
OAH
OBH
OCH
OOH
OEH
OFH
14 d up
(?)
;
Me d
i
a by ted a fin adin he a dar
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
13 dup
(1)
;******************************************************************************
~
Structure Definition
Fo~
segment 40h,
STD-BIOS Data Area
;******************************************************************************
SEGMENT40
s true
; EIA communication base I/O port address table
S40 RS232 PORTI AOR
dw
1
; 040:0000 address of
serial port
S40-RS232-PORT2-ADR
dw
7
. 040:0002 address of serial port
S40-RS232-PORT3-ADR
dw?
040:0004 address of serial port
S40=:RS232=:PORT4=:ADR
dw
1
040:0006 address of lerial port
; Parallel printer bale I/O port addreSi table
S4 0_ PRIN T_ P0 RT 1_AD R
dw?
; 040: 000 8 add r e
IS
0
f par a 11 e 1 po r t
MSD MEDIA
MSD=TRANS
MSO BLO BPB
MSO-IOcTL IN
MSO-INPUT-
MSD-IN NOWAIT
MSD IN STATUS
MSO-IN-FLUSH
MSD-OUTPUT
MSO-OUT VERIFY
MSO-OUT-STATUS
MSO-OUT-F LUSH
MSO-IOCTL OUT
MSO-OEV olSEN
MSO-DEV-CLOSE
MSO=REM=MEOIA
page
;******************************************************************************
•
use this macro to setup the MS-DOS driver header required at
the top of
~ **:~'*i~~~:ii:~i:*~i~iii*~~i~i~***********************************************
mid header
macro
ATT,STRATEGY ENTRY,ISR ENTRY,STRING
-
d d
-1
-
; ma
r
k
as
1
a s t
d
r
i
v e r
in 11
s
t
dw
ATT
dw
STRA TEGY ENTRY
dw
ISR ENTRY
db
STRING
db
14 dup (1)
endm
MSD UNIT COUNT
db
MSD-END OFFSET
dw
MSO-E NO-SEG
dw
MSO-BPB-OFFSET
dw
MSO-BPB-SEG
dw
MSO-IST-UNIT
db
MSD=INIT_CMD
end.
~
:ii***************************************************************************
; Access
to the data area for INPUT or OUTPUT driver commands
;******************************************************************************
MSO
10
CMD
st rue
-
-
db
db
dw
dw
MSD COUNT
dw
MSD-START
dw
MSD-REQ HEADER
ends
;**i***i***********************************************************************
; Ace e sst
a
the d a t a are
a
0
f
the I NIT d r i v ere
a
mm and
;******************************************************************************
MSD INIT CMD
I
true
-
-
db
MSD XFER OFFSET dw
MSD-XFER-SEG
dw
MSO-XFER-COUNT
dw
MSO-lST BLK
dw
MSD-VERR" SEG
dw
MSO=IO_C~
ends
?
7
?
?
1 1
??
?
?? ?
1? 7 7
0000
0002
0004
0006
0008
• 0002
• 0003
• 0004
• 0005
• 0006
• 0007
• 0008
• 0009
• OOOA
• OOOB
··OOOC
2
0000
• OOOE
• OOOF
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
408 System Equate File
Need help?
Do you have a question about the Vectra and is the answer not in the manual?
Questions and answers