Download Print this page

Radio Shack TRS-80 Model II Reference Manual page 73

Disk operating system
Hide thumbs Also See for TRS-80 Model II:

Advertisement

Library Commands
FREE
Display Disk Allocation Map
FREE:dPRT
:d is a drive specification. (The colon: before d is
drive 0 is used.
PRT tells
TRSDOS
to send the map to the Printer. If
PAT
is omittecj,
TI::mCIOS
sends the map to the Console Display.
This command gives you a map of granule allocation on a diskette. (A
granule, 1280 bytes, is the unit of space allocation.) This information is useful
when you want to optimize file access time.
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 or write to a file.
FREE
and
ANALYZE
help you determine just how segmented your disk files are.
If
you decide that you'd Iike to re-organize a particular file to allow faster access, you
can then
COPY
it onto a relatively' 'clean" diskette.
Example
FREE
Displays a free space map of the diskette in drive O.
FREE
{PFn}
Lists the free space map for drive 0 to the Printer. The braces are required in
this example, since no drive specification is included. Otherwise
TRSDOS
would take
PRT
as an invalid drive specification.
FREE 2 PRT
Lists the Drive 2 map to the Printer.
109

Advertisement

loading