System information
FUNCTION 1: CONSOLE INPUT
Entry Parameters:
RegisterC: 01H
Returned Value:
Register A: ASCII Character
The Console Input function reads the next console character to register A. Graphic characters,
along with carriage return, line-feed, and back space (CTRL-H) are echoed to the console. Tab
characters, CTRL-I, move the cursor to the next tab stop. A check is made for start/stop scroll,
CTRL-S, and start/stop printer echo, CTRL-P. The FDOS does not return to the calling program
until a character has been typed, thus suspending execution if a character is not ready.
FUNCTION 2: CONSOLE OUTPUT
Entry Parameters:
Register C: 02H
Register E: ASCII Character
The ASCII character from register E is sent to the console device. As in Function 1, tabs are
expanded and checks are made for start/stop scroll and printer echo.
5.2 Call Conventions CP/M Operating System Manual
5-12