HP 64751 User Manual page 130

Graphical user interface
Table of Contents

Advertisement

Chapter 5: Configuring the Emulator
Selecting the Emulation Monitor
15 Modify the TRACE exception vector to point to the TRACE_ENTRY symbol in
the monitor program so that you can step through the user program.
Using a custom foreground monitor program is the same as selecting the default
foreground monitor, except that the customized monitor program must be
assembled, linked, and loaded into emulation memory. Also, the "Interrupt priority
level for default foreground monitor?" question is not asked because you can
specify the interrupt priority level in the program.
A custom foreground monitor must be assembled and linked starting at the 4 Kbyte
boundary specified as the monitor's base address. An ORG statement in the
foreground monitor source file defines the base address. Refer to the foreground
monitor source provided with the emulator for more information.
The custom foreground monitor is saved in the emulator (until the monitor type is
changed) and reloaded every time the emulator breaks into the monitor state from
the reset state.
Examples
The following examples of how to set up and use a foreground monitor program
assume the HP 64870 or HP B1464 68000/08/10/20/302
Assembler/Linker/Librarian is installed on the host computer.
To copy the foreground monitor program source file:
$ cp /usr/hp64000/monitor/fm64751.s . <RETURN>
To edit the monitor program source:
$ chmod 644 fm64751.s <RETURN>
$ vi fm64751.s <RETURN>
The monitor will be loaded at 20000H, so the modify ORG statement near the top
of the file to look like this:
ORG 020000H
Notice that the ORG statement is indented from the left margin; if it is not indented,
the assembler will interpret the ORG as a label and will generate an error when
processing the address portion of the statement.
130
* START MONITOR ON 4K BOUNDARY

Advertisement

Table of Contents
loading

This manual is also suitable for:

6834064704

Table of Contents