home *** CD-ROM | disk | FTP | other *** search
- DOCUMENTATION FOR "UNLOAD" - Ted Harper 21/12/86
-
-
- SYNOPSIS :
-
- UNLOAD is a program for CP/M (2.2 or 3.x) which takes a .COM file and
- unLOADs it back to a .HEX file. This is most useful when using PIP (or
- similar) to send programs between two computers - since HEX files are only
- 7-bit, contain only printable ASCII characters, and have a checksum byte on
- the end of each line which PIP can be told to check.
-
-
- BACKGROUND INFORMATION :
-
- This program is NOT my original work. It comes from one of the SIG/M
- disks, but was distributed without documentation or source code. Since I
- (and most other hard disk users) have a degree of paranoia about software
- to which source code is not supplied (because of such jolly ruses as "Trojan
- Horses", etc), I set about disassembling the program.
-
- I used the DazzleStar (Public Domain) disassembler, and consider it the
- best tool of its type I have ever used. The original UNLOAD.COM file may be
- examined under DZ using the UNLOAD.DZ DazzleStar data file (both of which
- are included in this .LBR file). I have reassembled the .MAC file, and it
- appears to be identical to the original .COM file in operation and content.
-
- The comments in the .MAC file are quite comprehensive and (in my opinion
- at least) quite accurate. There are a number of useful routines and techniques
- demonstrated in the program which are quite interesting to peruse.
-
- Many of the files in this library are CRUNCHed (not SQueezed), but
- UNLOAD.DZ is NOT CRUNCHED (i.e. .DZ is its real extension).
-
-
- USAGE :
-
- UNLOAD is extremely simple to use. Simply enter "UNLOAD filename.COM"
- from the CP/M prompt, and it will go to work, producing a filename.HEX file.
- I believe it will work for .OVL-type files as well, but haven't really
- figured out the mechanism. Perhaps someone with more time could do that and
- update this documentation. It is quite acceptable to rename an .OVR-type file
- to filename.COM, UNLOAD it, transfer it as filename.HEX, LOAD or HEXCOM
- it back to filename.COM, then rename it to whatever its original name and
- extension was.
-
- The HEX file can be re-converted to a .COM file by using the DRI-supplied
- LOAD.COM or HEXCOM.COM programs. I have only tested it with HEXCOM, as I only
- use CP/M 3.1 on my main system, and it seems to perform accurately (i.e. you
- can UNLOAD and HEXCOM a number of times with no obvious corruption of the
- subject file).
-
- As my time permits I will be undertaking commented disassemblies of a
- number of "object-code only" P.D. utilities. I wish to express my thanks to the
- original authors for their work, and all references to them in the object
- code have been left untouched. I trust that any person producing updated
- versions of the utilities will have the common decency to acknowledge the work
- of both the original authors and me, and to include source code with their
- offering.
-
-
- Ted Harper
- P.O. Box 105
- Baulkham Hills 2153
- N.S.W. Australia
- and me, and to include source code with their
- offering.
-
-
- T