summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes/prof180x.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/includes/prof180x.h')
-rw-r--r--src/mess/includes/prof180x.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/mess/includes/prof180x.h b/src/mess/includes/prof180x.h
new file mode 100644
index 00000000000..e30fbf941a4
--- /dev/null
+++ b/src/mess/includes/prof180x.h
@@ -0,0 +1,39 @@
+#pragma once
+
+#ifndef __PROF180X__
+#define __PROF180X__
+
+#define HD64180_TAG "hd64180"
+#define FDC9268_TAG "fdc9268"
+#define FDC9229_TAG "fdc9229"
+#define MK3835_TAG "mk3835"
+#define SCREEN_TAG "screen"
+#define CENTRONICS_TAG "centronics"
+
+class prof180x_state : public driver_device
+{
+public:
+ prof180x_state(const machine_config &mconfig, device_type type, const char *tag)
+ : driver_device(mconfig, type, tag) { }
+
+ virtual void machine_start();
+ virtual void machine_reset();
+
+ DECLARE_WRITE8_MEMBER( flr_w );
+ DECLARE_READ8_MEMBER( status0_r );
+ DECLARE_READ8_MEMBER( status1_r );
+ DECLARE_READ8_MEMBER( status_r );
+
+ void bankswitch();
+ void ls259_w(int flag, int value);
+
+ UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+
+ int m_c0;
+ int m_c1;
+ int m_c2;
+ int m_mm0;
+ int m_mm1;
+};
+
+#endif