ASSM - Assemble an 8080 assembly language source file. ASSM source{,list}{,object}{,error}{,symbol}{,S=options} source Name or number of assembly language source file. list Name or number of listing file. object Name or number of object image file. error Name or number of error message file. symbol Name or number of symbol table or cross-reference listing file. Option string may be composed of: +A Source file is in ALS-8 format. -A Source file is in text format. +L Source file has line numbers. -L Source file does not have line numbers. # Generate or replace line numbers. P Paginate output. X Write cross-reference listing to symbol file. 0 Do not format listing. 1 Format listing with 72 columns. 2 Format listing with 80 columns. 3 Format listing with 132 columns. BLDUTIL - Build or alter a utility file; list modules. BLDUTIL utilfile{,I{module}=filename}{,D=module{,module,...}} {,S=L} I{module}= Insert filename into utilfile. If a module number is specified, filename will be assigned that module number. If no module number is specified, assign the next one available. D=module Delete specified module numbers from utilfile. S=L List numbers and names of all modules in utilfile. BOOTLOAD - Reload PTDOS from diskette. BOOTLOAD CLOSE - Close open file(s). CLOSE fnum{,fnum...} CLOSE /{unit} fnum Close the file associated with this number. /unit Close all open files on this unit. / Close all open files. CONFIGR - Change system parameters on diskette. CONFIGR {/unit,}password /unit Unit number of the diskette to be configured. password Must match password on diskette to be configured. (Default is "PTDOS") COPY - Copy contents of file(s) to another file. COPY infile,outfile{,S=options} COPY O=outfile{,S=options},infile{,infile...} infile Name or number of input file. outfile Name or number of output file. O= Concatenate infile(s) and write to outfile. Option string may be composed of: A Append infile(s) to outfile. -E Do not endfile outfile. Note: The arguments must occur in the order specified. CREATE - Create a file on diskette. CREATE filename{,type}{,blocksize} filename Name of the file to be created. type Type to be assigned to the file. blocksize Blocksize to be assigned to the file. DBASIC - Invoke Extended Disk BASIC interpreter. DBASIC DCHECK - Check structure of files on diskette. DCHECK {/unit} /unit Unit number of the diskette to check. If this argument is absent, the default unit is checked. DEBUG - Invoke debugger. DEBUG{3} {arguments} {3} The debugger used will load and run at 3000H. Otherwise a copy that runs at 5000H will be used. Debug uses no arguments; arguments following the command may be used by a program executed from the debugger. DISKCOPY - Initialize, format, copy, or verify a diskette. DISKCOPY {/}fromunit,{/}tounit{,S=-W} DISKCOPY /unit,S={I}{F}{V}{-W} (only one of I, F, and V) DISKCOPY {/}unit1,{/}unit2{,S={V}{-W}} Options have the following meanings: -W Do not wait for a carriage return or request permission to retry bad reads or writes. I Initialize the diskette in /unit. F Initialize and format the diskette in /unit. V In the second form of the command, each sector of the diskette in /unit is read to verify format integrity. In the third form, the diskette in unit1 is compared to the diskette in unit2. DO - Invoke command macro preprocessor. DO {O=outfilename,}{S=options,}infilename{,parameters} infilename Macro input file name. outfilename Macro expansion file. parameters Actual parameters to be used in expansion. Option string may be composed of: X Execute output file immediately after expansion. -X Do not execute output file after expansion. A Input file is in ALS-8 format. -A Input file is not in ALS-8 format. Note: The O= and S= arguments may occur in either order, but must precede infilename and parameters. DUMP - Display contents of file in hexadecimal and ASCII. DUMP file{,address{,address2}} DUMP file{,address{,>count}} file Name or number of file to dump. address Starting address of dump. address2 Ending address of dump. >count Number of bytes to dump starting at address. EDIT - Invoke screen-oriented text editor. EDIT infile{}{,outfile{}}{,top of memory} infile File to be edited. outfile File to which text is written after editing. File is in ALS-8 format. top of memory Last memory location to be used by EDIT. EDT3 - Invoke line-oriented text editor. EDT3 ENDF - Endfile at current cursor position. ENDF fnum{,*} fnum Number of the file to be endfiled. * Leave file open at end of operation. EXEC - Execute code at a specified address. EXEC address address Address to which control is to be transferred. EXTRACT - Display load information; optionally, combine image segments. EXTRACT file{,S{-L}} file Name or number of an image file. S Concatenate any contiguous image segments. -L Suppress listing of segment lengths and load addresses. FILES - Display list of files. FILES {/unit}{,filename specifications}{,T=type}{,L=order} {,S=options} /unit Unit whose directory is the source of information. (If this argument is absent, the default unit is chosen.) T=type List only files of this type. L=order Order the list of each group of files as specified by the order code. Allowed values are: N File name (default) I File ID T File type (secondary ordering by name) D Directry order A Disk address B Block size (secondary ordering by name) Filename specifications may take any of the following forms: string List any file with this name. string> List all files whose names begin with this string. List all files whose names contain this string. Option string may be composed of: -H Suppress column headings on listing. -I List files whether or not they are information protected. Q List only file names. FOCAL - Invoke FOCAL interpreter. FOCAL FREE? - Report amount of free space on a diskette. FREE? {/unit}{,blocksize} /unit Unit to check for free space. blocksize Give count of sectors that may be used for blocks of this size. GET - Transfer file(s) from an archive file or diskette. GET I=/fromunit{,/tounit}{,filename specifications}{,T=type} {,S=options} GET I=file{,/tounit}{,filename specifications}{,T=type} {,S=options} fromunit Unit from which to read the files. file Name or number of an archive file from which to read the files. tounit Unit to which the files are to be written. T=type Transfer only files of this type. Filename specifications may take any of the following forms: string Transfer any file with this name. string> Transfer all files whose names begin with this string. Transfer all files whose names contain this string. Option string may be composed of: N "Write protect" existing files on tounit. -L Suppress listing of names as files are transferred. R Inhibit transfers. Only list files that would have been transferred. -I Transfer files even if information-protected. HELP - Display information about command(s). HELP {command name}{,command name...} command name Name of the PTDOS command for which infor- mation is desired. Help is available on these commands: ASSM BLDUTIL BOOTLOAD CLOSE CONFIGR COPY CREATE DBASIC DCHECK DEBUG DISKCOPY DO DUMP EDIT EDT3 ENDF EXEC EXTRACT FILES FOCAL FREE? GET HELP IMAGE KILL OPEN OPEN? OUT PRINT RANDOM READ REATR RECOVER RENAME RETYPE RNUM SAVE SEEK SET SETIN SETOUT SPACE SYST TREK80 WRITE XREF ZIP $CREATE $ESC $LST $NLST $PR $REM $STOP $WAIT IMAGE - Write contents of memory to a file in image format. IMAGE file{,!blocksize},segment{,segment...}{,start} file Name or number of file to which memory image will be written. !blocksize If the file does not exist, create it with this blocksize. segment Two or three numbers, as follows: address,address2{,:load} Segment is block of memory bet- ween specified addresses. address,count>{,:load} Segment is count bytes, starting at specified address. If :load is present, it specifies the load address of the segment. If :load is absent, the first location of the memory block (address) will be used as the load address. start Execution starting address for the image file. KILL - Kill file(s). KILL filename{,filename...} filename Name of the file to be killed. OPEN - Open a file. OPEN filename{,buffer address} OPEN filename{,T} filename Name of the file to be opened. buffer address Use buffer at specified address in user memory. T Use dynamic buffering in system memory. OPEN? - Display name and number of each open file. OPEN? OUT - Set console output to video display or port driver. OUT V OUT P V Set console output to video display driver. P Set console output to port driver. PRINT - Print file on the CI output file or a named file. PRINT {arguments,}infile{{,arguments},infile...} infile Name or number of the file to be printed. arguments may consist of the following: O=outfile Output is to be sent to this file. H="string" Print string as heading on each page. P=number Length of each page in lines. T=number Number of the first line of text. B=number Number of the last line of text. L=number Set left margin to number. R=number Set right margin to number. S=flags May be any of the following: A Infile is in ALS-8 format. D Double space output. P Paginate output with page numbers. # Print line numbers for each line. Note: Arguments apply until changed by a subsequent argument specification. RANDOM - Create index block for file. RANDOM file{,*} file Name or number of the file to be randomized. * Leave file open at end of operation. READ - Transfer contents of file to memory. READ file{,address{,address2}}{,*} READ file{,address{,>count}}{,*} file Name or number of the file to read. address Start loading file at this address. address2 Do not load file past this address. >count Maximum number of bytes to be transferred. * Leave file open at end of operation. REATR - Change protection attributes of file. REATR filename{,attributes}{,S=-W} filename Name of the file whose attributes are to be changed. S=-W Do not request verification of attribute protection. Attribute string may be composed of: K Kill protect. W Write protect. R Read protect. I Information protect. A Attribute change protect. N Name and type change protect. E Disk allocation protect. + Causes following attributes to be added to existing attributes. - Causes following attributes to be subtracted from existing attributes. RECOVER - Reclaim lost space on a diskette. RECOVER {/unit} /unit Unit number of the diskette on which space is to be recovered. RENAME - Change name of file(s). RENAME oldname,newname{,oldname,newname...} oldname Name of the file to be renamed. newname New name to be given to the file. RETYPE - Change the type of a file. RETYPE filename,type filename Name of the file whose type is to be changed. type Type to be assigned to the file. RNUM - Renumber lines of text file. RNUM filename{}{,number}{,I} filename Name of the file to be renumbered. File is in ALS-8 format. number Optional starting number (default is 1). I Do not process COPY files. SAVE - Transfer file(s) to an archive file. SAVE O=file{,/unit}{,T=type}{,filename specifications} {,S=options} file Name or number of the archive file to which files will be written. unit Unit on which files to be transferred reside. T=type Only transfer files of this type. Filename specifications may take any of the following forms: string Transfer any file with this name. string> Transfer all file whose names begin with this string. Transfer all files whose names contain this string. Option string may be composed of: -L Suppress listing of names as files are transferred. -I Transfer files even if information-protected. SEEK - Position file cursor. SEEK file,number{,B} file Name or number of the file whose cursor is to be moved. number The byte at which to position the file cursor. B Number specifies a block, rather than a byte. SET - Change system parameters in memory. SET argument{,argument...} Argument can be any of the following: BU=address Set lowest address assigned to system buffer area. DA=mm.dd.yy Set date in system global area. DD=mm.dd.yy Set date on diskette in default unit. DU=number Set default diskette unit number. EF=number Set echo file number. NA=string Set system name. NU=number Set number of nulls to send to the console after each line feed. PR=address Set highest protected address. RC=address Set address of read character routine. SC=address Set address of test character routine. SY=number Set number of permanently open files. SW=switches Set switches. WC=address Set address of write character routine. Switch string may be composed of: B Binary I/O. E Echo commands. H Verbose mode. L System write lock. U Upshift all ASCII characters. V Read after write verify. + Turns following switch on. - Turns following switch off. Note: Except DD, parameters are changed in the System Global Area in memory only. SETIN - Make named file the CI input file. SETIN file{,*} file Name or number of the new CI input file. * Leave previous input file open. SETOUT - Make named file the CI output file. SETOUT file{,*} file Name or number of the new CI output file. * Leave previous output file open. SPACE - Move file cursor. SPACE file,how{,*} file Name or number of the file to be spaced. how may consist of: >count Space toward the end of file count bytes. Space to end of file. < Space to beginning of file. * Leave file open at end of operation. SYST - Display system parameters from the System Global Area in memory or on a diskette. SYST {L} SYST /{unit}{,L} L Display more detailed information. /unit Get information from the diskette in the specified unit. / Get information from the diskette in the default unit. TREK80 - Invoke video Star Trek game. TREK80 WRITE - Write contents of memory to a file. WRITE file{,!blocksize},address,address2{,*}{,<} WRITE file{,!blocksize},address,>count{,*}{,<} file Name or number of the file to which data will be written. !blocksize If file does not exist, create it with this blocksize. address Address from which data are to be written. address2 Last address from which data are to be written. >count Number of bytes to write. * Leave file open at end of operation. < Endfile the file at end of operation. XREF - Create a cross-reference listing of an assembly language file. XREF infile,outfile{,S=options}{,top of memory} infile Name or number of assembly language source file. outfile Name or number of file to which listing will be written. Option string may be composed of: D Display infile while generating cross-reference. # Assign line numbers to source file. R Include CPU registers in cross-reference. V Format listing with 64 columns. 1 Format listing with 72 columns (default). 2 Format listing with 80 columns. 3 Format listing with 132 columns. P Paginate listing. top of memory Do not use memory above this address. Note: The arguments must occur in the order specified. ZIP - Fill memory with number. ZIP {number} number Value with which to fill memory. $CREATE - Possibly create a file. $CREATE filename{,type}{,blocksize}{,attributes} filename Name of the file to be created. type Type to be assigned to the file. blocksize Blocksize to be assigned to the file. attributes Protection attributes to be assigned to the file. Attribute string may be composed of: K Kill protect. W Write protect. R Read protect. I Information protect. A Attribute change protect. N Name and type change protect. E Disk allocation protect. $ESC - Check for MODE SELECT or CARRIAGE RETURN. $ESC $LST - Turn on the CI echo enable flag. $LST $NLST - Turn off the CI echo enable flag. $NLST $PR - Print a string on the CI output file. $PR {string} string The string to print. $REM - Include remark in a command file. $REM {remark} $STOP - Terminate a DO file. $STOP Note: This command may only appear in a command macro file to be input to the command macro preprocessor (DO). $WAIT - Wait for MODE SELECT or CARRIAGE RETURN to be typed. $WAIT O file. $STOP Note: This command may only appear in a command macro file to be input to the command macro preprocessor (DO). $WAIT - Wait for MODE SELECT or CARRIAGE RETURN to be typed. $WAI