X"A7" function 18

Makes console I/O redirectable.

Syntax:

call X"A7" using function-code
                 parameter

Parameters:

  Using call prototype (see Key) Picture
function-code cblt-x1-compx pic x comp-x.
parameter cblt-x1-compx pic x comp-x.

On Entry:

function-code
Value 18
parameter
Action to perform:
0 Disable DOS-style console I/O
1 Enable DOS-style console I/O

On Exit:

None

Comments:

Normally the run-time system uses the BIOS to read the keyboard, and writes direct to the video map for all displays. This routine makes the run-time system use operating system functions instead. This means the operator can use the operating system facilities for re-directing keyboard input and screen output.