Jan 122018
“Patch” files or disks using “Hex” or “Text” mode. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
PATCH.COM | 4480 | 2897 | deflated |
PATCH.DOC | 10240 | 3411 | deflated |
Download File PATCH.ZIP Here
Contents of the PATCH.DOC file
nload file. Enter to start?
PATCH - A tool for the IBMPC (C) 1983 MicroLife
TABLE OF CONTENTS -
PAGE
Introduction................................................ 2
Equipment required.......................................... 2
Operation (To edit a file).................................. 3
Operation (To edit a disk).................................. 4
The Display (What do all of those numbers mean)............. 5
Function key [F1] (Abort)................................... 6
Function key [F4] (Reset)................................... 6
Function key [F5] (Exit).................................... 6
Function key [F9] (Text/Hexadecimal mode)................... 7
Function key [HOME],[Ctrl-HOME]............................. 7
Function key [END],[Ctrl-END]............................... 7
Function key [PgUp],[Ctrl-PgUp]............................. 8
Function key [PgDn],[Ctrl-PgDn]............................. 8
Function key [UP-CURSOR].................................... 8
Function key [DOWN-CURSOR].................................. 8
Function key [LEFT-CURSOR].................................. 8
Function key [RIGHT-CURSOR]................................. 8
Function key [Alt-S] (Select sector for display)............ 9
BUGS !...................................................... 10
INTRODUCTION:
PATCH is a utility program for the IBM Personal Computer.
It was written using the IBM Macro Assembler for speed
enhancement. PATCH provides the user with the ability
to display and modify any byte in a disk or file. Two
types of input are accepted, Hexadecimal characters, or
almost any key stroke from the keyboard. PATCH's display
is unlike most other disk and file editors, in that it
displays a 256 byte window of data, and uses the cursor
keys to position the cursor over the byte to be modified.
The display is split into two parts. The left portion of
the screen displays the data in hexadecimal characters.
The right portion displays the character equivelent of
each byte. As mentioned earlier, there are two modes of
input used, hexadecimal characters or text characters.
In the hexadecimal mode, the right portion of the screen
is used, while in text mode the left portion is used. In
either mode, the corresponding byte or character blinks.
Patch can edit single or double sided disks.
Since PATCH is a visual editor, it is easier to use then
it is to describe how to use it. It is highly recommended
that you read the description of each function key, and
practice on a scratch disk or file, before using PATCH in
an actual edit.
** NOTE ** Numbers are displayed and used in this manual
in the following format: 27F(639)
Hexadecimal(Decimal)
EQUIPMENT REQUIRED:
The equipment needed to use this program is:
IBM Personal Computer with 48K of memory, and 1 disk drive
80 Column display capability (color or monochrome)
IBM DOS Version 1.00 or 1.10 (single sided disk supplied)
* IBM is a registered trademark of the International Business
Machines Corporation
OPERATION
To edit a file with PATCH the command is:
"PATCH Filename.ext" or "PATCH A:Filename.ext"
The screen should look as follows:
To edit a disk with PATCH the command is:
"PATCH A:" to edit disk in drive A.
PATCH will then prompt you to insert the disk to be edited
into the appropriate drive. To continue, hit any key.
The screen should look as follows:
THE DISPLAY - (What do all of those numbers mean)
To alter a byte or bytes:
In Hexadecimal mode:
Simply use the cursor keys to position the cursor over the character
to be modified, then enter the new hexadecimal character.
In Text mode:
Simply use the cursor keys to position the cursor over the character
to be modified, the hit the key of the new character.
Special characters can be entered just by hitting the equivalent
keystroke. (For a list of characters and their keystroke see the
IBM Technical Reference Manual).
Function key [F1] - Abort
Function key F1 is used to abort PATCH.
Aborting PATCH means the currently displayed sector will remain
unchanged and PATCH will return to DOS.
** NOTE ** This does not mean the file or disk will remain
unchanged, only the sector currently being displayed!
This means that if you have already changed a byte in
another sector it will remain changed. PATCH writes
modified sectors back to the disk when another sector
is displayed.
Function key [F4] - Reset
Function key F4 is used to reset the currently displayed sector.
If after changing a byte or bytes on the display you discover an
error, just hit F4 and PATCH will reset the displayed sector to
what it originally was.
Function key [F5] - Exit
Function key F5 is used to exit PATCH and return to DOS.
Hitting F5 will write the currently display sector, if it has been
modified, out to the disk, (close the file if patching a file),
then return to DOS.
Function key [F9] - Text/Hexadecimal mode
Function key F9 is used to flip the mode back and forth between
Text mode and Hexadecimal mode. PATCH initially is in the
Hexadecimal mode.
Upon hitting F9, the menu on the lower portion of the screen
will be changed to reflect the operation that will occur when
F9 is hit again.
Function key [HOME],[Ctrl-HOME]
Function key HOME is used to set the display sector to relative
sector 0.
For a file, the first sector in the file.
For a disk, the first sector on the disk.
Function key Ctrl-HOME is used when patching a disk. Its
function depends on the type of disk that is being patched.
For single sided disks, the operation is not accepted.
(You will hear a beep for keys not accepteL
For double sided disks, hitting Ctrl-HOME sets the display sector
to relative sector 140(320). This is the first sector on side 2.
For files, the operation is not accepted.
Function key [END],[Ctrl-END]
Function key END is used to set the display sector to the end
of the file or disk.
For a file, it sets the display sector to the last sector in the file
For a disk, it sets the display sector to the last sector on the disk
Function key Ctrl-END is used when patching a disk. Its operation
depends on the type of disk being patched.
For single sided disks, hitting Ctrl-END is not accepted.
For double sided disks, hitting Ctrl-END sets the display sector
to relative sector 13F(319). This is the last sector on side 1.
For a file, hitting Ctrl-END is not accepted.
Function key [PgUp],[Ctrl-PgUp]
Function key [PgUp] is used to display the previous 256 bytes.
There are two pages for each sector.
Page 0 - Bytes 000(000) - 0FF(255)
Page 1 - Bytes 100(256) - 1FF(511)
** NOTE ** Paging across sector boundries will cause modified
sectors to be written to the disk.
Function key Ctrl-PgUp is similar to PgUp, accept paging is
done 16 pages at a time. This command is a medium-fast
method to arrive at the desired sector to be patched.
(See above note). (For a faster method, see Alt-S).
Function key [UP-CURSOR],[DOWN-CURSOR],[LEFT-CURSOR],[RIGHT-CURSOR]
The cursor keys are used to position the cursor over the byte or
character, depending on the mode, to be changed.
The UP-CURSOR moves the curosr up.
The DOWN-CURSOR moves the cursor down.
The LEFT-CURSOR moves the cursor left.
The RIGHT-CURSOR moves the cursor right.
Function key [Alt-S]
Function key Alt-S is a fast, direct way to arrive at the desired
sector to be patched. Input is accepted in either hexadecimal or
decimal.
Upon hitting Alt-S, PATCH will prompt you to enter a relative sector
number. The prompt is as follows:
Enter relative sector # [0 => sector# => HEX(DEC)]:
The numbers HEX(DEC) show you the maximum sector number PATCH
will accept.
For files, this is the last sector in the file.
For disks, this is the last sector on the disk.
To enter a sector number type the sector number as follows:
In Decimal: just type the sector number, then hit enter.
In Hexadecimal:
If the sector number has an alphabetic character (A-F),
just enter the sector number, then hit enter.
If the sector number does not have an alphabetic character in it,
just precede the sector number with an H (If you don't include
the H, PATCH will assume the sector number is in decimal).
When a wrong entry has been made, and the enter key has not yet
been pressed, there are two editting keys you can use.
The backspace can be used to delete the previous character.
The HOME key can be used to delete the whole entry.
If after hitting Alt-S you decide you don't want to enter a
sector number, you can hit escape to continue patching where
you left off.
When PATCH has determined your entry is bad, it will display
an error message and beep at you, it will then let you re-enter
the sector number.
BUGS !
PATCH has been in use for some time now, and hopefully most of
the bugs have been found and resolved. If you should discover
a bug, we will work with you to resolve it. This does not
imply that you will automatically receive updates of PATCH
as new versions are released.
To report a bug:
To report a bug, fill out the bug report form at the end
of this manual. Be sure to fill in the vyr5R]e serial nnmmber.
Mail the completed form to: MicroLife
PO Box 340
Jessup, MD 20794
Attn: Jerry W. Shipman
*********************************************
This program uploaded by Jerry shipman to *
Capital PC Software Exchange. *
This program is not to be sold for profit. *
*********************************************
ange. *
This program is not to be sold for profit.
PATCH - A tool for the IBMPC (C) 1983 MicroLife
TABLE OF CONTENTS -
PAGE
Introduction................................................ 2
Equipment required.......................................... 2
Operation (To edit a file).................................. 3
Operation (To edit a disk).................................. 4
The Display (What do all of those numbers mean)............. 5
Function key [F1] (Abort)................................... 6
Function key [F4] (Reset)................................... 6
Function key [F5] (Exit).................................... 6
Function key [F9] (Text/Hexadecimal mode)................... 7
Function key [HOME],[Ctrl-HOME]............................. 7
Function key [END],[Ctrl-END]............................... 7
Function key [PgUp],[Ctrl-PgUp]............................. 8
Function key [PgDn],[Ctrl-PgDn]............................. 8
Function key [UP-CURSOR].................................... 8
Function key [DOWN-CURSOR].................................. 8
Function key [LEFT-CURSOR].................................. 8
Function key [RIGHT-CURSOR]................................. 8
Function key [Alt-S] (Select sector for display)............ 9
BUGS !...................................................... 10
INTRODUCTION:
PATCH is a utility program for the IBM Personal Computer.
It was written using the IBM Macro Assembler for speed
enhancement. PATCH provides the user with the ability
to display and modify any byte in a disk or file. Two
types of input are accepted, Hexadecimal characters, or
almost any key stroke from the keyboard. PATCH's display
is unlike most other disk and file editors, in that it
displays a 256 byte window of data, and uses the cursor
keys to position the cursor over the byte to be modified.
The display is split into two parts. The left portion of
the screen displays the data in hexadecimal characters.
The right portion displays the character equivelent of
each byte. As mentioned earlier, there are two modes of
input used, hexadecimal characters or text characters.
In the hexadecimal mode, the right portion of the screen
is used, while in text mode the left portion is used. In
either mode, the corresponding byte or character blinks.
Patch can edit single or double sided disks.
Since PATCH is a visual editor, it is easier to use then
it is to describe how to use it. It is highly recommended
that you read the description of each function key, and
practice on a scratch disk or file, before using PATCH in
an actual edit.
** NOTE ** Numbers are displayed and used in this manual
in the following format: 27F(639)
Hexadecimal(Decimal)
EQUIPMENT REQUIRED:
The equipment needed to use this program is:
IBM Personal Computer with 48K of memory, and 1 disk drive
80 Column display capability (color or monochrome)
IBM DOS Version 1.00 or 1.10 (single sided disk supplied)
* IBM is a registered trademark of the International Business
Machines Corporation
OPERATION
To edit a file with PATCH the command is:
"PATCH Filename.ext" or "PATCH A:Filename.ext"
The screen should look as follows:
To edit a disk with PATCH the command is:
"PATCH A:" to edit disk in drive A.
PATCH will then prompt you to insert the disk to be edited
into the appropriate drive. To continue, hit any key.
The screen should look as follows:
THE DISPLAY - (What do all of those numbers mean)
To alter a byte or bytes:
In Hexadecimal mode:
Simply use the cursor keys to position the cursor over the character
to be modified, then enter the new hexadecimal character.
In Text mode:
Simply use the cursor keys to position the cursor over the character
to be modified, the hit the key of the new character.
Special characters can be entered just by hitting the equivalent
keystroke. (For a list of characters and their keystroke see the
IBM Technical Reference Manual).
Function key [F1] - Abort
Function key F1 is used to abort PATCH.
Aborting PATCH means the currently displayed sector will remain
unchanged and PATCH will return to DOS.
** NOTE ** This does not mean the file or disk will remain
unchanged, only the sector currently being displayed!
This means that if you have already changed a byte in
another sector it will remain changed. PATCH writes
modified sectors back to the disk when another sector
is displayed.
Function key [F4] - Reset
Function key F4 is used to reset the currently displayed sector.
If after changing a byte or bytes on the display you discover an
error, just hit F4 and PATCH will reset the displayed sector to
what it originally was.
Function key [F5] - Exit
Function key F5 is used to exit PATCH and return to DOS.
Hitting F5 will write the currently display sector, if it has been
modified, out to the disk, (close the file if patching a file),
then return to DOS.
Function key [F9] - Text/Hexadecimal mode
Function key F9 is used to flip the mode back and forth between
Text mode and Hexadecimal mode. PATCH initially is in the
Hexadecimal mode.
Upon hitting F9, the menu on the lower portion of the screen
will be changed to reflect the operation that will occur when
F9 is hit again.
Function key [HOME],[Ctrl-HOME]
Function key HOME is used to set the display sector to relative
sector 0.
For a file, the first sector in the file.
For a disk, the first sector on the disk.
Function key Ctrl-HOME is used when patching a disk. Its
function depends on the type of disk that is being patched.
For single sided disks, the operation is not accepted.
(You will hear a beep for keys not accepteL
For double sided disks, hitting Ctrl-HOME sets the display sector
to relative sector 140(320). This is the first sector on side 2.
For files, the operation is not accepted.
Function key [END],[Ctrl-END]
Function key END is used to set the display sector to the end
of the file or disk.
For a file, it sets the display sector to the last sector in the file
For a disk, it sets the display sector to the last sector on the disk
Function key Ctrl-END is used when patching a disk. Its operation
depends on the type of disk being patched.
For single sided disks, hitting Ctrl-END is not accepted.
For double sided disks, hitting Ctrl-END sets the display sector
to relative sector 13F(319). This is the last sector on side 1.
For a file, hitting Ctrl-END is not accepted.
Function key [PgUp],[Ctrl-PgUp]
Function key [PgUp] is used to display the previous 256 bytes.
There are two pages for each sector.
Page 0 - Bytes 000(000) - 0FF(255)
Page 1 - Bytes 100(256) - 1FF(511)
** NOTE ** Paging across sector boundries will cause modified
sectors to be written to the disk.
Function key Ctrl-PgUp is similar to PgUp, accept paging is
done 16 pages at a time. This command is a medium-fast
method to arrive at the desired sector to be patched.
(See above note). (For a faster method, see Alt-S).
Function key [UP-CURSOR],[DOWN-CURSOR],[LEFT-CURSOR],[RIGHT-CURSOR]
The cursor keys are used to position the cursor over the byte or
character, depending on the mode, to be changed.
The UP-CURSOR moves the curosr up.
The DOWN-CURSOR moves the cursor down.
The LEFT-CURSOR moves the cursor left.
The RIGHT-CURSOR moves the cursor right.
Function key [Alt-S]
Function key Alt-S is a fast, direct way to arrive at the desired
sector to be patched. Input is accepted in either hexadecimal or
decimal.
Upon hitting Alt-S, PATCH will prompt you to enter a relative sector
number. The prompt is as follows:
Enter relative sector # [0 => sector# => HEX(DEC)]:
The numbers HEX(DEC) show you the maximum sector number PATCH
will accept.
For files, this is the last sector in the file.
For disks, this is the last sector on the disk.
To enter a sector number type the sector number as follows:
In Decimal: just type the sector number, then hit enter.
In Hexadecimal:
If the sector number has an alphabetic character (A-F),
just enter the sector number, then hit enter.
If the sector number does not have an alphabetic character in it,
just precede the sector number with an H (If you don't include
the H, PATCH will assume the sector number is in decimal).
When a wrong entry has been made, and the enter key has not yet
been pressed, there are two editting keys you can use.
The backspace can be used to delete the previous character.
The HOME key can be used to delete the whole entry.
If after hitting Alt-S you decide you don't want to enter a
sector number, you can hit escape to continue patching where
you left off.
When PATCH has determined your entry is bad, it will display
an error message and beep at you, it will then let you re-enter
the sector number.
BUGS !
PATCH has been in use for some time now, and hopefully most of
the bugs have been found and resolved. If you should discover
a bug, we will work with you to resolve it. This does not
imply that you will automatically receive updates of PATCH
as new versions are released.
To report a bug:
To report a bug, fill out the bug report form at the end
of this manual. Be sure to fill in the vyr5R]e serial nnmmber.
Mail the completed form to: MicroLife
PO Box 340
Jessup, MD 20794
Attn: Jerry W. Shipman
*********************************************
This program uploaded by Jerry shipman to *
Capital PC Software Exchange. *
This program is not to be sold for profit. *
*********************************************
ange. *
This program is not to be sold for profit.
January 12, 2018
Add comments