summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/esqvfd.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
commit0e19f641d3186cdbf51f8ca857e2b07ab95779c2 (patch)
tree234109de1123b13f217494af4b3f8efad346d5cc /src/mess/machine/esqvfd.h
parent111157ca09a9ff60fe4a9ba49173c315e94314fa (diff)
Cleanups and version bumpmame0148
Diffstat (limited to 'src/mess/machine/esqvfd.h')
-rw-r--r--src/mess/machine/esqvfd.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/mess/machine/esqvfd.h b/src/mess/machine/esqvfd.h
index 7f4b54133a6..6e0703e3db2 100644
--- a/src/mess/machine/esqvfd.h
+++ b/src/mess/machine/esqvfd.h
@@ -3,23 +3,23 @@
#include "emu.h"
-#define MCFG_ESQ1x22_ADD(_tag) \
+#define MCFG_ESQ1x22_ADD(_tag) \
MCFG_DEVICE_ADD(_tag, ESQ1x22, 60)
#define MCFG_ESQ1x22_REMOVE(_tag) \
- MCFG_DEVICE_REMOVE(_tag)
+ MCFG_DEVICE_REMOVE(_tag)
-#define MCFG_ESQ2x40_ADD(_tag) \
+#define MCFG_ESQ2x40_ADD(_tag) \
MCFG_DEVICE_ADD(_tag, ESQ2x40, 60)
#define MCFG_ESQ2x40_REMOVE(_tag) \
- MCFG_DEVICE_REMOVE(_tag)
+ MCFG_DEVICE_REMOVE(_tag)
-#define MCFG_ESQ2x40_SQ1_ADD(_tag) \
+#define MCFG_ESQ2x40_SQ1_ADD(_tag) \
MCFG_DEVICE_ADD(_tag, ESQ2x40_SQ1, 60)
#define MCFG_ESQ2x40_SQ1_REMOVE(_tag) \
- MCFG_DEVICE_REMOVE(_tag)
+ MCFG_DEVICE_REMOVE(_tag)
class esqvfd_t : public device_t {
public:
@@ -29,29 +29,29 @@ public:
DECLARE_WRITE8_MEMBER( write ) { write_char(data); }
- virtual void write_char(int data) = 0;
- virtual void update_display();
+ virtual void write_char(int data) = 0;
+ virtual void update_display();
- UINT32 conv_segments(UINT16 segin);
+ UINT32 conv_segments(UINT16 segin);
protected:
- static const UINT8 AT_NORMAL = 0x00;
- static const UINT8 AT_BOLD = 0x01;
- static const UINT8 AT_UNDERLINE = 0x02;
- static const UINT8 AT_BLINK = 0x04;
- static const UINT8 AT_BLINKED = 0x80; // set when character should be blinked off
+ static const UINT8 AT_NORMAL = 0x00;
+ static const UINT8 AT_BOLD = 0x01;
+ static const UINT8 AT_UNDERLINE = 0x02;
+ static const UINT8 AT_BLINK = 0x04;
+ static const UINT8 AT_BLINKED = 0x80; // set when character should be blinked off
virtual void device_start();
virtual void device_reset();
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
- int m_cursx, m_cursy;
- int m_rows, m_cols;
- UINT8 m_curattr;
+ int m_cursx, m_cursy;
+ int m_rows, m_cols;
+ UINT8 m_curattr;
UINT8 m_lastchar;
- UINT8 m_chars[2][40];
- UINT8 m_attrs[2][40];
- UINT8 m_dirty[2][40];
+ UINT8 m_chars[2][40];
+ UINT8 m_attrs[2][40];
+ UINT8 m_dirty[2][40];
};
class esq1x22_t : public esqvfd_t {
@@ -61,7 +61,7 @@ public:
virtual void write_char(int data);
protected:
- virtual machine_config_constructor device_mconfig_additions() const;
+ virtual machine_config_constructor device_mconfig_additions() const;
private:
};
@@ -73,7 +73,7 @@ public:
virtual void write_char(int data);
protected:
- virtual machine_config_constructor device_mconfig_additions() const;
+ virtual machine_config_constructor device_mconfig_additions() const;
private:
};
@@ -85,10 +85,10 @@ public:
virtual void write_char(int data);
protected:
- virtual machine_config_constructor device_mconfig_additions() const;
+ virtual machine_config_constructor device_mconfig_additions() const;
private:
- bool m_Wait87Shift, m_Wait88Shift;
+ bool m_Wait87Shift, m_Wait88Shift;
};
extern const device_type ESQ1x22;