User`s manual
.DSKCTRL
5-30
5
.DSKCTRL
Name
.DSKCTRL - Disk control routine
Code
$0015
Description
This routine is used to implement any special device control
routines that cannot be accommodated easily with any of the other
disk routines. At the present, the only deÞned routine is SEND
packet, which allows you to send a packet in the speciÞed format of
the controller. The required parameters are passed in a command
packet which has been built somewhere in memory. The address of
the packet is passed as an argument to the routine.
The packet is as follows:
Field descriptions:
FEDCBA9876543210
$00 Controller LUN Device LUN
$02 Status Half-Word
$04
Memory Address
Most SigniÞcant Half-Word
$06 Least SigniÞcant Half-Word
$08 0
$0A 0
$0C 0
$0E 0 Address ModiÞer
Controller LUN Logical Unit Number (LUN) of controller to use.
Device LUN Logical Unit Number of device to use