diff options
author | 0kmg <9137159+0kmg@users.noreply.github.com> | 2021-10-09 16:30:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-09 20:30:11 -0400 |
commit | 3961612bf3fdadb53cdda85b6d283b633350ef1b (patch) | |
tree | 0ee85c843a02ac91dabd2908f809a8b43494b602 /src/devices/bus/nes/mmc3_clones.h | |
parent | bbacd0e7610f81561b51f2d6606accee2059390f (diff) |
bus/nes: Added emulation for Super Mario Family multicart. (#8677)
- Replaced underdumped PRG. [MLX, NewRisingSun]
Software list items promoted to working (nes.xml)
---------------------------------------
Super Mario Family 10 in 1
Diffstat (limited to 'src/devices/bus/nes/mmc3_clones.h')
-rw-r--r-- | src/devices/bus/nes/mmc3_clones.h | 26 |
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 f1d73d146f2..61cfa0d568e 100644 --- a/src/devices/bus/nes/mmc3_clones.h +++ b/src/devices/bus/nes/mmc3_clones.h @@ -884,6 +884,31 @@ private: }; +// ======================> nes_bmc_810305c_device + +class nes_bmc_810305c_device : public nes_txsrom_device +{ +public: + // construction/destruction + nes_bmc_810305c_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + + virtual void write_h(offs_t offset, u8 data) override; + virtual void chr_cb(int start, int bank, int source) 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_outer; +}; + + // ======================> nes_bmc_820720c_device class nes_bmc_820720c_device : public nes_txrom_device @@ -1069,6 +1094,7 @@ DECLARE_DEVICE_TYPE(NES_BMC_K3006, nes_bmc_k3006_device) DECLARE_DEVICE_TYPE(NES_BMC_K3033, nes_bmc_k3033_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_810305C, nes_bmc_810305c_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) |