Error Codes; Hh O/S - Tandy 600 Programmer's Reference Manual

Bios programmers
Hide thumbs Also See for 600:
Table of Contents

Advertisement

Error
Codes
In
general,
HH
O/S
indicates the
success
or
failure
of
an
operation
by
returning
a
status
code
in
AX.
On
return
from
the
function
call,
the
carry
flag
will
be
clear
if
no
error
occurred
and
the
operation
succeeded.
If
the carry
flag
is
set,
then
the operation
failed,
and
the status
code
in
AX
gives the
reason
for
the
failure.
The
list
below
gives the general
meaning
of
each
of
the
defined status codes.
If
any
other
error
code
is
received,
it
should
be
treated
as
a
general
error indication.
The
following error
codes
are returned
by
HH
O/S
functions
calls:
1
Un-implemented
function
2
File
not
found
4
Too
many
open
files
5
File
access denied
6
Invalid
file
handle
8
Out
of
memory
9
Invalid
memory
block
11
Bad
file
format
12
Invalid
access
request
18
No
more
files
20
File
too
big
21
Internal
file
system
error
22
Bad
file
name
23
Exec
failure
24
General
I/O error
25
Bad
application
header
26
File
checksum
error
27
Device
not
found
28
Invalid
time
29
Invalid
date
In
addition
to
those
listed
above,
the following
error
codes
can be
returned
by
the
data
base
functions:
40h
Record
already
opened
41
h
No
opened
record
42h
Record
not
found
43h
Field
not
found
44h
Too
many
fields
45h
No
fields
defined
46h
Uninitialized
data
47h
Bad
field
data
size
48h
Field
already
exists
49h
Bad
sort
key
specified
4Ah
Query
buffer
overflow
error
4Bh
Bad
field
type
specified
4Ch
Too
many
records
4Dh
Record
too
big
4Eh
Invalid
Query
buffer
10

Advertisement

Table of Contents
loading

Table of Contents