diff options
author | 0kmg <9137159+0kmg@users.noreply.github.com> | 2021-09-12 15:59:06 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-12 19:59:06 -0400 |
commit | e6f4eef8d9c053289e80914b489c9e4d45090b85 (patch) | |
tree | 045bdb1c70a2baa5ef5d9ba42b42ba76ac81d2d7 /src/devices/bus/nes/mmc3_clones.h | |
parent | 269d4731fc11cc485713eb116a07f1972e94962c (diff) |
bus/nes: Added support for Blood of Jurassic and Super Hang-On. (#8502)
Also, removed "fixed" set shangonah now that shangona is working (the latter should have been marked not supported).
Software list items promoted to working (nes.xml)
---------------------------------------
Blood of Jurassic (GD-98) [NewRisingSun]
Diffstat (limited to 'src/devices/bus/nes/mmc3_clones.h')
-rw-r--r-- | src/devices/bus/nes/mmc3_clones.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/devices/bus/nes/mmc3_clones.h b/src/devices/bus/nes/mmc3_clones.h index ffea6cc3448..d402291b84f 100644 --- a/src/devices/bus/nes/mmc3_clones.h +++ b/src/devices/bus/nes/mmc3_clones.h @@ -138,6 +138,28 @@ public: }; +// ======================> nes_158b_device + +class nes_158b_device : public nes_8237_device +{ +public: + // construction/destruction + nes_158b_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + + virtual u8 read_l(offs_t offset) override; + virtual void write_l(offs_t offset, u8 data) override; + + virtual void pcb_reset() override; + +protected: + // device-level overrides + virtual void device_start() override; + +private: + int m_prot; +}; + + // ======================> nes_kasing_device class nes_kasing_device : public nes_txrom_device @@ -912,6 +934,7 @@ DECLARE_DEVICE_TYPE(NES_FAMILY4646, nes_family4646_device) DECLARE_DEVICE_TYPE(NES_PIKAY2K, nes_pikay2k_device) DECLARE_DEVICE_TYPE(NES_8237, nes_8237_device) DECLARE_DEVICE_TYPE(NES_8237A, nes_8237a_device) +DECLARE_DEVICE_TYPE(NES_158B, nes_158b_device) DECLARE_DEVICE_TYPE(NES_SG_LIONK, nes_sglionk_device) DECLARE_DEVICE_TYPE(NES_SG_BOOG, nes_sgboog_device) DECLARE_DEVICE_TYPE(NES_KASING, nes_kasing_device) |