Basic Disk Operating System (BDOS) Functions
4-12
NOTE
Although
CP/M-86
supports
up
to
16
logical
drives, labelled A
through
P, the
APC
is cur-
rently configured for
up
to
only
four
diskette
drives, A
through
D
and
up
to
four
hard
disk
drives, E
through
H.
This must be
taken
into
account
throughout
this manual for all refer-
ences up
to
16
disk drives.
BDOS
FILE
PROCESSING
ERRORS
There are three
error
situations
that
the BDOS may encounter during file process-
ing initiated as a result
of
a
BDOS
file
1/0
function call.
When
one
of
these
conditions is detected, the BDOS issues the following message
to
the console.
BDOS
ERR
ON
x: error
where
x is the
name
of
the drive selected when the
error
condition was detected
and
error
is
one
of
the following three messages.
BAD
SECTOR
SELECT
RIO
These
error
situations are
trapped
by the BDOS, temporarily halting the transient
program
when the
error
is
detected.
No
indication
of
the
error
situation
is
returned
to
the transient program.
The
"BAD
SECTOR"
error
is issued as the result
of
an
error
condition returned
to
the BDOS from the BIOS module. The BDOS makes BIOS sector read
and
write
commands
as
part
of
the execution
of
BDOS file-related system calls.
If
the BIOS
read
or
write routine detects a
hardware
error, it returns
an
error
code
to
the
BDOS
resulting in this
error
message.
The
operator
may
respond
to
this
error
in two ways:
•
CONTROL-C
terminates the executing program.
•
RETURN
instructs
CP
1M
-86
to
ignore the
error
and
allow the
program
to
continue execution.