Mercurial > repos > blastem
comparison genesis.h @ 1907:b021ca0bc375
Some partial work on TMSS registers, more accurate open bus locations and implement machine freezes for unmapped areas in the IO region
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 25 Mar 2020 22:59:59 -0700 |
parents | bb4d19c7c047 |
children | 374a5ae694e8 c3c62dbf1ceb |
comparison
equal
deleted
inserted
replaced
1906:2d462aa78349 | 1907:b021ca0bc375 |
---|---|
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 |