Interaction With The I/O Rom; Hierarchical File Structure - HP 82718A Expansion Pod Reference Manual

For use with the hp-75
Hide thumbs Also See for HP 82718A Expansion Pod:
Table of Contents

Advertisement

t
Software Usage and Examples
Since the reset occurred without your intervention, you are warned about the initialization with
EF.:F.:OF.::
::·::t'1Et'1
I
t·~
I T I AL I
ZEd.
When the electronic disc is initialized, all files are erased, and the
root directory····· is created.
>=:CAT$
([1)
returns the catalog for ..... and shows the time and date that the
electronic disc was last initialized.
Interaction With the 1/0 ROM
The HP 00075-15001 I/O ROM includes an extension of the HP-75
CALL
statement that allows you to
specify a list of parameters to be passed, and a device code specifying where the called file resides. For
example, if you have an HP-IL mass storage device assigned the name
t'11,
CALL " filename:
t'11
II
will
copy that file into HP-75 main memory and call it. When the I/O ROM is plugged into an HP-75
installed in the HP 82718A, the electronic disc software extends the I/o ROM's
CALL
statement to
include files on the electronic disc.
If you use
::·::t'1Et'1
as the device code (i.e.,
CALL
"filename:
::·::t-1Et'1"),
the program file on the electronic disc will be copied into main memory and
called.
CAL L
only works with filenames, not pathnames-the entire electronic disc will be searched to
find the specified file.
The
CfHH
and
CLEAF.: ti:::;::; I
c;t·~#
commands provided by the I/O ROM will also work for electronic
disc files, but the other 13 file manipulation commands will not. flD',iFitK:E.#,
[I[LEHJ:i:,
nmE::<=lt,
Hl::;EPT#,
L..A::;n.JP, L..
UlELEt'l#,
F'P
un
: j : 1 :
1..1::;
I
t··IC, F.:E.PLHC:[j:!=, :::;[:HF::CH#,
and
::::;FE.Kt~
all
report
EF.:F.:OF.::
i
nl.}.=:t
1
i
d
f i
1
espec for electronic disc files. F
I
L.E:t returns the name of an
electronic disc file underlined, and
L I t·lE.#
returns a negative line number, unless a file of the same name
exists in HP-7 5 main memory.
I TEt'1#
always returns 1 for an electronic disc file.
Hierarchical File Structure
The electronic disc software gives you the option of creating a hierarchical file structure on the disc. This
allows you to organize your files into logical groups. For example, all your BASIC programs can be
organized under a single directory. You could create a directory for all text files, or one directory for
memos and another for files containing collected inventory data. Or you might want all programs and
data relating to inventory under a single directory.
Any file can be accessed by name only or by
specifying the directory it is in.
Here is an example of how a series of files and directories might be organized on the electronic disc. For
clarity, directories are distinguished from individual files in the diagram by lowercase letters. The level of
each file or directory within the hierarchy is shown along the left edge of the diagram.
leve 1 0 (root)
leve
1 1
lexfi les
/
reports
~
level 2
PMSCMDS
barcode
CONFIG
datacomm
phone
EXPENSES
/
~
\
level 3
SCANNER
hp3000
TERMINAL
DIALER
~
leve 1 4
DOWNLOAD
UPLOAD
51

Advertisement

Table of Contents
loading

Table of Contents