Mercurial > repos > blastem
comparison genesis.h @ 2072:cc13c100b027
Merge Sega CD branch now that it sort of works
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 30 Jan 2022 22:29:29 -0800 |
parents | 8ee7ecbf3f21 |
children | 408fb8a7e990 |
comparison
equal
deleted
inserted
replaced
2052:3748a2a8a4b7 | 2072:cc13c100b027 |
---|---|
33 psg_context *psg; | 33 psg_context *psg; |
34 uint16_t *cart; | 34 uint16_t *cart; |
35 uint16_t *lock_on; | 35 uint16_t *lock_on; |
36 uint16_t *work_ram; | 36 uint16_t *work_ram; |
37 uint8_t *zram; | 37 uint8_t *zram; |
38 void *expansion; | |
38 void *extra; | 39 void *extra; |
39 uint8_t *save_storage; | 40 uint8_t *save_storage; |
40 void *mapper_temp; | 41 void *mapper_temp; |
41 eeprom_map *eeprom_map; | 42 eeprom_map *eeprom_map; |
42 write_16_fun tmss_write_16; | 43 write_16_fun tmss_write_16; |
78 }; | 79 }; |
79 | 80 |
80 #define RAM_WORDS 32 * 1024 | 81 #define RAM_WORDS 32 * 1024 |
81 #define Z80_RAM_BYTES 8 * 1024 | 82 #define Z80_RAM_BYTES 8 * 1024 |
82 | 83 |
83 m68k_context * sync_components(m68k_context *context, uint32_t address); | |
84 genesis_context *alloc_config_genesis(void *rom, uint32_t rom_size, void *lock_on, uint32_t lock_on_size, uint32_t system_opts, uint8_t force_region); | 84 genesis_context *alloc_config_genesis(void *rom, uint32_t rom_size, void *lock_on, uint32_t lock_on_size, uint32_t system_opts, uint8_t force_region); |
85 genesis_context *alloc_config_genesis_cdboot(system_media *media, uint32_t system_opts, uint8_t force_region); | |
85 void genesis_serialize(genesis_context *gen, serialize_buffer *buf, uint32_t m68k_pc, uint8_t all); | 86 void genesis_serialize(genesis_context *gen, serialize_buffer *buf, uint32_t m68k_pc, uint8_t all); |
86 void genesis_deserialize(deserialize_buffer *buf, genesis_context *gen); | 87 void genesis_deserialize(deserialize_buffer *buf, genesis_context *gen); |
87 | 88 |
88 #endif //GENESIS_H_ | 89 #endif //GENESIS_H_ |
89 | 90 |