User`s manual

.NETRD .NETWR
5-32
5
.NETRD
.NETWR
Name
.NETRD - Read/get from host
.NETWR - Write/put to host
Code
$0018/$0019
Description
This routine is used to get Þles from the destination host over the
speciÞed network interface. The .NETWR system call is used to
send Þles to the host. Information about the Þle transfer is passed in
a command packet which has been built in memory. (The user
program must Þrst manually prepare the packet.) The address of
the packet is passed as an argument to the routine. These routines
basically behave the same as the
NIOP command, but under
program control. All packets must be word-aligned. The format of
the packet structure, NIOPCALL, is shown below:
FEDCBA9876543210
$00 Controller LUN Device LUN
$02 Status Word
$04
Data Transfer Address
Most SigniÞcant Word
$06 Least SigniÞcant Word
$08
Maximum Length of Transfer
Most SigniÞcant Word
$0A Least SigniÞcant Word
$0C
Byte Offset
Most SigniÞcant Word
$0E Least SigniÞcant Word
$10
Transfer Time in Seconds (Status)
Most SigniÞcant Word
$12 Least SigniÞcant Word
$14
Transfer Byte Count (Status)
Most SigniÞcant Word
$16 Least SigniÞcant Word
$18
Boot Filename String $40(&64) Bytes
$56