270
The
VIC
20
User
Guide
TABLE
8-3. Disk Utility Instruction Set
Command Abbreviation
Format
BLOCK-READ
B-R
PRINT#15, "B-R:"ch;dr;t;s
BLOCK-ALLOCATE
B-A
PRINT#15, "B-A:"dr;t;s
BLOCK-WRITE
B-W
PRINT#15, "B-W:"ch;dr;t;s
BLOCK-EXECUTE
B-E PRINT#15, "B-E:"ch;dr;t;s
BUFFER-POINTER
B-P PRINT#15, "B-P:"ch;byte
BLOCK-FREE
B-F
PRINT#15, "B-F:"dr;t;s
MEMORY-WRITE·
M-W
PRINT#15, "M-W:"CHR$(adrl)CHR$
(adrh)
CHR$(#bytes)CHR$( data)CHR$
(data) ...
MEMORY
-READ·
M-R
PRINT#15, "M-R"CHR$(adrl)CHR$
(adrh)
MEMORY -EXECUTE*
M-E
PRINT#15, "M-E"CHR$(adrl)CHR$
(adrh)
Ul
UA
Replacement for BLOCK-READ
U2
UB
Replacement for BLOCK-WRITE
U3
UC
Disk Processor
JMP
$0500
U4
UD
Disk Processor
JMP
$0503
U5
UE
Disk Processor
JMP
$0506
U6
UF
Disk Processor
JMP
$0509
U7
UG
Disk Processor
JMP
$050C
U8
UH
Disk Processor
JMP
$050F
U9
UI
Disk Processor
JMP
$FFF
A
U:
UJ
Disk Processor
JMP
power-up vector
·You
must use the abbreviation for these instructions.
The following statement reads a block
of
data into the buffer:
59
PRINTfU5~
":B-R:
"4; 9;
A;:B
Let's look
at
the components of this instruction.
PRINT#15 to perform any of the commands in this section, you must
us~
the command channel (15)