Disk Basic Functions - Epson TF-20 Reference Manual

Hx-20 disk basic
Hide thumbs Also See for TF-20:
Table of Contents

Advertisement

SYSGEN
To create a new system disk.
SYSGEN
SYSGEN
Before executing the SYSGEN statement, first place the
source system disk in drive A and the disk which you wish to
make into the new system disk in drive B. The HX-20 will
confirm by asking "Are you sure?" At this point, if you wish
to execute the statement, input "Y" from the keyboard, and
if you wish to cancel execution, input "N". As the SYSGEN
statement copies only the system area and files whose file
type is "SYS", it has no effect on other files in the disk. This
makes it possible to change a non-system disk into a system
disk. If your version of disk BASIC has changed, you can
upgrade the earlier system disk by copying the new system
disk onto it.
To make disks that were used with another system into
system disks, execute a FRMAT statement before executing
the SYSGEN statement. If the disk set in drive B is different
from the disk previously set in drive B, a "Disk write
protected" error will occur if you do not execute a RESET
statement after setting the new disk. If the disk set in drive A
is not a system disk, an NE error will occur. Also, if the disk
set in drive B does not have enough disk or directory space
to copy the program file, a "Directory full" or "Disk full" error
will occur.
4-30

4.5 Disk BASIC Functions

CVI, CVS, CVD
To convert string data back to numeric data.
<2-byte string>
CVS <4-byte string>
CVD <8-byte string>
CVI (A$)
CVS (B$)
CVD (C$)
Those functions reconvert numeric data converted to string by MKI$, MKS$
string into a single precision number and CVD
c o n v e r t s an 8-byte string into a double precision number.
If the length of the string is less than that required for each
function. an FC error will occur. If the length of the string is
greater than that required, only the necessary length will be taken from th
MKI$, MKS$, MKD$.)

Advertisement

Table of Contents
loading

Table of Contents