comparison m68k_core.h @ 846:98d7b6073163

Implement interrupt latency. Fixes Sesame Street: Counting Cafe and gives accurate results in my test ROM
author Michael Pavone <pavone@retrodev.com>
date Sat, 31 Oct 2015 22:17:50 -0700
parents f2cd380adebe
children 7022ba865cfd
comparison
equal deleted inserted replaced
845:3a18b5f63afc 846:98d7b6073163
57 uint32_t sync_cycle; 57 uint32_t sync_cycle;
58 uint32_t int_cycle; 58 uint32_t int_cycle;
59 uint32_t int_num; 59 uint32_t int_num;
60 uint16_t *mem_pointers[NUM_MEM_AREAS]; 60 uint16_t *mem_pointers[NUM_MEM_AREAS];
61 void *video_context; 61 void *video_context;
62 uint16_t reserved;
63 62
64 native_map_slot *native_code_map; 63 native_map_slot *native_code_map;
65 m68k_options *options; 64 m68k_options *options;
66 void *system; 65 void *system;
66 uint8_t int_pending;
67 uint8_t ram_code_flags[]; 67 uint8_t ram_code_flags[];
68 } m68k_context; 68 } m68k_context;
69 69
70 void translate_m68k(m68k_options * opts, struct m68kinst * inst); 70 void translate_m68k(m68k_options * opts, struct m68kinst * inst);
71 void translate_m68k_stream(uint32_t address, m68k_context * context); 71 void translate_m68k_stream(uint32_t address, m68k_context * context);