User`s guide

BDOS FUNCTION 1: CONSOLE INPUT
Entry Parameters:
Register C: 01H
Returned Value:
Register A: ASCII Character
The Console Input function reads the next character from the logical console,
CONIN:, to register A. Graphic characters, along with carriage return, line-feed, and
backspace, CTRL-H, are echoed to the console. Tab characters, CTR-L-1, are expanded
in columns of 8 characters. CTRL-S, CTRL-Q, and CTRL-P are normally intercepted
as described below. All other non-graphic characters are returned in register A but
are not echoed to the console.
When the Console Mode is in the default state (see Section 2.2.1), Function 1
intercepts the stop scroll, CTRL-S, start scroll, CTRL-Q, and start/stop printer echo,
CTRL-P, characters. Any characters that are typed following a CTRL-S and preced-
ing a CTRL-Q are also intercepted. However, if start/stop scroll has been disabled
by the Console Mode, the CTRL-S, CTRL-Q, and CTRL-P characters are not inter-
cepted. Instead, they are returned in register A, but are not echoed to the console.
If printer echo has been invoked, all characters that are echoed to the console are
also sent to the list device, LST:.
Function 1 does not return control to the calling program until a non-intercepted
character is typed, thus suspending execution if a character is not ready.
3-2
BDOS Function Calls CP/M 3 Programmers Guide