summaryrefslogtreecommitdiff
path: root/sega_mapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'sega_mapper.h')
-rw-r--r--sega_mapper.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sega_mapper.h b/sega_mapper.h
new file mode 100644
index 0000000..f18c285
--- /dev/null
+++ b/sega_mapper.h
@@ -0,0 +1,11 @@
+#ifndef SEGA_MAPPER_H_
+#define SEGA_MAPPER_H_
+
+uint16_t read_sram_w(uint32_t address, m68k_context * context);
+uint8_t read_sram_b(uint32_t address, m68k_context * context);
+m68k_context * write_sram_area_w(uint32_t address, m68k_context * context, uint16_t value);
+m68k_context * write_sram_area_b(uint32_t address, m68k_context * context, uint8_t value);
+m68k_context * write_bank_reg_w(uint32_t address, m68k_context * context, uint16_t value);
+m68k_context * write_bank_reg_b(uint32_t address, m68k_context * context, uint8_t value);
+
+#endif //SEGA_MAPPER_H_