home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
SIMTEL
/
CPMUG
/
CPMUG042.ARK
/
PTSRCNVT.DOC
< prev
next >
Wrap
Text File
|
1984-04-29
|
2KB
|
42 lines
Documentation for PTSRCNVT.COM
Written by: Tom Digate
Version 1.0 - Nov., 1979
This program is used to convert files that were used
with Processor Technology Software Package 1 and ALS8
assemblers to a format that is CP/M assembler compatible.
This includes adding tabs and semicolons in place of spaces
and asterisks. The program reads the PT file from disk on
a byte by byte basis and checks for label,opcode,operand,
and comment fields. If a character replacement or deletion
is required, it is performed and then the character is
written to a new output file.
The PT file can be saved on disk by first loading it
into memory starting at location 100H and then saving
it using the CP/M save command.
The command format is as follows:
PTSRCNVT ifilename ofilename <cr>
The program checks for proper parameters and will abort
if any are missing or the input file does not exist.
The old ofilename will be erased and then a new file
is created. This is done so that you do not have
to erase it manually. If a disk error occurs, a message
will be printed and the program will abort.
This file was assembled using a MACRO library from
a previous Users Group Volume and the Digital Research
MACro Assembler. The COM file is a ready-to-run version
of this file in case you do not have the above software tools.
This program will not handle files that do not have
line numbers or lines that have only a line number and nothing
else. If a label is found, an opcode must be present.
Opcodes that have no operand and use a period for formatting
purposes will still have the period in the
new file. This can be edited out by replacing all occurrences
of a <tab>. with a <tab><tab>
There are no other known peculiarities of this program.
Hope that you enjoy using this program. It has saved me
hours in upgrading my cassette system to CP/M. I hope that it
can do the same for you.