home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / asmutil / chasm4.zip / COM2DATA.DOC < prev    next >
Text File  |  1985-05-11  |  2KB  |  40 lines

  1.  
  2.  
  3.  
  4. COM2DATA
  5. Filter
  6.  
  7. ---------------------------------------------------------------
  8.  
  9. Purpose:   Converts a file of machine language code into a file
  10.            of BASIC DATA statements.  The data file may be merged
  11.            into BASIC programs, thus simplifying the process of
  12.            using machine language subroutines in BASIC.
  13.  
  14. Format:    COM2DATA [<infile] [>outfile] [linenumber]
  15.  
  16. Type:      Internal                 External
  17.                                        ***
  18.  
  19. Remarks:   If a line number is given, COM2DATA numbers the
  20.            statements beginning with the specified number,
  21.            otherwise the numbering starts with 1000.
  22.  
  23.            COM2DATA acts as a standard DOS 2.0 filter, reading a
  24.            COM file from STDIN and writing a file of BASIC data
  25.            statements to STDOUT.
  26.  
  27.            This utility is supplied in source code form, suitable
  28.            for input to CHASM.  You must assemble it before use.
  29.            Beginners may wish to study the source listing for
  30.            some more advanced programming examples than provided
  31.            by EXAMPLE.ASM.  COM2DATA demonstrates approaches to
  32.            such arcane topics as numeric I/O conversion, reading
  33.            the DOS command line, and DOS 2.0 I/O redirection.
  34.  
  35.            This program requires DOS 2.0, and will abort under
  36.            earlier versions.
  37.  
  38. Copyright: 1984 by David Whitman.  Part of the CHASM assembler
  39.            package.
  40.