EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 102

Radio Shack TRS-80 Model 4
418 pages
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...
SYSS/SYS library command module. code is the binary
coded location
in
the format
nn
where the change begins.
address is a four-digit hexadecimal value
in
the format X'nnnn' which
is the memory load address for the change.
value can
be
either a series of hexadecimal bytes
in
the format nn nn
nn
...
, or a string of ASCII characters
in
the format "string."
The parameters are:
YANK removes the PATCH specified by
filespec2 from filespec1.
The specified PATCH contains code
in
the address format.
REMOVE removes the PATCH specified
by
filespec2 from
filespec1. The specified PATCH contains code
in
the
Drecord,byte format.
An
address patch command changes a file by "memory load
location." It adds the patch code to the end of the
filespec and then
makes the changes beginning at
address each time the file is loaded.
You can use YANK to remove the added code from
filespec. This
type of patch can be applied only to files that can be loaded with the
LOAD or
RUN
library command.
A
Drecord,byte:Frecord,byte patch command changes a file by
"direct modify patch."
It
changes a file by directly applying the patch
code to the specified record and byte of
filespec. When you BUILD a
file containing
patch commands
in
this format, you can REMOVE the
patch.
An easy way for you to find the record and byte of
filespec that you
want to patch is
to
list filespec using the LIST library command with
the HEX parameter. Remember that the first record
in
a file is record
0,
not record
1.
Lcode patch command patches are supplied by Radio Shack for you
to implement changes to TRSDOS. You have to BUILD a patch file to
apply this type of PATCH.
You can specify more than one line of patch code from the command
line by placing a colon
(:)
between the lines of patch code.
Examples
These examples are used to show the syntax and development of the
PATCH command, so do not execute them.
PATCH
MONITOR/CMD
(X'E100'=C3
BB
00
CD
03
a0)
(ENTER)
patches the file MONITOR/CMD by the memory load location method.
The six bytes beginning at hexadecimal E100 are changed. During
the PATCH operation, the following message is displayed:
Installing
patch
When the operation is completed, this message appears:
Patch
function
cOMPleted
x
patch
lines
installed
1-97

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals