comparison sega_mapper.h @ 2052:3748a2a8a4b7

Support Sega mapper without 'SEGA SSF' in header or ROM DB entry and implement a subset of the extended Sega mapper implemented in the Mega Everdrive when 'SEGA SSF' is present
author Michael Pavone <pavone@retrodev.com>
date Sat, 01 Jan 2022 18:54:46 -0800
parents 14a2834d010c
children b9cd3c64652d
comparison
equal deleted inserted replaced
2051:97bfb6089274 2052:3748a2a8a4b7
6 uint8_t read_sram_b(uint32_t address, m68k_context * context); 6 uint8_t read_sram_b(uint32_t address, m68k_context * context);
7 m68k_context * write_sram_area_w(uint32_t address, m68k_context * context, uint16_t value); 7 m68k_context * write_sram_area_w(uint32_t address, m68k_context * context, uint16_t value);
8 m68k_context * write_sram_area_b(uint32_t address, m68k_context * context, uint8_t value); 8 m68k_context * write_sram_area_b(uint32_t address, m68k_context * context, uint8_t value);
9 m68k_context * write_bank_reg_w(uint32_t address, m68k_context * context, uint16_t value); 9 m68k_context * write_bank_reg_w(uint32_t address, m68k_context * context, uint16_t value);
10 m68k_context * write_bank_reg_b(uint32_t address, m68k_context * context, uint8_t value); 10 m68k_context * write_bank_reg_b(uint32_t address, m68k_context * context, uint8_t value);
11 void* write_med_ram0_w(uint32_t address, void *vcontext, uint16_t value);
12 void* write_med_ram1_w(uint32_t address, void *vcontext, uint16_t value);
13 void* write_med_ram2_w(uint32_t address, void *vcontext, uint16_t value);
14 void* write_med_ram3_w(uint32_t address, void *vcontext, uint16_t value);
15 void* write_med_ram4_w(uint32_t address, void *vcontext, uint16_t value);
16 void* write_med_ram5_w(uint32_t address, void *vcontext, uint16_t value);
17 void* write_med_ram6_w(uint32_t address, void *vcontext, uint16_t value);
18 void* write_med_ram7_w(uint32_t address, void *vcontext, uint16_t value);
19 void* write_med_ram0_b(uint32_t address, void *vcontext, uint8_t value);
20 void* write_med_ram1_b(uint32_t address, void *vcontext, uint8_t value);
21 void* write_med_ram2_b(uint32_t address, void *vcontext, uint8_t value);
22 void* write_med_ram3_b(uint32_t address, void *vcontext, uint8_t value);
23 void* write_med_ram4_b(uint32_t address, void *vcontext, uint8_t value);
24 void* write_med_ram5_b(uint32_t address, void *vcontext, uint8_t value);
25 void* write_med_ram6_b(uint32_t address, void *vcontext, uint8_t value);
26 void* write_med_ram7_b(uint32_t address, void *vcontext, uint8_t value);
11 void sega_mapper_serialize(genesis_context *gen, serialize_buffer *buf); 27 void sega_mapper_serialize(genesis_context *gen, serialize_buffer *buf);
12 void sega_mapper_deserialize(deserialize_buffer *buf, genesis_context *gen); 28 void sega_mapper_deserialize(deserialize_buffer *buf, genesis_context *gen);
13 29
14 #endif //SEGA_MAPPER_H_ 30 #endif //SEGA_MAPPER_H_