summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m68000/m68kcpu.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-05-25 23:13:36 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-05-25 23:13:36 +0000
commit8581fc7b286d8569a03de26b60a141ff31a9085a (patch)
tree1f2465a8ae1b93056cc733bc1dac962891d02d0b /src/emu/cpu/m68000/m68kcpu.h
parentfdc4f315c3236bb93288a2d712c7c4c80049d447 (diff)
CPUs actually take some time to reset. Changed the 68000/68010 to
eat an appropriate number of cycles after a reset.
Diffstat (limited to 'src/emu/cpu/m68000/m68kcpu.h')
-rw-r--r--src/emu/cpu/m68000/m68kcpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/cpu/m68000/m68kcpu.h b/src/emu/cpu/m68000/m68kcpu.h
index 6431aa163bf..fa3d543c95e 100644
--- a/src/emu/cpu/m68000/m68kcpu.h
+++ b/src/emu/cpu/m68000/m68kcpu.h
@@ -48,6 +48,7 @@ typedef struct _m68ki_cpu_core m68ki_cpu_core;
/* ======================================================================== */
/* Exception Vectors handled by emulation */
+#define EXCEPTION_RESET 0
#define EXCEPTION_BUS_ERROR 2 /* This one is not emulated! */
#define EXCEPTION_ADDRESS_ERROR 3 /* This one is partially emulated (doesn't stack a proper frame yet) */
#define EXCEPTION_ILLEGAL_INSTRUCTION 4
@@ -563,6 +564,7 @@ struct _m68ki_cpu_core
int initial_cycles;
int remaining_cycles; /* Number of clocks remaining */
+ int reset_cycles;
UINT32 tracing;
jmp_buf aerr_trap;