Mercurial > repos > blastem
comparison genesis.h @ 2054:8ee7ecbf3f21 segacd
Implement enough of Sega CD gate array and Sub CPU to pass Sik's Mode 1 test ROM
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 18 Jan 2022 00:03:50 -0800 |
parents | 3414a4423de1 |
children | 408fb8a7e990 |
comparison
equal
deleted
inserted
replaced
2053:3414a4423de1 | 2054:8ee7ecbf3f21 |
---|---|
79 }; | 79 }; |
80 | 80 |
81 #define RAM_WORDS 32 * 1024 | 81 #define RAM_WORDS 32 * 1024 |
82 #define Z80_RAM_BYTES 8 * 1024 | 82 #define Z80_RAM_BYTES 8 * 1024 |
83 | 83 |
84 m68k_context * sync_components(m68k_context *context, uint32_t address); | |
85 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); |
86 genesis_context *alloc_config_genesis_cdboot(system_media *media, 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); |
87 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); |
88 void genesis_deserialize(deserialize_buffer *buf, genesis_context *gen); | 87 void genesis_deserialize(deserialize_buffer *buf, genesis_context *gen); |
89 | 88 |