Module console-utils - Console application utility routines

Console application utility routines. For console application modules, #INCLUDE "app_if.inc". For statically compiled console applications, #USE "cons_utils".

Index

Declarations

cons_utils.occ:45Process connect.driver.shared.block

PROC connect.driver.shared.block (SHARED CT.KERNEL! to.kernel, CHAN BYTE scr!, BOOL ok, VAL []BYTE my.name, dev.name, RESULT SHARED CT.BLOCK! dev)

Connects to a shared block device.

Parameters:

SHARED CT.KERNEL! to.kernel Link to kernel.
CHAN BYTE scr Screen channel.
BOOL ok Test and set success.
VAL []BYTE my.name Name of application calling this (for reporting).
VAL []BYTE dev.name Name of the device to connect to.
RESULT SHARED CT.BLOCK! dev Returned shared block device connection.

cons_utils.occ:138Process connect.driver.block

PROC connect.driver.block (SHARED CT.KERNEL! to.kernel, CHAN BYTE scr!, BOOL ok, VAL []BYTE my.name, dev.name, RESULT CT.BLOCK! dev)

Connected to an unshared block device.

Parameters:

SHARED CT.KERNEL! to.kernel Link to kernel.
CHAN BYTE scr Screen channel.
BOOL ok Test and set success.
VAL []BYTE my.name Name of application calling this (for reporting).
VAL []BYTE dev.name Name of the device to connect to.
RESULT CT.BLOCK! dev Returned block device connection.

cons_utils.occ:232Process connect.driver.input

PROC connect.driver.input (SHARED CT.KERNEL! to.kernel, CHAN BYTE scr!, BOOL ok, VAL []BYTE my.name, dev.name, RESULT CT.INPUT! dev)

Connected to an unshared input device.

Parameters:

SHARED CT.KERNEL! to.kernel Link to kernel.
CHAN BYTE scr Screen channel.
BOOL ok Test and set success.
VAL []BYTE my.name Name of application calling this (for reporting).
VAL []BYTE dev.name Name of the device to connect to.
RESULT CT.INPUT! dev Returned input device connection.

cons_utils.occ:325Process connect.driver.shared.input

PROC connect.driver.shared.input (SHARED CT.KERNEL! to.kernel, CHAN BYTE scr!, BOOL ok, VAL []BYTE my.name, dev.name, RESULT SHARED CT.INPUT! dev)

Connected to a shared input device.

Parameters:

SHARED CT.KERNEL! to.kernel Link to kernel.
CHAN BYTE scr Screen channel.
BOOL ok Test and set success.
VAL []BYTE my.name Name of application calling this (for reporting).
VAL []BYTE dev.name Name of the device to connect to.
RESULT SHARED CT.INPUT! dev Returned input device connection.

cons_utils.occ:420Process connect.driver.output

PROC connect.driver.output (SHARED CT.KERNEL! to.kernel, CHAN BYTE scr!, BOOL ok, VAL []BYTE my.name, dev.name, RESULT CT.OUTPUT! dev)

Connected to an unshared output device.

Parameters:

SHARED CT.KERNEL! to.kernel Link to kernel.
CHAN BYTE scr Screen channel.
BOOL ok Test and set success.
VAL []BYTE my.name Name of application calling this (for reporting).
VAL []BYTE dev.name Name of the device to connect to.
RESULT CT.OUTPUT! dev Returned output device connection.

cons_utils.occ:513Process connect.driver.shared.output

PROC connect.driver.shared.output (SHARED CT.KERNEL! to.kernel, CHAN BYTE scr!, BOOL ok, VAL []BYTE my.name, dev.name, RESULT SHARED CT.OUTPUT! dev)

Connected to a shared output device.

Parameters:

SHARED CT.KERNEL! to.kernel Link to kernel.
CHAN BYTE scr Screen channel.
BOOL ok Test and set success.
VAL []BYTE my.name Name of application calling this (for reporting).
VAL []BYTE dev.name Name of the device to connect to.
RESULT SHARED CT.OUTPUT! dev Returned output device connection.