To Set The Keyboard I/O Mode To Raw; To Control Blocking Of Reads - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Chapter 4: Viewing Code and Data
Using Simulated I/O

To set the keyboard I/O mode to raw

• Using the command line, enter:
Debugger Execution IO_System Mode Raw
In the Raw mode, each character you type is sent directly to the target
program that is reading from the keyboard. Characters are not echoed as they
are typed. Any input editing, such as backspace, must be handled by the target
program. The only special character that cannot be sent to the target program
is < Ctrl> -C which is used to interrupt the debugger's execution of the
program.
See also
"To set the keyboard I/O mode to cooked"

To control blocking of reads

• Set the O_NDEL AY flag in the startup() routine.
The flag O_NDEL AY is passed to the function open() to control whether or
not reads from the keyboard will block waiting for characters. This flag can
only be set when opening the stream; it may not be changed after the file
stream is open. This flag can be set in the compiler-supplied routine startup().
This routine opens streams stdin, stdout, and stderr.
See also
The chapter titled "Environment Dependent Routines" in the Motorola 68000
Family C Cross Compiler User's Guide manual.
168

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents