HP 64751 User Manual page 144

Graphical user interface
Table of Contents

Advertisement

Chapter 5: Configuring the Emulator
Mapping Memory
Examples
This example shows how to use the cs0 memory map attribute to emulate the
68340's global chip select operation.
To map the boot ROM address range in emulation memory, access the
configuration questions, and answer the questions as shown below.
Entering the following mapper commands. Specify unmapped ranges as guarded
memory to show that the fetches of the supervisor stack pointer and program
counter values after reset really come from the boot ROM address range.
80000h thru 8ffffh emulation rom cs0 <RETURN>
default guarded <RETURN>
To modify the emulator configuration registers so appropriate information is sent to
the analyzer:
modify register CF_SIM CF_MBAR to 100001h <RETURN>
modify register CF_SIM CF_CS0ADDR to 80001h <RETURN>
modify register CF_SIM CF_CS0MASK to 0fffdh <RETURN>
To load the supervisor stack pointer and program counter values that will be
fetched from the boot ROM after reset:
modify memory 80000h long to 0 , 81000h <RETURN>
To load the boot ROM program into emulation memory (NOP, NOP, BRA.B
81000H):
modify memory 81000h words to 4e71h , 4e71h, 60fah
<RETURN>
To trace execution after reset:
trace <RETURN>
144
Modify memory configuration? yes
Configuration file name? boot_cfg

Advertisement

Table of Contents
loading

This manual is also suitable for:

6834064704

Table of Contents