User`s guide

3 BDOS Calls: Function 6 CP/M 3 Programmer's Guide
Table 3-1. Function 6 Entry Parameters
Register
E value Meaning
OFFH Console input/status command returns an input character; if no
character is ready, a value of zero is returned.
OFEH Console status command (On return, register A contains 00 if no
character is ready; otherwise it contains FFH.)
OFDH Console input command, returns an input character; this func-
tion will suspend the calling process until a character is ready.
ASCII Function 6 assumes that register E contains a valid ASCII char-
character acter and sends it to the console.
3-8
BDOS Function Calls CP/M 3 Programmers Guide