EasyManua.ls Logo

Commodore RF512C - New;Header

Commodore RF512C
52 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7
NEW/ HE
ADER
Fun
ction New
is
a direct
command
for formatting a disk.
Format
BA
SIC
HEADER
is
an
interactive
command
for formatting or
to
clear
the
di
rectory
of
a disk.
stringS
= "N[
EW
] : diskname,
id"
BASCI7.0
HEADER
"diskname [,id]"
[,
D drive#]
Syntax
[,
U devi
ce
#]
Remember,
NEW
is
a direct
command
that should
be
sen' through the
command
channel
and
its
mnemonic
is
N.
But
HEADER
is
an
interactive
type
in
terpret command.
When it
works,
echo
message is '
'AR
E
YOU
S
URE
?".
The
answer
may
be
"Y"
or
"N
".
When id
code
isn'
t assigned, then the disk direc-
tory is
cle
ar
ed
(i
f your disk
is
already
formatted).
The diskname must not longer than
16
characters.
The
id
code
is any 2
charac
t
ers
identif
ier.
The
device
#
defau
lt value
is
8.
The
d
ri
ve# default value
is
O.
Where the
preceding
lett
ers
D
and
U please refer to
S
YNTAX.
Ex
ampl
es
: Using
NEW
command
C
LOSE
1:
OPEN
1,8,15
, "N:
TE
ST
DI
SK, 1
A"
Using
HEADER
command
HEADER
'
lEST
DISK
,
1A"
ARE
YOU
SURE
? Y
(Type
that line)
(Answer "Y" for
yes
and
wait for "
ready
"
prompt