Mercurial > repos > blastem
comparison genesis.h @ 1931:374a5ae694e8 mame_interp
Merge from default
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 18 Apr 2020 11:42:53 -0700 |
parents | 0a26f3657295 b021ca0bc375 |
children | a7b753e260a2 |
comparison
equal
deleted
inserted
replaced
1843:13abdc98379e | 1931:374a5ae694e8 |
---|---|
7 #define GENESIS_H_ | 7 #define GENESIS_H_ |
8 | 8 |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 #include "system.h" | 10 #include "system.h" |
11 #include "m68k_core.h" | 11 #include "m68k_core.h" |
12 #ifdef USE_NATIVE | 12 #ifndef NEW_CORE |
13 #include "z80_to_x86.h" | 13 #include "z80_to_x86.h" |
14 #else | 14 #else |
15 #include "z80.h" | 15 #include "z80.h" |
16 #endif | 16 #endif |
17 #include "ym2612.h" | 17 #include "ym2612.h" |
51 uint32_t int_latency_prev1; | 51 uint32_t int_latency_prev1; |
52 uint32_t int_latency_prev2; | 52 uint32_t int_latency_prev2; |
53 uint32_t reset_cycle; | 53 uint32_t reset_cycle; |
54 uint8_t bank_regs[8]; | 54 uint8_t bank_regs[8]; |
55 uint16_t z80_bank_reg; | 55 uint16_t z80_bank_reg; |
56 uint16_t tmss_lock[2]; | |
56 uint16_t mapper_start_index; | 57 uint16_t mapper_start_index; |
57 uint8_t mapper_type; | 58 uint8_t mapper_type; |
58 uint8_t save_type; | 59 uint8_t save_type; |
59 sega_io io; | 60 sega_io io; |
60 uint8_t version_reg; | 61 uint8_t version_reg; |
61 uint8_t bus_busy; | 62 uint8_t bus_busy; |
62 uint8_t reset_requested; | 63 uint8_t reset_requested; |
64 uint8_t tmss; | |
63 eeprom_state eeprom; | 65 eeprom_state eeprom; |
64 nor_state nor; | 66 nor_state nor; |
65 }; | 67 }; |
66 | 68 |
67 #define RAM_WORDS 32 * 1024 | 69 #define RAM_WORDS 32 * 1024 |