teen characters long and in AMDOS for-
mat e.g., A:FILEbbbbEXT.
The response
code is zero if the file was opened, 1
if not found, 2 if a disk error occur-
red, and 3 if the file is already open.
The Sytem 8/8 host must be connected
and its monitor in execution.
Close Di sk Fi
1
e (funct i on code 5) -
Closes a fi
1
e.
The data address and
1
ength are unused. The fi
1
e name ad-
dress points to the address of the file
name, whi ch must be thi rtheen chara-
cters long and in AMDOS fonnat (See
function code 4).
The response code is
zero i f the f i
1
e wa s clos ed , I i f not
found, 2 if a disk error occurred, and
3 if not previously opened or created.
The Sytem 8/8 host must be connected
and its monitor in execution.
re-opened.
The Sytem 8/8 host must be
connected and its monitor in execution.
Wri te Di sk Sector (funct ion code 8) -
Write one disk sector (128 bytes)
Both
the fil e name and record address must
be given.
The data
1
ength i s unused.
The next
sequentioal
sector on the
specified file will be written with the
contents of that data area.
The re-
sponse code is zero if no errors, 1 if
no disk space, 2 if a disk error occur-
red, or 3 if this file was not pre-
viously created.
Attempting to write
to an opened file will also return code
3.
The System 8/8 host must be con-
nected and its monitor in execution.
Download
progra~s
to the Evaluation Board with
the
LOAD
Monitor
command
or
LDPR
Monitor
command, as described later in this section.
Assemble (or assemble and link) AmZ8000 sourc...
code
with
MACRO 8 000
(or
MACRO 8000
and
LINK8000) on AmSYS 8/8.
Store programs by uploading the memory image
from the Evaluation Board to a file on AmSYS
8/8.
The
file
is uploaded with
the
SAVE
Moni tor command and can later be downloaded
again with the LOAD Monitor command.
•
•
The
section
should
be
called-_-ROST
AND
MONITOR
C
D · k F·1
(f
t·
d COMMUNICATION.
reate
1 S
1
e
unc lon co
Create~
a disk file and
prepare~
The capabilities should be listed in a more reasonable
be wrltten.
The data
addre
ord r.
1
ength
are
unused.
The
fi
1
E .
e .
address specifies the address a1
the file name is stored. The fil
must be thirteen characters long
AMDOS fonnat.
The res pon se c
zero if the fi
1
e was created, 1
file space, 2 if a disk error oce
and 3 if the fi
1
e is a
1
ready
0
creat ed •
If apr i
0
r f i
1
e ex i st
will be del eted before the new
•
created.
The Sytem 8/8 host mt
connected and its monitor in exec
Reael Di sk Sector (funct i on code'
7)
-
Reads one disk sector (128 bytes)
Both
the fi
1
e name and record address must
be given.
The data length is returned.
The
next
sequent
i
a
1
sector
on
the
s peci fi ed fil e wi
11
be trans ferred to
t he data area.
The response code is
zero if no errors, 1 if end of file oc-
curred, 2 if a disk error occurred, or
3 if this file was not previously open-
ed or an attempt is made to read a
created file.
If a created file is to
be
read,
it
must
be
closed
and
be
i
liS syscem suppu.
c;:>-a-uvI
I " " V " j
"'
_
HOST, which communicates with the Eval-
uation Board Monitor.
The HOST utility
interfaces
with
AMDOS8
for
service
calls to read the console, print lines,
and process disk requests.
The program is activated like any other
AMDOS8 program:
by typing in its name,
in this case HOST.
It will respond
with the message SYSTEM 8/8 Z8000 HOST
followed by a prompt which consists of
3-10
Need help?
Do you have a question about the Am96/4016 and is the answer not in the manual?
Questions and answers