2 SEGA SC-3000 Emulator 'eSC-3000'
4 Author : Takeda.Toshiya
14 #include "../../emu.h"
15 #include "../device.h"
17 #define SIG_MEMORY_SEL 0
21 class MEMORY : public DEVICE
25 uint8_t cart[0x20000];
26 uint8_t ipl[0x2000]; // sf7000
41 MEMORY(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
43 set_device_name(_T("Memory Bus"));
49 void __FASTCALL write_data8(uint32_t addr, uint32_t data);
50 uint32_t __FASTCALL read_data8(uint32_t addr);
51 void __FASTCALL write_signal(int id, uint32_t data, uint32_t mask);
52 bool process_state(FILEIO* state_fio, bool loading);
55 void open_cart(const _TCHAR* file_path);
57 bool is_cart_inserted()