summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ie15.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ie15.h')
-rw-r--r--src/devices/machine/ie15.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/devices/machine/ie15.h b/src/devices/machine/ie15.h
index 82692cb0d65..715642e9665 100644
--- a/src/devices/machine/ie15.h
+++ b/src/devices/machine/ie15.h
@@ -40,8 +40,8 @@ public:
DECLARE_WRITE8_MEMBER(write) { term_write(data); }
- void ie15_io(address_map &map);
- void ie15_mem(address_map &map);
+ DECLARE_WRITE_LINE_MEMBER(serial_rx_callback);
+
protected:
ie15_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
@@ -59,11 +59,16 @@ protected:
void term_write(uint8_t data) { m_serial_rx_char = data; m_serial_rx_ready = IE_FALSE; }
+private:
+ static const device_timer_id TIMER_HBLANK = 0;
+ void scanline_callback();
+ void update_leds();
+ void draw_scanline(uint32_t *p, uint16_t offset, uint8_t scanline);
+ uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
+
void ie15core(machine_config &config);
-public:
DECLARE_WRITE16_MEMBER(kbd_put);
- DECLARE_WRITE_LINE_MEMBER(serial_rx_callback);
DECLARE_WRITE8_MEMBER(mem_w);
DECLARE_READ8_MEMBER(mem_r);
DECLARE_WRITE8_MEMBER(mem_addr_lo_w);
@@ -88,12 +93,9 @@ public:
DECLARE_WRITE8_MEMBER(serial_speed_w);
TIMER_CALLBACK_MEMBER(ie15_beepoff);
-private:
- static const device_timer_id TIMER_HBLANK = 0;
- void scanline_callback();
- void update_leds();
- void draw_scanline(uint32_t *p, uint16_t offset, uint8_t scanline);
- uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
+ void ie15_io(address_map &map);
+ void ie15_mem(address_map &map);
+
std::unique_ptr<uint32_t[]> m_tmpbmp;
emu_timer *m_hblank_timer;