summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/p1_rom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/p1_rom.h')
-rw-r--r--src/devices/bus/isa/p1_rom.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/devices/bus/isa/p1_rom.h b/src/devices/bus/isa/p1_rom.h
new file mode 100644
index 00000000000..7b5ddd79150
--- /dev/null
+++ b/src/devices/bus/isa/p1_rom.h
@@ -0,0 +1,42 @@
+// license:BSD-3-Clause
+// copyright-holders:Sergey Svishchev
+/**********************************************************************
+
+ Poisk-1 ROM cartridge device
+
+**********************************************************************/
+
+#pragma once
+
+#ifndef __P1_ROM__
+#define __P1_ROM__
+
+#include "emu.h"
+#include "isa.h"
+
+//**************************************************************************
+// TYPE DEFINITIONS
+//**************************************************************************
+
+class p1_rom_device : public device_t,
+ public device_isa8_card_interface
+{
+public:
+ // construction/destruction
+ p1_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+
+ // optional information overrides
+ virtual const rom_entry *device_rom_region() const;
+
+protected:
+ // device-level overrides
+ virtual void device_start();
+ virtual void device_reset();
+};
+
+
+// device type definition
+extern const device_type P1_ROM;
+
+
+#endif