Specifications

Radio
Shack
Disk
BASIG:
TRSDOS
will load and enter Disk BASIC
whenever
the command BASIC is
en-
tered. Typing
CMD
"S"
under BASIC
will
return control to TRSDOS.
BASIC
2. Type
BASIC
2 and
the TRS-80
wiu
be in
Level II
BASIC with
tuU
RAM
avai.lable.
Disk
BASIC
enhances
Level II
with
the
addition
of
several new
commands.
BASIC
*.
Allows reloading
and reentry
into
Disk BASIC
from
TRSDOS
and re-
stores a
program
that was in
resident
when
you
exited
BASIC.
BASICR. Enhanced
Disk BASIC with
Iine
renumber
(NAME).
BASICR*.
Reloads
and enteis
BASICR
from
TRSDOS
''
and iestores
a
prcgran
that was
in lesident
when
you
eited
BASICR.
Disk
BASIC
and BASICR
a.llows
either
random
or sequentia.l
disk
fi.les.
pro-
grams
may
be stored in
BASIC
as ASCII
or compressed
format files.
All files
are
named.
A Filespec
name
may
consist
of
an
8-character
name,
a
3-character
ex-
tension,
an
B-charadet
password
and a
specifrc
disk
drive
nun rer.
(A.ll
except
the fi.le
name
are
optiona.L)
Ext€nllon
Comnatdal
CMD D
-
CaUs up DEBUG
(see
DOS).
CMD
"I"
Exit to
TRSDOS and issue
a command.
CMD
"R"
-
Restarts the 25 msec
heartbeat
(shouLd
be on Io! dLsk
operations)
CMD
"T"
-
Turns
otr25 msec
heartbeat. ThisDust
be done before cassette
YO is done.
DEF FN
-
AUows userdefined
luDctions
DEFUSR
-
Defmes
an entry
poini
for one of 10
user
macnrne
Language
routnes.
IIEX CONSTANTS
You
can type-in hexadecimal
and octal constants
by
precedug
them wjth &H
INSTR
-
Tells
you
the
position
of one strng within
MIDS
-
AUows MID$
on rhe lefr srde
of an equa
TIMES
-
Returns
date and time as
a
text
shrq.
Time and
date are
set bythe TIME and DATE
commands
under TRSDOS.
USBn
-
CaUs one oI10
possible
machine language
routnes
You can
both send and rerurn
an argu
Flle
Commard!:
CLOSE- Closes
a file
whjch
is curreitly
open. The
file must be ieopened
for use.
DISKDUMP
-
Aprcsram to write
a diskfile io tbe
DDe
pnnter (orvjdeo)
secto!
by sector in
hex code
and ASCII, 16
bytes at a time.
Shows how dara for-
mats
are stored on a disk.
EOE
-
Fuction
to check for
end of file.
GET- Reads a
specified lecord from
a random file
into
the file's associated
buffer
FIELD
-
Specifies the format
of a landom file
INPuT#filenubb€r-
Reads from
a sequentiat file.
KILL
-
Doletes a file.
LIIIE INPUT-R€ads
an entire line
ofdara,,sno.-
LOAD-Loads
aBASIC
program
lrom disk
into
LOF- Retulns
hjghest
physical
record nunber
LSET/RSET
-
Places dara Dio
a randomfile
buffer
tn
preparation
fo. a write to
djsk.
MERGE
-
Cor$lrles
a BASIC
proqram
wrtl.
another
program
currently
in memory.
NAME
(BASIC
R only) Fenumber
the Ines
rn a
BASIC
program.
OPEN
Opens a fde fo'
use Thrs comman.
specifies sequent'ayrandom
rnput or output, the
iile number
and file name.
PRlNT#filenumber
-
Write ro a sequential
file.
PUT- Writes
data frcm a
butrer to a specrfied
.ecord number
in a random rile.
SAVE
-
Saves a
BASIC
proglamoDro
disk
(you
can CLOAI
atape
program,
then easily
pur
ii
on
The IoUowtng lunctjons
are
avarlable ro convert
nurbe!.
ro rpx and
back dgarn. Thls wav
a 5 drgrr
mteger
may be stored
as 2 btles rarher rhan
5
ASCII
characters.
savins disk
space.
Convert
to Convert
ro
'Ilpe
text
numenc
Bttes
integer
MKIS
srngle
prec'sion
MI<SS
double
precisron
MKDS
Manual
and Disks
May
Be
Purchased
Separately
Buy
the ngw
revi8ions
of
Replacement
TRSDOS
Diskotte8.
26-0310,
14.95
cvl
2
cvs 4
cvD
8
TRSDOS,/DiEk
BASIC
Manual.
26-2104,5.95
I
Powerful
Disk
BASIC and TRSDOS
Operating
Systems
TRS-80
Mini-Disk
System
Also
Provides
Powerful
Enhancement8
to Radio
Shack's Level Il
BASIC
TRSDOS
ProgralDr
Included in
TRSDOS
is the software
Deeded
to operate
the disk
system,
plus
certair
programs
for file
management,
called
Ut
ities.
On
power-up,
IRSDOS is
automatically
Ioaded
into RAM,
occupying
4.2K.
AlI
overlay
scheme is
u€ed so
that onlv
the
needed
portions
of TRSDOS
use RAM
space
at any
given
time.
l /hen
Disk
BASIC
is caLled in,
an additional
5.8K
RAM is
used. Additionall]I
about
280
bytes
are required
for
each fi.le the
user
requests,
up to
15, hence
the minimum
RAM requirement
for
use
of a Mini-Disk
system
of 16K.
Radio
Shack intends
to continually
up-
glade
TRSDOS,
adding
new featules
with
each new
vetsion,
so check
with
your
local
Radio
Shack
store for ttforma-
tion
of the latest
available
version.
For
reference,
hete
are some
of the features
of TRSDOS
2.2.
UtUltles:
APPEND
-
Adds
one lile ro the
end ofanotner
(pnmarily
data frles)
ATTRIB
-
Assrgns or
changes
prorecrive
hle
passwords
wrth
5leveLs oj
proiecrron
to
prevenr
unauthonzed
file access
AUTO
-Automancallv
execures a command
on
BAC(UP
-
Copres
aU oI a drskerte
to another
diskette
{works
even on
a one dnve
system Dy
swappms
drsks
back and forrh)
CLOCK
-
Provides constanr
tlme drsplay
m rhe
upper
nght corner
ol the vrdeo
screen.
COPY-Copiesahle.
DATE
Sets the date whrch
can
be accesseo ov
1 IME$.n
Drsd
BASIC.
DEBUG
-
Machne
tansuage
debusser.
allowxLs
you
to sei
break
pornts,
execute srngle
srep rn.
struC.rons,
dynamically
watch
regFters
during
executron
and djsplay
memorv
m he{decrmal
or
ASCII
DIR D,splays
a direstory
oI aU fles
on a specjfred
drsk dnve Il requested,
wrU rnclude
toorcal
record
length.
end of frle and
space used.
DUMP
-
StoJes
a
machine
language
plogram
lrom
FORMAT
-
Format and
verily a blank
diskette
Unusable
sectors are marked.
FREE
-
Displays
free space iemaining
on clrsk
GETDIS(
-
Copies
any disk file or machine
tan.
guage program
onro
cassefte.
GETTAPE
Reads cassette data
and writes
rt rnto
KILL Deletes
a file making
space avartable
for
LIB
-
Drsptays
aU TRSDOS
svslem commands
LIST
-
LEts a irle ro
rhe vjdeo drsptay.
LOAD
-
Loads
a maciDne Language
prosram
from
PRINT
-
Lrsts
a lle to rhe hne
prinreL
PROT
-
Changes
prorecrion
status
of au non,
system fiies on
a djskette
RENAME
-
Changes
the name ol
a fite.
TAPEDISK
-Loads
sysrem rapes
tnro RAM rhen
to a specified
disk file.
TESTI-
Program
to tesr the TRS-80s
memorv
read onlv
and random
access.
TEST2
-
A
BASIC
program
st.ess rest lor
the en,
TIME
-
Sets
the
rime ofday
for the
CLOCK display
and TIMES
BASIC command
TRACE
Prints ihe
program
counter on
the
Most items
are available on Speciat
Orderfor fast
delivery Ask
about delivery
times.
13