Download FSD-1_Floppy_Disk_Us..

Transcript
10 OPEN 15,8,15,"M-W:"CHR$(0)CHR$(5);l;CHR$(96)
20 PRINT#15,MM-E:"CHR$(0)CHR$(19): REM JUMPS TO BYTE,
30
CLOSE
RETURNS
15
USER COMMANDS
Along with the USER1 and USER2 commands discussed in chapter
7, there are others that, when executed, cause jumps to specific
locations in the disk drive's buffer.
This lets you make longer
routines that operate in the disk's memory along with a jump
table,
even
in BASIC.
USER COMMAND
FUNCTION
Ul or UA
U2 or UB
U3 or UC
BLOCK-READ without changing buffer-pointer
BLOCK-WRITE without changing buffer-pointer
jump to 050OH
U4 or
U5 or
U6 or
U7 or
U8 or
U9 or
jump to 0503H
jump to 0506H
jump to 0509H
jump to 050CH
jump to 050FH
jump to FFFAH
power-up vector
set Commodore 64
set VIC 20 speed
UD
UE
UF
UG
UH
UI
U; or UJ
UI+
U-
EXAMPLES
OF
USER
COMMANDS
PRINT#15f"U3"
PRINT#15f"U"+CHR$(50+Q)
PRINT#15,"UI"
32
speed