Basic
Disk
Operating System (BDOS) Functions
4-8
SET
I/O
BYTE
ENTRY
CL: 08H
DL:
I/O
Byte
Value
RETURN
FUNCTION
8
SET
I/O
BYTE
The
Set
I/O
Byte function changes the system
10BYTE
value
to
the value given in
register
DL.
This function allows transient
program
access
to
the
10BYTE
in
order
to
modify the
current
assignments for the logical devices CONSOLE,
READER,
PUNCH,
and
LIST.
PRINT
STRING
ENTRY
CL:
09H
NOTE
CBIOS supports this call dynamically for the
LIST
device only (see
Chapter
5). However, it
may be used in programs
that
operate with
standard
CP/M
calls
to
the BIOS.
FUNCTION
9
DX: String
Offset
PRINT
STRING
RETURN
The
Print
String function sends the character string stored in memory
at
the
location addressed by register
DX
to
the logical console device (CONSOLE), until a
"$"
is encountered in the string.
Tabs
are expanded as in function 2,
and
checks are
made for
start/stop
scroll
and
printer echo.
READ
CONSOLE
BUFFER
ENTRY
CL: OAH
DX: Buffer
Offset
FUNCTION
10
READ
CONSOLE
BUFFER
RETURN
Console Characters
in Buffer