HP 64746 User Manual page 165

Emulation/analysis
Table of Contents

Advertisement

If You Need Interrupts Serviced While Running in the Monitor
By default, the foreground monitor leaves the Interrupt Mask of the 68302 at 7 after
a "break" into the monitor. If you wish to have any interrupts other than level 7
interrupts serviced while the monitor is running, you must modify the monitor
source code. The monitor source has the following instructions commented out:
;
MOVE.W
;
OR
;
MOVE.W
;
AND
;
MOVE.W
Simply uncomment the instructions shown above, reassemble and relink the
monitor, then reload your configuration.
Note that the monitor is not re-entrant. This means that you should be careful not
to cause a "break" into the monitor at a time when your program may have
interrupted the monitor. An example of this would be a case where you set a
breakpoint inside one of your interrupt service routines, and that interrupt service
routine gets called as a result of an interrupt to the monitor program.
Chapter 5: Plugging into a Target System
Configuring the Emulator for In-Circuit Operation
PSTAT,D0
#0F8FFH,D0
SR,D1
D1,D0
D0,SR
165

Advertisement

Table of Contents
loading

This manual is also suitable for:

68302

Table of Contents