To Interpret Keyboard Reads As Eof; To Redirect I/O - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

To interpret keyboard reads as EOF

• Using the command line, enter:
Debugger Execution IO_System Keyboard_EOF
This causes the debugger to interpret any further keyboard reads as being at
the end of file.
In cooked mode, pressing < Ctrl> -D is equivalent to entering the Debugger
Execution IO_System Keyboard_EOF command.

To redirect I/O

To redirect the three I/O streams and to reset your program to the startup
address, perform the following steps.
1 Redirect the three I/O streams by changing the translation names for the stdio
streams. Using the command line, enter:
Debugger Execution IO_System Stdio_Redirect
<"stdin_name","stdout_name","stderr_name">
Enter the new names for standard input, standard output, and standard error;
then, press the < Return> key.
2 Reset the program counter to the startup address. Select Execution→Set PC to
Transfer. Or, using the command line, enter:
Program Pc_Reset
When the target program starts execution from the normal compiler startup
address, the standard C startup libraries open the following three I/O streams:
stdin
stdout
Chapter 4: Viewing Code and Data
Using Simulated I/O
169

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents