summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes/sealie.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/nes/sealie.h')
-rw-r--r--src/devices/bus/nes/sealie.h29
1 files changed, 28 insertions, 1 deletions
diff --git a/src/devices/bus/nes/sealie.h b/src/devices/bus/nes/sealie.h
index f674d558d07..734d69741c6 100644
--- a/src/devices/bus/nes/sealie.h
+++ b/src/devices/bus/nes/sealie.h
@@ -1,5 +1,5 @@
// license:BSD-3-Clause
-// copyright-holders: kmg, Fabio Priuli
+// copyright-holders:kmg
#ifndef MAME_BUS_NES_SEALIE_H
#define MAME_BUS_NES_SEALIE_H
@@ -47,10 +47,37 @@ public:
virtual void write_h(offs_t offset, u8 data) override;
virtual void pcb_reset() override;
+
+protected:
+ // construction/destruction
+ nes_unrom512_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock);
+};
+
+
+// ======================> nes_8bitxmas_device
+
+class nes_8bitxmas_device : public nes_unrom512_device
+{
+public:
+ // construction/destruction
+ nes_8bitxmas_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:
+ void update_led();
+ u8 m_led;
};
// device type definition
+DECLARE_DEVICE_TYPE(NES_8BITXMAS, nes_8bitxmas_device)
DECLARE_DEVICE_TYPE(NES_CUFROM, nes_cufrom_device)
DECLARE_DEVICE_TYPE(NES_DPCMCART, nes_dpcmcart_device)
DECLARE_DEVICE_TYPE(NES_UNROM512, nes_unrom512_device)