EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 101

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...
PATCH
Lets you make minor corrections
in
any disk file by (1) typing
in
the
patch code directly from the command line (Method A), or
(2) creating
an ASCII file containing patch information (Method
B).
You can use PATCH to make minor corrections
in
any disk file.
You can use PATCH to make minor changes in your own
machine-language programs. You need not change the source code,
reassemble it, and recreate the file. You can use PATCH to make
minor replacement changes
in
data files, also.
Method
A
Advanced Programmer's Utility
PATCH filespec (patch commands)
Makes minor corrections
in
filespec by letting you type
in
the patch
code directly from the command line. You can use only the
address
patch command for this type of patch.
Method
B
Advanced Programmer's Utility
PATCH filespec1
USING filespec2 [(parameters)]
Makes minor changes (which are contained
in
filespec2) to filespec1.
filespec1
is the file to be changed and ICMD
is
its default extension.
filespec2 contains the patch commands. filespec2 can contain only
ASCII characters and
IFIX
is
its default extension.
The
patch commands are:
address =value identifies the PATCH as a patch by "memory
load location."
It
changes the contents of memory beginning
with
address to value.
Drecord,byte
= value identifies the PATCH as a "direct modify
patch."
record tells which record contains the data to be
changed.
It
is
a hexadecimal number from 00 to FF. byte
specifies the position of the first byte to be changed. It is a
hexadecimal number from
00 to FF.
Frecord,byte = value lets you make sure that a patch is applied
to the correct place
in
memory, when used
in
conjunction
with the D
patch command. Frecord,byte follows
Drecord,byte.
If
the location specified with the D
patch
command does not contain the data specified with
Frecord,byte , then the PATCH aborts. Frecord,byte is also
used with the REMOVE parameter to remove a patch and
replace it with the original data.
Lcode identifies the PATCH as a "library mode patch." The
PATCH applies to either the
SYS6/SYS, SYS7/SYS,
or
1-96

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals