diff options
author | 0kmg <9137159+0kmg@users.noreply.github.com> | 2021-09-07 15:57:10 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 19:57:10 -0400 |
commit | 224b59597d16891ccb8db39b6869201bcdaf3cf3 (patch) | |
tree | ed6f9a1a445706ec25dcea559c5b4088e72238cb /src/devices/bus/nes/mmc3_clones.h | |
parent | c4beb694318c5b7e041bafcadd55505430c01ef9 (diff) |
bus/nes: Added support for A88S-1 board and related multicarts. (#8547)
New working software list additions (nes.xml)
-----------------------------------
1997 Super 7 in 1 (JY-201) [MLX]
1997 Super 6 in 1 (JY-202) [MLX]
1997 Super 7 in 1 (JY-203) [MLX]
1997 Super 7 in 1 (JY-204) [MLX]
1997 Super 7 in 1 (JY-205) [MLX]
1997 Super 7 in 1 (JY-206) [MLX]
* C++ is not C, appease the compiler
Diffstat (limited to 'src/devices/bus/nes/mmc3_clones.h')
-rw-r--r-- | src/devices/bus/nes/mmc3_clones.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/devices/bus/nes/mmc3_clones.h b/src/devices/bus/nes/mmc3_clones.h index 034c93a1985..c01770cfd80 100644 --- a/src/devices/bus/nes/mmc3_clones.h +++ b/src/devices/bus/nes/mmc3_clones.h @@ -430,6 +430,29 @@ private: #endif +// ======================> nes_a88s1_device + +class nes_a88s1_device : public nes_txrom_device +{ +public: + // construction/destruction + nes_a88s1_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + + virtual void write_l(offs_t offset, u8 data) override; + virtual void prg_cb(int start, int bank) override; + + virtual void pcb_reset() override; + +protected: + // device-level overrides + virtual void device_start() override; + +private: + void update_banks(); + u8 m_reg[2]; +}; + + // ======================> nes_fcgj8in1_device class nes_fcgj8in1_device : public nes_txrom_device @@ -899,6 +922,7 @@ DECLARE_DEVICE_TYPE(NES_SACHEN_SHERO, nes_sachen_shero_device) DECLARE_DEVICE_TYPE(NES_A9746, nes_a9746_device) #endif +DECLARE_DEVICE_TYPE(NES_A88S1, nes_a88s1_device) DECLARE_DEVICE_TYPE(NES_FCGJ8IN1, nes_fcgj8in1_device) DECLARE_DEVICE_TYPE(NES_FK23C, nes_fk23c_device) DECLARE_DEVICE_TYPE(NES_FK23CA, nes_fk23ca_device) |