summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/kog_prot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/kog_prot.h')
-rw-r--r--src/devices/bus/neogeo/kog_prot.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/devices/bus/neogeo/kog_prot.h b/src/devices/bus/neogeo/kog_prot.h
new file mode 100644
index 00000000000..c14b6d919d0
--- /dev/null
+++ b/src/devices/bus/neogeo/kog_prot.h
@@ -0,0 +1,40 @@
+// license:BSD-3-Clause
+// copyright-holders:S. Smith,David Haywood
+
+
+#pragma once
+
+#ifndef __KOG_PROT__
+#define __KOG_PROT__
+
+extern const device_type KOG_PROT;
+
+#define MCFG_KOG_PROT_ADD(_tag) \
+ MCFG_DEVICE_ADD(_tag, KOG_PROT, 0)
+
+
+class kog_prot_device : public device_t
+{
+public:
+ // construction/destruction
+ kog_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+
+ void kog_install_protection(cpu_device* maincpu);
+ void kog_px_decrypt(UINT8* cpurom, UINT32 cpurom_size);
+ READ16_MEMBER(read_jumper);
+
+ required_ioport m_jumper;
+
+protected:
+ virtual void device_start();
+ virtual void device_reset();
+ virtual ioport_constructor device_input_ports() const;
+
+
+
+private:
+
+
+};
+
+#endif