summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes/mmc3_clones.h
diff options
context:
space:
mode:
author 0kmg <9137159+0kmg@users.noreply.github.com>2021-09-17 14:07:25 -0800
committer 0kmg <9137159+0kmg@users.noreply.github.com>2021-09-18 00:56:04 -0800
commit3f7fe14addcdca95653a71755ff3025b7221554b (patch)
tree427db42d56745a0263c2bb2ae455a7503b4ff4bb /src/devices/bus/nes/mmc3_clones.h
parent4c9efbc43bff8ce2626397f5443d918265077dd5 (diff)
bus/nes: Added support for two more multicarts.
New working software list additions ----------------------------------- 9 in 1 (Journey to the West) [anonymous] Super 8 in 1 (Supervision menu) [v5100v5100]
Diffstat (limited to 'src/devices/bus/nes/mmc3_clones.h')
-rw-r--r--src/devices/bus/nes/mmc3_clones.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/devices/bus/nes/mmc3_clones.h b/src/devices/bus/nes/mmc3_clones.h
index ce2a01b91eb..ba86ed4ab2d 100644
--- a/src/devices/bus/nes/mmc3_clones.h
+++ b/src/devices/bus/nes/mmc3_clones.h
@@ -811,6 +811,30 @@ public:
};
+// ======================> nes_bmc_00202650_device
+
+class nes_bmc_00202650_device : public nes_txrom_device
+{
+public:
+ // construction/destruction
+ nes_bmc_00202650_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+
+ virtual void write_m(offs_t offset, u8 data) override;
+
+ virtual void pcb_reset() override;
+
+protected:
+ // device-level overrides
+ virtual void device_start() override;
+
+ virtual void set_prg(int prg_base, int prg_mask) override;
+ virtual void set_chr(u8 chr, int chr_base, int chr_mask) override;
+
+private:
+ bool m_mmc3_mode;
+};
+
+
// ======================> nes_bmc_411120c_device
class nes_bmc_411120c_device : public nes_txrom_device
@@ -997,6 +1021,7 @@ DECLARE_DEVICE_TYPE(NES_BMC_F15, nes_bmc_f15_device)
DECLARE_DEVICE_TYPE(NES_BMC_GN45, nes_bmc_gn45_device)
DECLARE_DEVICE_TYPE(NES_BMC_GOLD7IN1, nes_bmc_gold7in1_device)
DECLARE_DEVICE_TYPE(NES_BMC_K3006, nes_bmc_k3006_device)
+DECLARE_DEVICE_TYPE(NES_BMC_00202650, nes_bmc_00202650_device)
DECLARE_DEVICE_TYPE(NES_BMC_411120C, nes_bmc_411120c_device)
DECLARE_DEVICE_TYPE(NES_BMC_820720C, nes_bmc_820720c_device)
DECLARE_DEVICE_TYPE(NES_BMC_830118C, nes_bmc_830118c_device)