diff options
Diffstat (limited to 'src/devices/bus/centronics/epson_lx810l.h')
-rw-r--r-- | src/devices/bus/centronics/epson_lx810l.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/bus/centronics/epson_lx810l.h b/src/devices/bus/centronics/epson_lx810l.h index 17fcedf9fdc..aac62c94141 100644 --- a/src/devices/bus/centronics/epson_lx810l.h +++ b/src/devices/bus/centronics/epson_lx810l.h @@ -41,10 +41,6 @@ public: // construction/destruction epson_lx810l_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - /* fake memory I/O to get past memory reset check */ - DECLARE_READ8_MEMBER(fakemem_r); - DECLARE_WRITE8_MEMBER(fakemem_w); - /* Centronics stuff */ virtual DECLARE_WRITE_LINE_MEMBER( input_strobe ) override { if (m_e05a30) m_e05a30->centronics_input_strobe(state); } virtual DECLARE_WRITE_LINE_MEMBER( input_data0 ) override { if (m_e05a30) m_e05a30->centronics_input_data0(state); } @@ -59,11 +55,6 @@ public: /* Panel buttons */ DECLARE_INPUT_CHANGED_MEMBER(online_sw); - /* Video hardware (simulates paper) */ -#define uabs(x) ((x) > 0 ? (x) : -(x)) - unsigned int bitmap_line(int i) { return ((uabs(m_pf_pos_abs) / 6) + i) % m_bitmap.height(); } - - void lx810l_mem(address_map &map); protected: epson_lx810l_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); @@ -85,6 +76,10 @@ private: DECLARE_READ8_MEMBER(portc_r); DECLARE_WRITE8_MEMBER(portc_w); + /* fake memory I/O to get past memory reset check */ + DECLARE_READ8_MEMBER(fakemem_r); + DECLARE_WRITE8_MEMBER(fakemem_w); + /* Extended Timer Output */ DECLARE_WRITE_LINE_MEMBER(co0_w); @@ -111,9 +106,14 @@ private: DECLARE_WRITE_LINE_MEMBER(e05a30_centronics_fault) { output_fault(state); } DECLARE_WRITE_LINE_MEMBER(e05a30_centronics_select) { output_select(state); } + void lx810l_mem(address_map &map); + /* Video hardware (simulates paper) */ uint32_t screen_update_lx810l(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); +#define uabs(x) ((x) > 0 ? (x) : -(x)) + unsigned int bitmap_line(int i) { return ((uabs(m_pf_pos_abs) / 6) + i) % m_bitmap.height(); } + required_device<cpu_device> m_maincpu; required_device<stepper_device> m_pf_stepper; required_device<stepper_device> m_cr_stepper; |