comparison genesis.h @ 1503:a763523dadf4 segacd

Added code for initializing a combined Genesis + Sega CD system when a Sega CD ISO is loaded
author Michael Pavone <pavone@retrodev.com>
date Wed, 13 Dec 2017 09:44:41 -0800
parents 2564b6ba2e12
children 5dacaef602a7
comparison
equal deleted inserted replaced
1502:2564b6ba2e12 1503:a763523dadf4
61 #define Z80_RAM_BYTES 8 * 1024 61 #define Z80_RAM_BYTES 8 * 1024
62 62
63 uint16_t read_dma_value(uint32_t address); 63 uint16_t read_dma_value(uint32_t address);
64 m68k_context * sync_components(m68k_context *context, uint32_t address); 64 m68k_context * sync_components(m68k_context *context, uint32_t address);
65 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, rom_info *info_out); 65 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, rom_info *info_out);
66 genesis_context *alloc_config_genesis_cdboot(system_media *media, uint32_t opts, uint8_t force_region, rom_info *info_out);
66 void genesis_serialize(genesis_context *gen, serialize_buffer *buf, uint32_t m68k_pc); 67 void genesis_serialize(genesis_context *gen, serialize_buffer *buf, uint32_t m68k_pc);
67 void genesis_deserialize(deserialize_buffer *buf, genesis_context *gen); 68 void genesis_deserialize(deserialize_buffer *buf, genesis_context *gen);
68 69
69 #endif //GENESIS_H_ 70 #endif //GENESIS_H_
70 71