send-byte
sends a byte
of
data to the 1571.
read-1541
sends a typical unit read
to
a 1541.
write-1541
sends a typical unit write to a 1541.
HANDSHAKE
The figure below shows the burst transfer protocol. It
is
a stat-dependent protocol (simple
and fast). As the clock line
is
toggled, a byte
of
data
is
sent. Burst protocol
is
divided into
three parts:
1.
Send Command: send string using existing kernal routines.
2.
Query: determine whether the peripheral
is
fast.
3.
Handshake Code: follow handshake conventions.
DATA
\\\
\\~
\\\\
~
\\\\\\\
\\\\\\\
eLK
1,-_~
ARFD
SRQ
(Acknowledge
and
Ready For Data)
RFD (Ready
For
Data)
EXAMPLE
BURST ROUTINES
* = $1800
ROUTINE TO READ N-BLOCKS OF DATA
COMMAND CHANNEL MUST BE OPEN ON DRIVE
OPEN 15,8,15
BUFFER AND CMD_BUF, AND
CMD~ENGTH
MUST BE SETUP
PRIOR TO CALLING THIS COMMAND.
serial
d2pra
clkout
dlicr
dlsdr
=
$Oalc
=
$ddOO
=$10
=
$dcOd
=
$dcOc
; fast serial
flag
91