NEC CP/M-86 System Reference Manual page 79

Advanced personal computer
Table of Contents

Advertisement

Basic I/O System (BIOS) Functions
CHECK FOR CONSOLE CHARACTER READY
ENTRY
FUNCTION 2
CONST
RETURN
AL: Return Code
This function reads the status of the currently assigned console device and returns
OFFH in register AL if a character is ready to be read, and OOH in register AL if no
console character is ready.
READ CONSOLE CHARACTER IN
ENTRY
FUNCTION 3
CONIN
RETURN
AL: Character
This function reads the next console character into register AL. If no console
character is ready, the function waits until a character is typed before returning.
WRITE CONSOLE CHARACTER OUT
ENTRY
CL: ASCII
Character
FUNCTION 4
CONOUT
RETURN
This function sends the ASCII character in register CL to the console output device.
WRITE LISTING CHARACTER OUT
ENTRY
CL: ASCII
Character
FUNCTION 5
LIST
RETURN
This function sends the ASCII character in register CL to the currently assigned list
device.
5-7

Advertisement

Table of Contents
loading

Table of Contents