Download Print this page

Radio Shack TRS-80 Owner's Manual page 51

Mini-disk operation disk operating system disk basic programming language
Hide thumbs Also See for TRS-80:

Advertisement

TRSDO
COPY /BAS:0
:1
tells
trsdos
to
copy
all
Drive
files
which
have
the
extension
/bas.
The
files
will
be copied onto Drive
1,
using
their
present
file
names
and
extensions.
Sample
Use
Whenever
a
file is
updated, use
copy
to
make
a
backup
file
on
another
disk.
You
can
also
use
copy
to
restructure
a
file
for faster access.
Be
sure the destination
disk
is
already
less
segmented
than
the
source
disk;
otherwise
the
new
file
could
be
more
segmented
than
the
old one. (See
free
for
information
on
file
segmentation.)
To
rename
a
file
on
the
same
disk,
use
rename,
not
copy.
CREATE
Create a
Pre-allocated
File
c p
f
a
t
fi<fn^:r^
:',rl
-
aaa.HM:-- hhh)
iiies.&v.s
is
the
tile
specification.
;
?-.
-
Ma
is
the logical
rpcoid length
aaa
is
a
decimal
number
between
/.era
anc
;&&
!?
omitted.
255
is
assumed
Hi
i
biih
Is
?h3
fiu:*
:
ci
of
records
to
allow
for
hbb
is
the
number
0!
reiUi'as
;
;
--;'!::
;
i-
sm^ted
no
rer,n»is
are aiiccsts^
This
command
lets
you
create a
file
and
pre-allocate
(set
aside)
space
for
its
future contents.
This
is
different
from
the default
(normal)
trsdos
procedure
in
which
space
is
allocated
to
a
file
dynamically,
i.e.,
as
necessary
when
data
is
written into the
file.
If
you open
the
file
for sequential writes,
trsdos
will
de-allocate (recover)
any
unused
granules
when
the
file is
closed.
If
you open
the
file
for
random
access,
trsdos
will
not de-allocate
space
when
the
file is
closed.
35

Advertisement

loading

This manual is also suitable for:

Model iii