diff m68k_core.h @ 987:1f09994e92c5

Initial stab at implementing address error exceptions. Need to fill in the value of IR, undefined bits of last stack frame word and properly deal with address errors that occur during exception processing.
author Michael Pavone <pavone@retrodev.com>
date Tue, 26 Apr 2016 23:13:37 -0700
parents 751280fb4494
children d70000fdff0b
line wrap: on
line diff
--- a/m68k_core.h	Tue Apr 26 00:07:15 2016 -0700
+++ b/m68k_core.h	Tue Apr 26 23:13:37 2016 -0700
@@ -13,7 +13,7 @@
 
 #define NUM_MEM_AREAS 8
 #define NATIVE_MAP_CHUNKS (64*1024)
-#define NATIVE_CHUNK_SIZE ((16 * 1024 * 1024 / NATIVE_MAP_CHUNKS)/2)
+#define NATIVE_CHUNK_SIZE ((16 * 1024 * 1024 / NATIVE_MAP_CHUNKS))
 #define MAX_NATIVE_SIZE 255
 
 #define M68K_OPT_BROKEN_READ_MODIFY 1
@@ -36,7 +36,6 @@
 	code_ptr        write_32_highfirst;
 	code_ptr        do_sync;
 	code_ptr        trap;
-	code_ptr        odd_address;
 	start_fun       start_context;
 	code_ptr        retrans_stub;
 	code_ptr        native_addr;