APPENDIX D
CONVERTING FILES TO RIO FORMAT
Files which have been created by MCZ or ZDS 2.1 System
software (hereafter reference is made only to OS 2.1) are
not compatible with RIO format.
File conversion can be
effected in two ways:
a series of RIO commands can convert
one or more files, or a Zilog utility program can be used
which converts all files on a given diskette.
In either
case, the conversion is non-destructive, that is, the
converted file always resides on a second disk, leaving the
OS 2.1 type disk unaffected.
To manually convert one or more files to RIO format, enter
the following command sequence:
%ACTIVATE $ZDOSI
%COPY,
;Activates the
as
2.1 ZDOS emulator
;Load, but do not execute, COpy
At this point, the diskette containing the file or files
to be converted is inserted in one drive and the formatted
RIO diskette on which the converted file is to reside is
inserted in another.
For this example, drive 2 has the RIO
diskette, and drive 0 has the OS 2.1 type diskette.
%I;I $ZDOSI
;Initialize the disk allocation maps
%XEQ
*
$ZDOSI:O/TEMP.S 2/TEMP.S
The above two commands may be repeated as necessary.
The
INITIALIZE command need be executed only when the diskettes
are changed.
The last command causes execution of the last
loaded file, which in this case is COPY.
(If a formatted
RIO disk was in drive 0 with the COpy command on it, the
user can alternatively enter 'COPY •• !.)
The first
parameter is the source file name; note that it will always
be qualified with '$ZDOSI' indicating that the
as
2.1 ZDOS
emulator (ZDOSI) is the device on which the file exists.
The second parameter is the destination file name, which
,
does not have to be the same as the source file name; it may
0-1
Need help?
Do you have a question about the Z80-RIO and is the answer not in the manual?
Questions and answers