summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes/banctec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/includes/banctec.h')
-rw-r--r--src/mess/includes/banctec.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/mess/includes/banctec.h b/src/mess/includes/banctec.h
new file mode 100644
index 00000000000..6652d574d86
--- /dev/null
+++ b/src/mess/includes/banctec.h
@@ -0,0 +1,36 @@
+/*****************************************************************************
+ *
+ * includes/banctec.h
+ *
+ ****************************************************************************/
+
+#ifndef BANCTEC_H_
+#define BANCTEC_H_
+
+#include "video/mc6845.h"
+
+class banctec_state : public driver_device
+{
+public:
+ banctec_state(const machine_config &mconfig, device_type type, const char *tag)
+ : driver_device(mconfig, type, tag),
+ m_maincpu(*this, "maincpu"),
+ m_gfxdecode(*this, "gfxdecode"),
+ m_videoram(*this, "videoram") { }
+
+ DECLARE_READ8_MEMBER(banctec_read);
+ DECLARE_WRITE8_MEMBER(banctec_write);
+ TILE_GET_INFO_MEMBER(get_bg_tile_info);
+ MC6845_ON_UPDATE_ADDR_CHANGED(crtc_addr);
+ virtual void machine_reset();
+ virtual void video_start();
+ UINT32 screen_update_banctec(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+
+ required_device<cpu_device> m_maincpu;
+ required_device<gfxdecode_device> m_gfxdecode;
+ required_shared_ptr<UINT8> m_videoram;
+
+ tilemap_t *m_bg_tilemap;
+};
+
+#endif /* BANCTEC_H_ */