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 >
Text File  |  1984-04-29  |  2KB  |  42 lines

  1.     Documentation for PTSRCNVT.COM
  2.     Written by: Tom Digate
  3.     Version 1.0 - Nov., 1979
  4.  
  5.     This program is used to convert files that were used
  6. with Processor Technology Software Package 1 and ALS8
  7. assemblers to a format that is CP/M assembler compatible.
  8. This includes adding tabs and semicolons in place of spaces
  9. and asterisks. The program reads the PT file from disk on
  10. a byte by byte basis and checks for label,opcode,operand,
  11. and comment fields. If a character replacement or deletion
  12. is required, it is performed and then the character is
  13. written to a new output file.
  14.     The PT file can be saved on disk by first loading it
  15. into memory starting at location 100H and then saving
  16. it using the CP/M save command.
  17.  
  18.     The command format is as follows:
  19.     PTSRCNVT ifilename ofilename <cr>
  20. The program checks for proper parameters and will abort
  21. if any are missing or the input file does not exist.
  22. The old ofilename will be erased and then a new file
  23. is created. This is done so that you do not have
  24. to erase it manually.  If a disk error occurs, a message
  25. will be printed and the program will abort.
  26.  
  27.     This file was assembled using a MACRO library from
  28. a previous Users Group Volume and the Digital Research
  29. MACro Assembler. The COM file is a ready-to-run version
  30. of this file in case you do not have the above software tools.
  31.     This program will not handle files that do not have
  32. line numbers or lines that have only a line number and nothing
  33. else. If a label is found, an opcode must be present.
  34. Opcodes that have no operand and use a period for formatting
  35. purposes will still have the period in the
  36. new file. This can be edited out by replacing all occurrences
  37. of a <tab>. with a <tab><tab>
  38. There are no other known peculiarities of this program.
  39. Hope that you enjoy using this program. It has saved me
  40. hours in upgrading my cassette system to CP/M. I hope that it
  41. can do the same for you.
  42.