Download Print this page

Radio Shack TRS-80 model III Owner's Manual page 57

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

Advertisement

Examples
If
you
are
using
8'/
2
"-wide forms,
you
will
probably
want
to set
width
=
80-
FORMS <WIDTH=80)
If
you
are
using 14"-long forms,
you
may
want
to set
lines
-78.
FORMS (LINES=78)
This
change
will
allow
the
basic
statement,
lprintchr$(12),
to
advance
a
naze
by
the correct
number
of
lines.
Notes:
1.
The width you
specify
is
stored
in
ram
location
16427.
The
lines
you
specify
is
stored
in
ram
location
16424.
2.
The
Printer
must
be ready
when
you
execute
this
command.
FREE
Display
Disk
Allocation
Map
(iwi
tells
trsdos
to
send
the
map
to
the
Printer.
It
omitted;
trsdos sends
the
map
to
the
Video
Display
only.
This
command
gives
you
a
map
of granule
allocation
on
a diskette.
(A
granule,
1280
bytes,
is
the unit
of space
allocation.)
It
also
shows
the location
of
the
directory
and any flawed
sectors.
When
a diskette
has
been used
extensively
(file
updates,
files
killed,
extended,
etc.),
files
often
become
segmented
(dispersed or fragmented).
This slows
the'
access time, since the disk read/write
mechanism
must
move
back and
forth
across the diskette
to
read
and
write
to
a
file.
free
helps
you
determine
just
how
segmented your
disk
files
are. If
you
decide
you'd
like to
re-organize a
particular
file
to
allow
faster
access,
you
can
then
copy
it
onto
a relatively
"clean"
diskette.
50

Advertisement

loading