User`s guide

BDOS FUNCTION 109: GET/SET CONSOLE MODE
Entry Parameters:
Registers C: 6DH
DE: OFFFFH (Get) or Console Mode (Set)
Returned Value:
Register HL: Console Mode or (no value)
A program can set or interrogate the Console Mode by calling Function 109. If
register pair DE = OFFFFH, then the current Console Mode is returned in register
HL. Otherwise, Function 109 sets the Console Mode to the value contained in regis-
ter pair DE.
The Console Mode is a 16-bit system parameter that determines the action of
certain BDOS Console I/O functions. The definition of the Console Mode is:
bit 0 = 1 - CTRL-C only status for Function 1 1.
= 0 - Normal status for Function 1 1.
bit 1 = 1- Disable stop scroll, CTRL-S, start scroll, CTRL-Q, support.
= 0-Enable stop scroll, start scroll support.
bit 2 = 1- Raw console output mode. Disables tab expansion for Functions 2,
9 and 111. Also disables printer echo, CTIRL-P, support.
= 0 - Normal console output mode.
bit 3 = 1 - Disable CTRL-C program termination
= 0 - Enable CTRL-C program termination
3-91
BDOS Function Calls CP/M 3 Programmers Guide