Download Print this page

Motorola EXORdisk II User Manual page 105

Advertisement

COpy COMMAND
7. 1 -- Use
7.1.2
Diskette-to-device copying
If
a
diskette
file
is to beo copioed to another device,
both <name 1/ and <name 2> must be specified on
the
command
line.
The
default
assumptions for the source file are the
same as in diskette-to-diskette copyingi
however,
<name
2)-
must
now
indicate
a destination device rather than a file.
The following are valid device
specifications
that
can
be
used for <name 2>:
Device
Name
#CN
#CP
#LP
#UD
Associated Physical Device
Console printer
Console punch (record) device
Line printer
User-defined device
Unlike
diskett~to-diskette
copying,
where
<name
1>
could be the name
of any
diskette file,
<name
1:>
can
only
be
an ASC I
lor bin a
r"
r e cor
d
f
i 1
e (s e
e
sec t
ion 24. 3) .
T
h
us, not
every
di~kette
file can be copied to a
non-diskette
device.
If
memory-imag e
f
i
1
es
are
to
boe cop i ed to a non-d i s
k
ette
device, then they must
first
be
converted
via
the
BINEX
command (Ch ap tel"
4).
There
are two modes for copying files to a non-diskette
device:
file format mode and non-file formaot mode.
The file
format
mode
is the default mode that the COpy command uses.
The file format mode will
write
one
extra
record
to
the
device
before
any
data
records
are copied from the file.
This special record is
called
the
File
Descriptor
Rec9rd
(FDR)
and
serves
the same purpose
as
a directory entry for
diskette files:
the
FDR
contains the diskette
file's
name,
suffix
and
file
format <see section
24.3).
The
"N"
option
inhibits the
~riting
of the FDR to the output
device~
and
is
used
to
indicate the non-file format mode.
Thus,
if an
FDR
is to be written to the output device,
the "N" option
should
be
omitted;
if
an
FDR
should not be written, the UN" should
be
specified.
The output deviceso#CN
and
#LP
can
be
used
as
the
destination
device
in
the
diskette-to-device
copy
mode.
However, the presence of the "N" option on the
command
line
when copying to these devices has no effect.
The
#CN
and
#LP
devices are not
"rile"
devices since
no
FDR
could
ever
be
read
from
them.
Thus,
the
COpy
command
wi 11
automatically
force the non-file format mode to be
in
effect
and
suppress
the writing of the
FDR.
Some
output
devices
cannot
support
eight-bit
binar~
data.
In such instancesl the
"e"
option must
be
used
when
Page
07-03

Advertisement

loading

This manual is also suitable for:

Exordisk iii