diff options
author | 2009-10-12 02:50:35 +0000 | |
---|---|---|
committer | 2009-10-12 02:50:35 +0000 | |
commit | 17fc4a4a789b876fc079820eca65ccad0c94cda7 (patch) | |
tree | 2e3ff69db747a1b136c7276ae1f64b22fc075133 /src/emu/cpu/m68000/m68kcpu.h | |
parent | acf91ebdf7790251dc6785ec5c79a9c0321080e1 (diff) |
m680x0 update:
- Added working PMMU address translation (not feature complete, but sufficient
to boot several 68030 Macs in MESS)
- Fixed up disassembly of some PMMU instructions
- Added "68020 with 68851" CPU type
Diffstat (limited to 'src/emu/cpu/m68000/m68kcpu.h')
-rw-r--r-- | src/emu/cpu/m68000/m68kcpu.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/emu/cpu/m68000/m68kcpu.h b/src/emu/cpu/m68000/m68kcpu.h index d074569906d..6f8245b937c 100644 --- a/src/emu/cpu/m68000/m68kcpu.h +++ b/src/emu/cpu/m68000/m68kcpu.h @@ -3,7 +3,7 @@ /* ======================================================================== */ /* * MUSASHI - * Version 4.00 + * Version 4.50 * * A portable Motorola M680x0 processor emulation engine. * Copyright Karl Stenerud. All rights reserved. @@ -581,6 +581,7 @@ struct _m68ki_cpu_core UINT32 instr_mode; /* Stores whether we are in instruction mode or group 0/1 exception mode */ UINT32 run_mode; /* Stores whether we are processing a reset, bus error, address error, or something else */ int has_pmmu; /* Indicates if a PMMU available (yes on 030, 040, no on EC030) */ + int pmmu_enabled; /* Indicates if the PMMU is enabled */ /* Clocks required for instructions / exceptions */ UINT32 cyc_bcc_notake_b; @@ -635,6 +636,12 @@ struct _m68ki_cpu_core UINT16 save_sr; UINT8 save_stopped; UINT8 save_halted; + + /* PMMU registers */ + UINT32 mmu_crp_aptr, mmu_crp_limit; + UINT32 mmu_srp_aptr, mmu_srp_limit; + UINT32 mmu_tc; + UINT16 mmu_sr; }; |