command/HEADER command/HEADER
NAME
HEADER -- Formats a disk
ABBREVIATION
he <shift> A
SYNOPSIS
HEADER "<diskname>",D<drive>[,I<id>][,ON U<unit>]
FUNCTION
Before you can use a new disk for the first time you must format it with
the HEADER command. If you want to erase an entire disk for re-use you
can use the HEADER command. This command divides the disk into sections
called blocks, and it creates a table of contents, called a directory or
catalog, on the disk. The diskname can be any name up to 16 characters
long. The id number is any 2 characters. Give each disk a unique id
number. Be careful when you HEADER a disk because the HEADER command
erases all stored data. Giving no id number allows you to perform a
quick header. The old id number is used. You can only use the quick
header method if the disk was previously formatted, since the quick
header only cleans out the directory rather than formatting the disk.
INPUTS
<diskname> - name for the disk (max length 16 characters)
<drive> - drive number
<id> - disk identification number (max length 2 characters)
<unit> - drive unit number
RESULT
A ready to use empty disk.
EXAMPLES
HEADER "MYDISK",I23,D0
HEADER "THEBALL",I45,D1,U8
NOTES
None
BUGS
None
SEE ALSO
BACKUP
SCRATCH