APPEND,file1,TO,file2

ATTRIB,file1,options

Change the specified attributes (at least one required) of file1.
The following defines the valid values for options:

INV – DIR will not display the file unless parameterI is specified

VIS – DIR will display the file

PROT=xxx – Assign file protection level xxx,
where xxx can be one of

LOCK – No access

EXEC – Execute

READ – Execute or read

WRITE – Execute, read or write

RENAME or NAME – Execute, read, write or rename

KILL – Execute, read, write, rename or kill

FULL – All operations

ACC=fpwd1 – fpwd1 becomes the file’s access
password

UPD=fpwd2 – fpwd2 becomes the file’s update
password

ASE=y or n – Enable automatic allocation of
additional file space

ASC=y or n – Enable automatic de-allocation of excess
file space

UPD=y or n – Turn on/off the file’s updated flag.

ATTRIB CNTRLDAT/CMD,UPD=KKKJJJ,PROT=READ

AUTO,doscmd

The DOS command doscmd is stored in the system diskette’s directory
for automatic execution at subsequent re-boots. AUTO alone eliminates this
automatic re-boot action.

AUTO,BASIC,RUN"MYPROG/BAS:0"

BASIC2

(Model I only) Enter Level II non-disk BASIC (no DOS, no disk BASIC).

BASIC2

BLINK,yn

Enable/disable cursor blinking.

BLINK,N

BOOT

RE-boot the DOS system.

BOOT

BREAK,yn

Enable/disable the BREAK key.

BREAK,N

CHAIN,file1,sectionid

Enter keyboard input chaining mode, starting at the beginning of file1
if sectionid is not specified or the beginning of the section sectionid
of file1 if section was specified. JCL is assumed as the name extension
if none was specified in file1.

CHAIN MYCMDS/DAT:1

CHNON,option

Alter chaining state. Options are:

N — Chaining is temporarily suspended and the current DOS-CALL level,
if any, is exited

Y — Chaining is resumed at the point in the chain file where it left
off. Current DOS-CALL level, if any, is exited

D — Same as Y except the current DOS-CALL level, if any, is not exited.

CHNON,Y

CLEAR,START=addr1,END=addr2,MEM=addr3

Clear all routes, dequeue all timer and * name routines, set HIMEM toaddr3 or to highest memory address, zero user memory from 5200H
or addr1 to HIMEM or addr2.

CLEAR,START=7000H,MEM=BFFFH
CLEAR

CLOCK,yn

Turn on/off the time display on the screen.

CLOCK,N

CLS

Clear the display.

CLS

COPY,file1,TO,file2,options

Single file copy. Only options SPDN and DPDN allowed.

COPY,XXX/DAT:0,TO,YYY/DAT:1

COPY,$file1,TO,file2,options

Single file copy with system diskette conflict. Only options SPDN and
DPDN allowed. $ indicates if at least one of file1 or file2
specifies drive 0, that diskette is not the current system diskette. If
both files use drive 0, they are on the same diskette.

COPY,$XXX/DAT:0,TO,YYY/DAT:1

COPY,dn1,file1,TO,file2,options

Single drive, two diskette single file copy. Only options SPDN and DPDN
allowed.

COPY,1,XXX/DAT,YYY/DAT

COPY,dn1,TO,dn2,date,options

Sector by sector full diskette copy. Both diskettes must have the same
granules per lump, otherwise the CBF (Copy By File) type of COPY must be
used. Options are:

FMT — Format the destination diskette. FMT if the default if NDMW
specified

NFMT — Do not format the destination diskette

Y — User doesn’t care what was previously on the destination diskette.
Y is the default if none of N, ODN, ODPW, DDND, KDN or KDD are specified

N — Reject COPY if destination diskette contains data

NDMW —No diskette Mount Waits. All diskettes are already mounted,
the system is not to ask for them. If an error occurs terminate the COPY

SPDN=dn3 — The PDRIVE specifications used for source I/O are those
listed for drive dn3 in the PDRIVE display

DPDN=dn4 — The PDRIVE specifications used for destination I/O are
those listed for drive dn4 in the PDRIVE display

SN=name3 — If the Source diskette’s Name is not name3}, the operator
is asked whether or not to continue;

SPW=dpwd1 — the Source diskette’s Password must be dpwd1 or format/copy
will not be done

ODN=name1 — If the destination diskette’s old name is not name1,
the operator is asked whether or not to continue

DDND — Display the Destination diskette’s old Name and Date and ask
the operator whether or not to continue

KDN — The destination diskette is to retain its old name

KDD — The destination diskette is to retain its old date

NDN=name2 — name2 is the destination diskette’s new name

USD — The destination diskette is to receive the source diskette’s
date

BDU — Bypass Directory Update. Make a mirror image copy without any
adjustments to destination control or directory information.

COPY,0,1,10/06/81,FMT,NDMW
COPY,0,0,SN=OLDDISK,ODN=NEWDISK

COPY,dn1,dn2,date,CBF,options

Multiple file copy. Distinguished from full diskette copy by the CBF
(Copy By File) parameter. One, some or all of the files, excluding BOOT/SYS
and DIR/SYS, of the source diskette are copied to the destination diskette.
All excluded files and all non-allocated granules are not copied. If a
NEWDOS/80 system disk is being created, FMT must be specified. All of the
above options except BDU, are useable by this copy. If a system file is
to be copied and it is not already in the destination diskette, FMT should
be specified. Additional options are:

CFWO — Check Files With Operator. The operator is asked whether or
not to copy files which otherwise qualify for the copy

ODPW=dpwd2 — The destination diskette’s old password must be dpwd2
or the format/copy will not be done

DDSL=ln1 — Formatting will start the directory at the beginning of
lump ln1

DDGA=gc1 — Format will allocate gc1 granules to the directory.

COPY,0,1,01/24/82,CBF,NFMT,CFWO,USR

CREATE,file1,LRL=sz1,REC=count1,ASE=yn,ASC=yn

Create new file file1 or use old file file1 as the new
file. The file record size is set to sz1, space for count1
records is allocated, the record filled with zeroes and EOF set to the
end of those records. Automatic space allocation and deallocation set according
to the ASE and ASC options respectively. Defaults for LRL, REC, ASE and
ASC are 256, 0, Y and Y respectively.

CREATE,XXX/DAT:1,REC=100

DATE

Display the current date.

DATE

DATE,date1

Set date1 as the computer’s current date.

DATE 02/19/82

DEBUG,yn

Enable/disable debug entry at user program start.

DEBUG,Y

DIR,dn1,options

Display the user files accounted for in the directory of the diskette
mounted on drive dn1. Options are:

A — Display space allocation, record size and count, and attribute
information;

S — Display system files;

I — Display invisible files;

U — Disply only updated files;

/ext — Display only those files with name extension ext;

P — Send the output to the printer instead of the display.

DIR,0,A,/DAT,U

DO,file1,section

Performs identical to CHAIN.

DO SOMEFILE,TEST

DUMP,file1,startaddr,endaddr,entryaddr,retaddr

Dump the contents of memory locations startaddr thru endaddr
to disk file file1. If entryaddr =0FFFFH, the file is readable
via SUPERZAP, DBDM mode, otherwise the file is stored as a load module
with load addresses offset by the value reladdr–startaddr.
Defaults for entryaddr and reladdr are 402DH and startaddr
respectively.

DUMP,PROGFILE/CMD:0,5200H,63F3H,5530H

ERROR,xx

Display error message for DOS error xx.

ERROR,24

FORMAT,dn1,dname,date,dpwd,options

Format the diskette on drive dn1 and set up the directory, boot
and control information using name dname, date and passworddpwd. Defaults for dname, date and dpwd are
NOTNAMED, the current date and PASSWORD respectively.

DDSL=ln1 — ln1 is the number of the lump whose first
sector is the directory’s first sector. Used only during formatting;

DDGA=gc1 — gc1 is the number of granules (2 to 6) assigned
to the directory. Used only during formatting;

A — If the display shows no errors, activate the PDRIVE attributes
as the current attributes in main memory. Subsequent I/O will use these
attributes. If A not specified, subsequent I/O (except that via SPDN or
DDPN (see COPY)) will not use any new attributes until re-boot.

LOCK — The diskette password is set as both the access and update
password for all of the diskette’s user files;

UNLOCK — All the diskette’s user files are set having to access or
update passwords.

PROT,1,NAME=NEWNAME

PURGE,pwdn1,options

For each qualifying file the operator is asked whether or not the file
is to be killed. If so, it is killed immediately. BOOT/SYS and DIR/SYS
are excluded. Options are:

/ext — Only files with name extension ext qualify;

USR — Only user files qualify (excludes system and invisibles).

PURGE,1,USR

R

Repeat the previous DOS command.

RENAME,file1,TO,file2

Change the name and name extension of file1 to that of file2.file2 must not contain a password or drive number.

RENAME,OLDNAME/DAT:1,TO,NEWNAME/PTA

ROUTE

Display existing routes.

ROUTE,CLEAR

Clear all routes.

ROUTE,xxx

Clear routes for device xxx.

ROUTE,xxx,yyy(s)

Clear routes for device xxx and set routing for device xxx
to the one or more devices/routines specified. Device codes are KB (keyboard),
DO (display), PR (printer), RI (RS-232 in, Model III only), RO (RS-232
out, Model III only) and NL (nothing transfered). A yyy routine
is expressed in the form MM=addr1 (see manual). Input devices may
not be routed to output devices.

WAIT or NOWAIT — Indicates whether or not the RS-232 is to wait on
transmission/receiving of each byte;

OFF — Turn off the RS-232 interface. No other options allowed if
OFF specified.

SETCOM,WORD=8,BAUD=300,PARITY=1,WAIT
SETCOM,OFF

STMT,msg

Display the message msg.

STMT,PHASE ONE COMPLETED

SYSTEM,pwdn1,options

Change and/or display the system options in the control sector of the
system diskette mounted on drive dn1. These options determine the system
configuration at subsequent re-boots when this diskette is the system diskette.
Options are:

TIME

Display the current time.

TIME,time1

Set time1 as the current time.

TIME,09:30:00

VERIFY,yn

Force verify read after every sector write.

VERIFY,N

WRDIRP,dn1

Write directory sectors protected. On the Model III rewrite the directory
sectors for the diskette mounted on drive dn1 to have address mark
F8. On the Model I rewrite the directory sectors to have address mark FA
(if SYSTEM option BN=N) to make the diskette useable on all Model I systems
(including NEWDOS/80 Versions 1 or 2) or F8 (if SYSTEM option BN=Y) to
make the diskette useable interchangeably on Model I and III under NEWDOS/80
Version 2. The actual directory data is not changed in any way.

Important Note:

Is there an eBay store for TRS-80's?

Yes - Three

Dale Frantz has had his "TRS80sAndMore" store on eBay for 18 years, with 100% positive feeback and 100% money back guarantee. Check out the store HERE!.
Trash Talk Podcaster Ian Mavric has also been on eBay for more than 18 years also with 100% feedback and a long history with TRS-80s going back to the 1980s. Timely, reliable shipping from Australia. Check out the store HERE!.
Bra McCartney also has a Store.

Do you have TRS-80 Disks or Tapes?

If you have Model I, III or 4 TRS-80 disks lying around, you may want to think about sending them in. If the data is intact, I can read them into “virtual disk files” (DMK files) which will serve not only to archive the disk forever, but would also allow you to use those virtual disks in an emulator on your current computer, and to extract the data to your current computer if you wanted to.

The media on these disks and tapes were not intended to hold data for 35+ years and the data will not last forever. If you do have disks lying around, I would encourage you to contact me.