EasyManuals Logo

NEC CP/M-86 User Manual

NEC CP/M-86
280 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #35 background imageLoading...
Page #35 background image
Chapter 4
Basic Disk Operating System
(BDOS) Functions
This chapter presents the interface conventions which allow transient
program
access to
CP
1M
-86 BOOS functions. The BOOS calls correspond closely
to
CP
IM-
80
Version 2 in order
to
simplify translation
of
existing CP/M-80 programs for
operation under
CP
IM-86.
BOOS entry
and
exit conditions are described first,
followed by the individual
BOOS function calls.
BDOS
PARAMETERS
Entry to the BOOS
is
accomplished through the 8086 software interrupt #224,
which
is
reserved by Intel Corporation for use by CP/M-86. The function code
is
passed in register CL, with byte parameters in
OL
and
word parameters in ox.
Single byte values are returned in AL, word values in both
AX
and
BX,
and
double-word values in ES
and
BX. All segment registers, except ES, are saved
upon
entry
and
restored
upon
exit from the BOOS (corresponding to
PL/M-86
conven-
tions). Table
4-1
summarizes input
and
output
parameter passing.
Table 4-1
BDOS
Parameter
Summary
BOOS ENTRY REGISTERS
BOOS RETURN REGISTERS
CL
Function Code Byte value returned in AL
DL
Byte Parameter
Word value returned
in
both AX
and
BX
DX
Word
Parameter
Double-word value returned with
DS
Data
Segment offset in
BX
and
segment in
ES
4-1

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NEC CP/M-86 and is the answer not in the manual?

NEC CP/M-86 Specifications

General IconGeneral
BrandNEC
ModelCP/M-86
CategoryDesktop
LanguageEnglish

Related product manuals