diff segacd.h @ 2281:b9fed07f19e4

Implement BRAM cart support
author Michael Pavone <pavone@retrodev.com>
date Sun, 08 Jan 2023 23:30:28 -0800
parents 9ead0fe69d9b
children c05b7c5e6f11
line wrap: on
line diff
--- a/segacd.h	Sun Jan 08 14:42:24 2023 -0800
+++ b/segacd.h	Sun Jan 08 23:30:28 2023 -0800
@@ -16,6 +16,7 @@
 	uint16_t        *prog_ram;
 	uint16_t        *word_ram;
 	uint8_t         *bram;
+	uint8_t         *bram_cart;
 	uint32_t        stopwatch_cycle;
 	uint32_t        int2_cycle;
 	uint32_t        graphics_int_cycle;
@@ -47,6 +48,8 @@
 	uint8_t         main_swap_request;
 	uint8_t         bank_toggle;
 	uint8_t         sub_paused_wordram;
+	uint8_t         bram_cart_write_enabled;
+	uint8_t         bram_cart_id;
 	rf5c164         pcm;
 	lc8951          cdc;
 	cdd_mcu         cdd;