beautypg.com

Avery Dennison 6037 Rev. AA 3/04 Programmer Manual User Manual

Page 60

background image

4-18 ROM-DOS Internal Commands

C T T Y ( C h a n g e T e l e T Y p e )

Internal Command

The CTTY command directs input and output to a different device other
than your computer’s standard keyboard and monitor.

Syntax

CTTY device

Remarks

Use CTTY for any situation requiring interaction with an alternate
console.

The CTTY command only affects communication with ROM-DOS and with
programs that work through ROM-DOS for input and output. For
example, BASIC uses standard keyboard input regardless of previous
CTTY command usage.

Example

s

CTTY COM2

Sets the device on COM2 as the input/output device.

CTTY CON

Returns control to the standard keyboard.