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 / CPMUG036.ARK / PEN-CPM.DOC < prev    next >
Text File  |  1984-04-29  |  1KB  |  34 lines

  1. The correct Command syntax for CPM-PEN is
  2. "CPM-PEN Filename.Filetype" and the converted file
  3. will be named "Filename.PCL.  Command syntax for
  4. PEN-CPM is "PEN-CPM Filename.PCL Filename.XXX" and the
  5. converted file will be named "Filename.XXX". Filename
  6. for the output file in this case does not have to be
  7. the same as the PCL Filename.  I sometimes use this
  8. feature to avoid writing over my original file.
  9.  
  10. The following addition to the SEQIO.LIB file supplied
  11. with Digital Research's "MAC" macro assembler will print
  12. messages pointed to by the D-E register pair.  The
  13. message should end in a $.  Correct syntax would be
  14. "MESS   XXXX" with XXXX as the label identifying the
  15. beginning of the message.  The message is entered into
  16. the program thus:
  17. XXXX    DB      CR,LF,'THIS IS A MESSAGE. $'
  18.  
  19. This addition is used in PEN-CPM.ASM and CPM-PEN.ASM.
  20. ;
  21. MESS    MACRO M         ;PRINT MESSAGE M
  22. ;
  23.         LXI     D,M     ;POINT TO MESSAGE
  24.         MVI     C,@MSG  ;LOAD CPM PRINT CODE
  25.         CALL    BDOS    ;DISK PRIMITIVE ENTRY POINT
  26. ;
  27.         ENDM
  28. ;
  29. ;
  30. Rod Hallen                               27 July 1979
  31. P. O. Box  73
  32. Tombstone, AZ 85638
  33. ;
  34.