diff options
Diffstat (limited to 'src/emu/video/hd61830.h')
-rw-r--r-- | src/emu/video/hd61830.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/src/emu/video/hd61830.h b/src/emu/video/hd61830.h index 7b173eb6b81..7595de1d759 100644 --- a/src/emu/video/hd61830.h +++ b/src/emu/video/hd61830.h @@ -47,35 +47,35 @@ struct hd61830_interface { const char *screen_tag; - devcb_read8 m_in_rd_cb; + devcb_read8 m_in_rd_cb; }; // ======================> hd61830_device -class hd61830_device : public device_t, +class hd61830_device : public device_t, public device_memory_interface, - public hd61830_interface + public hd61830_interface { public: - // construction/destruction - hd61830_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + // construction/destruction + hd61830_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - DECLARE_READ8_MEMBER( status_r ); - DECLARE_WRITE8_MEMBER( control_w ); + DECLARE_READ8_MEMBER( status_r ); + DECLARE_WRITE8_MEMBER( control_w ); - DECLARE_READ8_MEMBER( data_r ); - DECLARE_WRITE8_MEMBER( data_w ); + DECLARE_READ8_MEMBER( data_r ); + DECLARE_WRITE8_MEMBER( data_w ); UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); protected: - // device-level overrides + // device-level overrides virtual const rom_entry *device_rom_region() const; virtual void device_config_complete(); - virtual void device_start(); - virtual void device_reset(); + virtual void device_start(); + virtual void device_reset(); virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr); // device_memory_interface overrides @@ -92,32 +92,32 @@ private: void draw_char(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT16 ma, int x, int y, UINT8 md); void update_text(bitmap_ind16 &bitmap, const rectangle &cliprect); - devcb_resolved_read8 m_in_rd_func; + devcb_resolved_read8 m_in_rd_func; screen_device *m_screen; emu_timer *m_busy_timer; address_space *m_data; - bool m_bf; // busy flag + bool m_bf; // busy flag - UINT8 m_ir; // instruction register - UINT8 m_mcr; // mode control register - UINT8 m_dor; // data output register + UINT8 m_ir; // instruction register + UINT8 m_mcr; // mode control register + UINT8 m_dor; // data output register - UINT16 m_dsa; // display start address - UINT16 m_cac; // cursor address counter + UINT16 m_dsa; // display start address + UINT16 m_cac; // cursor address counter - int m_vp; // vertical character pitch - int m_hp; // horizontal character pitch - int m_hn; // horizontal number of characters - int m_nx; // number of time divisions - int m_cp; // cursor position + int m_vp; // vertical character pitch + int m_hp; // horizontal character pitch + int m_hn; // horizontal number of characters + int m_nx; // number of time divisions + int m_cp; // cursor position - int m_blink; // blink counter - int m_cursor; // cursor visible + int m_blink; // blink counter + int m_cursor; // cursor visible - // address space configurations - const address_space_config m_space_config; + // address space configurations + const address_space_config m_space_config; }; |