User`s manual
FORMATFORMEMORY-READ:
PRINT# file#, "M-R:" CHR$(low byte of address) CHR$(high byte)
(no abbreviation!)
The next byte read using the GET# statement through channel# IS, the
error channel, will be from that address in the disk controller's memory, and
successivebytes will be from successivememory locations.
Any INPUT# to the error channel will give peculiar results when you're
using this command. This can be cleared up by any other command to the disk
(besides a memory command).
PROGRAM TO READ THE DISK CONTROLLER'S MEMORY:
10OPEN15,8,15
20 INPUT "LOCATION PLEASE"; A
30 AI= INT(A/2S6): A2= A- Al *256
40 PRINT# IS, "M-R:" CHR$(A2) CHR$(AI)
SOFOR L=I TO 5
60 GET# IS, A$
70 PRINT ASC(A$+CHR$(O));
80 NEXT
90 INPUT "CONTINUE";A$
100 IF LEFT$(A$,I) ="Y" THEN SO
110 GOTO 20
MEMORY-WRITE
The MEMORY-WRITEcommandallowsyou to write up to 34 bytesat a
time into the disk controller's memory. The MEMORY-EXECUTEand USER
commands can be used to run this code.
FORMAT FOR MEMORY-WRITE:
PRINT# file#, "M-W:" CHR$(low address byte) CHR$(high address byte)
#-of-characters; byte data
PROGRAM TO WRITE A "RTS" TO DISK:
I0 OPENIS, 8, IS. "M-W:" CHR$(O)CHR$(S); I; CHR$(96)
20 PRINT# IS, "M-E:" CHR$(O)CHR$(I 9): REM JUMPSTO BYTE, RETURNS
30 CLOSE IS -
MEMORY-EXECUTE
Any routine in the DOSmemory, RAMor ROM, can be executed with the
MEMORY-EXECUTEcommand.
38