Text of this page, read by machine (may contain mistakes)
ADAM™ TECHNICAL REFERENCE MANUAL
PRELTMINARY RELEASE CHAPTER 3 SOFTWARE
---------------------""---~..;_;_;_;~;__
4. 1. 1 EOS Overwrite Addresses
Some applications may not require all of the routines pro-
vided by EOS. To accommodate this situation, EOS has three
defined starting locations. Applications should always
access the routines from the defined jump table locations.
Location OD390H is the lowest EOS starting address. File
manager software is located in this part of EOS. If the
application program uses file manager software, the applica-
tion should not overwrite OD390H or above.
Location OEOOOH. If the application does not use the file
manger software, it can overwrite EOS up to ODFFFH. Routines
that access the lower level network device drivers, and the
device drivers for the VDP, controllers and sound generator
are available.
Locations OF400H to OFC30H contain the lowest level device
drivers for AdamNet. The application can extend up to OF3FFH
if it is using OS 7 or its own drivers for the VDP,
controllers and sound generator.
4. 1. 2 EOS Files
The file structure takes advantage of the sequential design
of the data pack. (For more information on tapes and tape
formats, see Chapter 3, Section 5.) A file directory keeps
track of the location of files on tape, and other pertinent
information such as size, creation date, and protection
attributes. Some programs, such as super games, do not
require directories.
Data is stored on tape in blocks of lK (1024 bytes). An EOS
file occupies a number of contiguous blocks, allocated upon
file creation. EOS files can be any number of blocks but;
are limited by the physical storage space available.
Block O is reserved for a cold start loader. Block 1 and up,
depending on the directory size, contain the directory.
The EOS file manager accesses and controls a file through a
File Control Block (FCB) maintained in RAM. The FCB contains
static and dynamic information about the file. The FCB is
created when a file is opened and destroyed when the file is
closed. Application programs are limited to two FCBs at any
one time. Each FCB is 36 bytes long. A data buffer, 1024
bytes long, is associated with each FCB.