comparison m68k_core.h @ 996:784bc1e45e80

Fix 68K interrupt handling some more. Fatal Rewind is working again.
author Michael Pavone <pavone@retrodev.com>
date Sat, 30 Apr 2016 09:45:53 -0700
parents d70000fdff0b
children 2ec5e6eaf81d
comparison
equal deleted inserted replaced
995:2bc27415565b 996:784bc1e45e80
15 #define NATIVE_MAP_CHUNKS (64*1024) 15 #define NATIVE_MAP_CHUNKS (64*1024)
16 #define NATIVE_CHUNK_SIZE ((16 * 1024 * 1024 / NATIVE_MAP_CHUNKS)) 16 #define NATIVE_CHUNK_SIZE ((16 * 1024 * 1024 / NATIVE_MAP_CHUNKS))
17 #define MAX_NATIVE_SIZE 255 17 #define MAX_NATIVE_SIZE 255
18 18
19 #define M68K_OPT_BROKEN_READ_MODIFY 1 19 #define M68K_OPT_BROKEN_READ_MODIFY 1
20
21 #define INT_PENDING_SR_CHANGE 8
20 22
21 typedef void (*start_fun)(uint8_t * addr, void * context); 23 typedef void (*start_fun)(uint8_t * addr, void * context);
22 24
23 typedef struct { 25 typedef struct {
24 cpu_options gen; 26 cpu_options gen;