Download Print this page

Radio Shack TRS-80 model III Owner's Manual page 55

Mini-disk operation, trsdos disk operating system, disk basic programming language
Hide thumbs Also See for TRS-80 model III:

Advertisement

TRS-80
MODEL
III
DISK
SYSTEM
DUMP
Store
a
Program
Into
a Disk
File
w
m
file
(start
=
aaaa, end
=
bbbb, tra
=
cccc,
relo
=
dddd)
file is
the
file
specification
start
=
aaaa
is
the
start
address
of
memory
block,
aaaa
mm
be a
four-
digit
hexadecimal
number
greater than
or
equal
to
rvm:
end
=
bbbb
is
the
end address
of
the
memory
block,
bbbb must be
a four-
digit
hexadecimal number.
tra^
eczcls
the transfer
address
where
execution
starts
wheh
the
program
is
loaded, ccce
must
be
a four-digit
hexadecimal number.
If
this
option
is
omitted, the
command
will
default
to
trsdos
re-entry.
reio
- dd0
is
the
start
address
for
relocating or loading the
program back
into
memory, dddd must
be
a
four-digit
hexadecimal number.
If
this
option
is
omitted,
no
relocation
will
take place.
Note:
Addresses must
be
hexadecimal
form, without the x
notation.
You must add
the
prefix
"0"
to
any hex
number
which
begins
with
a
letter,
This
command
copies
a
machine-language program from
memory
into a
program
file.
You
can
then load
and
execute
the
program
at
any
time
by
entering
the
file
name
in
the
trsdos
ready
mode.
Examples
DUMP LISTER
<
START
=
7000
,END
=
7100
,TRA
=
7004)
Creates a
program
file
named
lister/cmd
containing
the
program
in
memory
locations
x'70ocr to
x'7ioo\
When
loaded,
lister/cmd
will
occupy
the
same
addresses,
and
trsdos
will
protect
memory
beginning
at
x'70oo\
The program
is
executable
for the
trsdos
ready
mode.
DUMP PR0G2
<START=7000,END=7F00»TRA=8010,RELO=8000)
Creates a
program
file
named
proc,2/cmd
containing
the
program
in
addresses
x-7000' to
x'7F00\
When
loaded,
prog2/cmd
will
reside
from
x'sooo' to
X'hfoo\
Execution
will
start at x'soirr.
48

Advertisement

loading