[an error occurred while processing this directive]
|
Как подать драйверу устройства одну из след команд? Или необх писать свою прогу, кот сканирует память, опред куда dos загрузила драйвер и передать ему структуру, затем управление?
DSP в схеме точно есть.
-------------------------------------------------------
The command code field in the request header can have the following values:
+------------------------------------------------------------------------------+
¦ code ¦ name ¦ function ¦
+------+------------------+----------------------------------------------------¦
¦ 0 ¦ INIT ¦ initialize driver for later use (used once only) ¦
¦ 1 ¦ MEDIA CHECK ¦ block devices only, NOP for character devices ¦
¦ 2 ¦ BUILD BPB ¦ block devices only, NOP for character devices ¦
¦ 3 ¦ IOCTL input ¦ called only if device has IOCTL bit set ¦
¦ 4 ¦ INPUT ¦ read data ¦
¦ 5 ¦ NONDESTRUCTIVE INPUT NO WAIT character devices only ¦
¦ 6 ¦ INPUT STATUS ¦ character devices only ¦
¦ 7 ¦ INPUT FLUSH ¦ character devices only ¦
¦ 8 ¦ OUTPUT ¦ write data ¦
¦ 9 ¦ OUTPUT ¦ write data with verify ¦
¦ 10 ¦ OUTPUT STATUS ¦ character devices only ¦
¦ 11 ¦ OUTPUT FLUSH ¦ character devices only ¦
¦ 12 ¦ IOCTL OUTPUT ¦ called only if device has IOCTL bit is set ¦
¦ 13 ¦ DEVICE OPEN ¦ called only if OPEN/CLOSE/RM bit is set ¦
¦ 14 ¦ DEVICE CLOSE ¦ called only if OPEN/CLOSE/RM bit is set ¦
¦ 15 ¦ REMOVEABLE MEDIA ¦ only if OPEN/CLOSE/RM bit set & device is block ¦
¦ 16 ¦ OUTPUT UNTIL BUSY¦ only called if bit 13 is set & device is character ¦
+------------------------------------------------------------------------------+
E-mail: info@telesys.ru