diff options
author | Michael Pavone <pavone@retrodev.com> | 2019-02-10 11:58:23 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2019-02-10 11:58:23 -0800 |
commit | 1b23425efd7606bf6cd509861d9b2d60e033e962 (patch) | |
tree | e46744c08ca261f8e98aaa0d4cd109826d391f63 /genesis.h | |
parent | a983bd12fa7e47b00d2cc2e8f7cb7dcdfbf26cdf (diff) |
Initial attempt at interrupts in new Z80 core and integrating it into main executable
Diffstat (limited to 'genesis.h')
-rw-r--r-- | genesis.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -9,7 +9,11 @@ #include <stdint.h> #include "system.h" #include "m68k_core.h" +#ifdef NEW_CORE +#include "z80.h" +#else #include "z80_to_x86.h" +#endif #include "ym2612.h" #include "vdp.h" #include "psg.h" @@ -55,6 +59,7 @@ struct genesis_context { uint8_t version_reg; uint8_t bus_busy; uint8_t reset_requested; + uint8_t z80_bank_reg; eeprom_state eeprom; nor_state nor; }; |