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-13 02:30:23 -0800
committer 0kmg <9137159+0kmg@users.noreply.github.com>2021-09-13 18:57:17 -0800
commite37c964756e39aa50dd3d00c6b610a33a0a7fc30 (patch)
treed87c36f47434afbe9fa9e19332fc51b2cc7e470b /src/devices/bus/nes/mmc3_clones.h
parente30ee3c9a20c7d43804c2c69113b8f150b2d118e (diff)
bus/nes: Added support for 820720C and JY820845C multicarts.
New working software list additions (nes.xml) ----------------------------------- 1993 Super HiK 8 in 1 (G-002) [NewRisingSun] 7 in 1 1993 Chess Series (JY-015) [Consolethinks, NewRisingSun]
Diffstat (limited to 'src/devices/bus/nes/mmc3_clones.h')
-rw-r--r--src/devices/bus/nes/mmc3_clones.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/devices/bus/nes/mmc3_clones.h b/src/devices/bus/nes/mmc3_clones.h
index d402291b84f..ce2a01b91eb 100644
--- a/src/devices/bus/nes/mmc3_clones.h
+++ b/src/devices/bus/nes/mmc3_clones.h
@@ -833,6 +833,31 @@ private:
};
+// ======================> nes_bmc_820720c_device
+
+class nes_bmc_820720c_device : public nes_txrom_device
+{
+public:
+ // construction/destruction
+ nes_bmc_820720c_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 write_h(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:
+ u8 m_reg;
+};
+
+
// ======================> nes_bmc_830118c_device
class nes_bmc_830118c_device : public nes_txrom_device
@@ -973,6 +998,7 @@ 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_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)
DECLARE_DEVICE_TYPE(NES_BMC_830832C, nes_bmc_830832c_device)
DECLARE_DEVICE_TYPE(NES_BMC_841101C, nes_bmc_841101c_device)