To Check Resource Usage; To Increase I/O File Resources - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

To check resource usage

• Using the command line, enter:
Debugger Execution IO_System Report
The command displays the simulated I/O status, keyboard mode, and the
translation names used for stdin, stdout, and stderr.
The SIMIO system has the following default resource limitations:
40 open files
4 subprocesses

To increase I/O file resources

1 Change to directory /usr/hp64000/include, then change to the appropriate
subdirectory for your processor. @ACT STEP = Change the value of macro
FOPEN_MAX from 12 to the new maximum number of open files (the limit is
40) in file stdio.h.
2 Change to the appropriate environment directory under /usr/hp64000/env/,
then change to the src subdirectory.
3 Recompile file startup.c. For example, for a 68000-family processor, type:
cc68k -p 68000 -Ouc startup.c
4 Add startup.o to the environment library using the command:
ar68k -r startup ../env.a
You can increase the simulated I/O file limit by modifying the startup code for
your compiler. The code must be modified from the UNIX shell. The
maximum number of open SIMIO files descriptors can be increased to 40.
Chapter 4: Viewing Code and Data
Using Simulated I/O
171

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents