EasyManua.ls Logo

Commodore 1541 - Memory-Write; Memory-Execute

Commodore 1541
80 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MEMORY-WRITE
The
MEMORY-WRITE
command
allows
you
to
write
up
to
34
bytes
at
a
lime
in
to
the
disk
controller's
memory.
The
MEMORY-EXECUTE
and
USER
commands
can
be
used
to
run
this
code.
FORMAT
FOR
MEMORY-WRITE:
PRINT<*file#,
"M-W"
CHRS(low
address
byte)
CHRSfhigh
address
byte)
CHR$(#-of-characlcrs)
byte
data
PROGRAM
TO
WRITE
AN
"RTS"
TO
DISK:
10
OPEN8,8,15,"I"-
20
PRINT#8."M
-
W"CHRS(0)CHR$(3>CHR$(l)CHRS<96)
30
PRINT#8."M
-
E"CHRS(0)CHRS(3)
40
CLOSES
MEMORY-EXECUTE
Any
routine
in
Ihe
DOS
memory,
RAM
or
ROM,
can be
executed
with
the
MEMORY-EXECUTE
command.
FORMAT
FOR
MEMORY-EXECUTE:
PRlNT#fi!e#,
"M-E"
CHRS(low
address
byte)
CHRS(high
byte)
See
line
30
above
for
an
example.
46

Other manuals for Commodore 1541

Related product manuals