Disk Basic Syntax - Epson TF-20 Reference Manual

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

Advertisement

(2) Problems in booting
If, instead of Disk BASIC, you find that you have activated the ROM BASIC
of the HX-20 (that is, if the display is the same as is always displayed when
you start up the HX-20), or if the message "CANNOT LOAD" is displayed,
the source of the trouble could be any one of the following
(a) A non-system disk has been set in drive A
(b) The HX-20 and the TF-20 are not properly connected
(c) There is a malfunction in the TF-20
If the message "OUT OF MEMORY" is displayed and ROM BASIC is
initialized, this means that there are too many BASIC programs and/or
RAM files stored in the RAM and there is no area left to load Disk BASIC
NOTE:
To start up BASIC in the HX-20 in order to boot Disk BASIC, any of the
methods normally used to start up BASIC is fine You can press the [2] key
to select BASIC from the menu, or you can select one of the BASIC
programs from the menu You can even use the Monitor K command to
enter BASIC directly when power is applied Disk BASIC can be loaded
correctly regardless of the method used to start BASIC.
4-4
4.3 DiskBAS' Syntax
File descriptor
File descriptors for disks are expressed in the following format.
"[<device name>:] [<filename>]"
(a) Device name
In Disk BASIC, in addition to the device names that could be used in ROM
BASIC, you can now use device names "A ", "B ", "C." and "D " to
specify the disk
TF-20 (1) Left-hand drive
"A " (default device)
Right-hand drive
"B "
TF-20 (2) Left-hand drive
"C "
Right-hand drive
"D "
In Disk BASIC, the default device is always drive A The only exceptions
are FRMAT and LOAD? The default device for FRMAT is "B " and the
function of the LOAD? command remains unchanged from ROM BASIC,
either "CASO " or "CAS1 " will be selected
(b) Filename
Filenames in Disk BASIC are expressed in the following format
<filename> [.<file type>]
As in ROM BASIC, <filename> is a string with a maximum length of 8
characters composed of any of the characters with character codes in the
range 1 to 254 with the exceptions of period [ ], colon [ ], parentheses [()]
and question mark [?]
<file type> when used for any device other than the disk is a string of up
to three characters composed of the same character set that can be used
in the specification of the filename However, if the specified device is one
of the disk drives, character codes in which the value of the MSB is 1
cannot be used in the <file type> If such a character is used, the MSB will
be changed to 0
4-5

Advertisement

Table of Contents
loading

Table of Contents