diff options
Diffstat (limited to 'src/devices/bus/nes/multigame.h')
-rw-r--r-- | src/devices/bus/nes/multigame.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/devices/bus/nes/multigame.h b/src/devices/bus/nes/multigame.h index 6dfbed4ee7e..c9c6f639cf3 100644 --- a/src/devices/bus/nes/multigame.h +++ b/src/devices/bus/nes/multigame.h @@ -116,6 +116,27 @@ private: }; +// ======================> nes_farid_unrom_device + +class nes_farid_unrom_device : public nes_nrom_device +{ +public: + // construction/destruction + nes_farid_unrom_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 pcb_reset() override; + +protected: + // device-level overrides + virtual void device_start() override; + +private: + u8 m_reg; +}; + + // ======================> nes_kn42_device class nes_kn42_device : public nes_nrom_device @@ -1129,6 +1150,7 @@ DECLARE_DEVICE_TYPE(NES_CALTRON6IN1, nes_caltron6in1_device) DECLARE_DEVICE_TYPE(NES_CALTRON9IN1, nes_caltron9in1_device) DECLARE_DEVICE_TYPE(NES_RUMBLESTATION, nes_rumblestat_device) DECLARE_DEVICE_TYPE(NES_SVISION16, nes_svision16_device) +DECLARE_DEVICE_TYPE(NES_FARID_UNROM, nes_farid_unrom_device) DECLARE_DEVICE_TYPE(NES_KN42, nes_kn42_device) DECLARE_DEVICE_TYPE(NES_N625092, nes_n625092_device) DECLARE_DEVICE_TYPE(NES_A65AS, nes_a65as_device) |