summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes/cne.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/nes/cne.h')
-rw-r--r--src/devices/bus/nes/cne.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/src/devices/bus/nes/cne.h b/src/devices/bus/nes/cne.h
new file mode 100644
index 00000000000..d00ef06f5cc
--- /dev/null
+++ b/src/devices/bus/nes/cne.h
@@ -0,0 +1,66 @@
+// license:BSD-3-Clause
+// copyright-holders:Fabio Priuli
+#ifndef __NES_CNE_H
+#define __NES_CNE_H
+
+#include "nxrom.h"
+
+
+// ======================> nes_cne_decathl_device
+
+class nes_cne_decathl_device : public nes_nrom_device
+{
+public:
+ // construction/destruction
+ nes_cne_decathl_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+
+ // device-level overrides
+ virtual void device_start();
+ virtual DECLARE_WRITE8_MEMBER(write_h);
+
+ virtual void pcb_reset();
+};
+
+
+// ======================> nes_cne_fsb_device
+
+class nes_cne_fsb_device : public nes_nrom_device
+{
+public:
+ // construction/destruction
+ nes_cne_fsb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+
+ // device-level overrides
+ virtual void device_start();
+ virtual DECLARE_READ8_MEMBER(read_m);
+ virtual DECLARE_WRITE8_MEMBER(write_m);
+
+ virtual void pcb_reset();
+};
+
+
+// ======================> nes_cne_shlz_device
+
+class nes_cne_shlz_device : public nes_nrom_device
+{
+public:
+ // construction/destruction
+ nes_cne_shlz_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+
+ // device-level overrides
+ virtual void device_start();
+ virtual DECLARE_WRITE8_MEMBER(write_l);
+
+ virtual void pcb_reset();
+};
+
+
+
+
+
+// device type definition
+extern const device_type NES_CNE_DECATHL;
+extern const device_type NES_CNE_FSB;
+extern const device_type NES_CNE_SHLZ;
+
+#endif