summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/mz700.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/mz700.h')
-rw-r--r--src/mame/includes/mz700.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mame/includes/mz700.h b/src/mame/includes/mz700.h
index fb499e9d70e..348499a7506 100644
--- a/src/mame/includes/mz700.h
+++ b/src/mame/includes/mz700.h
@@ -13,6 +13,7 @@
#include "bus/centronics/ctronics.h"
#include "imagedev/cassette.h"
#include "machine/bankdev.h"
+#include "machine/74145.h"
#include "machine/i8255.h"
#include "machine/pit8253.h"
#include "machine/ram.h"
@@ -37,6 +38,8 @@ public:
, m_screen(*this, "screen")
, m_banke(*this, "banke")
, m_bankf(*this, "bankf")
+ , m_ls145(*this, "ls145")
+ , m_cursor_timer(*this, "cursor")
{ }
DECLARE_READ8_MEMBER(mz700_e008_r);
@@ -90,10 +93,11 @@ public:
void mz800_bankf(address_map &map);
void mz800_io(address_map &map);
void mz800_mem(address_map &map);
+
private:
int m_mz700; /* 1 if running on an mz700 */
- int m_cursor_timer;
+ int m_cursor_bit;
int m_other_timer;
int m_intmsk; /* PPI8255 pin PC2 */
@@ -134,6 +138,9 @@ private:
required_device<screen_device> m_screen;
optional_device<address_map_bank_device> m_banke;
optional_device<address_map_bank_device> m_bankf;
+
+ required_device<ttl74145_device> m_ls145;
+ required_device<timer_device> m_cursor_timer;
};
#endif // MAME_INCLUDES_MZ700_H