diff options
Diffstat (limited to 'src/emu/video/i8275.h')
-rw-r--r-- | src/emu/video/i8275.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/emu/video/i8275.h b/src/emu/video/i8275.h index 846e63b67a0..0730fb1d316 100644 --- a/src/emu/video/i8275.h +++ b/src/emu/video/i8275.h @@ -39,16 +39,16 @@ class i8275_device; // ======================> i8275_display_pixels_func typedef void (*i8275_display_pixels_func)(i8275_device *device, bitmap_rgb32 &bitmap, int x, int y, UINT8 linecount, UINT8 charcode, UINT8 lineattr, UINT8 lten, UINT8 rvv, UINT8 vsp, UINT8 gpa, UINT8 hlgt); -#define I8275_DISPLAY_PIXELS(name) void name(i8275_device *device, bitmap_rgb32 &bitmap, int x, int y, UINT8 linecount, UINT8 charcode, UINT8 lineattr, UINT8 lten, UINT8 rvv, UINT8 vsp, UINT8 gpa, UINT8 hlgt) +#define I8275_DISPLAY_PIXELS(name) void name(i8275_device *device, bitmap_rgb32 &bitmap, int x, int y, UINT8 linecount, UINT8 charcode, UINT8 lineattr, UINT8 lten, UINT8 rvv, UINT8 vsp, UINT8 gpa, UINT8 hlgt) // ======================> i8275_interface struct i8275_interface { - const char *m_screen_tag; /* screen we are acting on */ - int m_width; /* char width in pixels */ - int m_char_delay; /* delay of display char */ + const char *m_screen_tag; /* screen we are acting on */ + int m_width; /* char width in pixels */ + int m_char_delay; /* delay of display char */ devcb_write_line m_out_drq_cb; devcb_write_line m_out_irq_cb; @@ -61,7 +61,7 @@ struct i8275_interface class i8275_device : public device_t, - public i8275_interface + public i8275_interface { public: i8275_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); @@ -85,24 +85,24 @@ protected: void set_parameter_cursor(offs_t offset, UINT8 data); void draw_char_line(); - devcb_resolved_write_line m_out_drq_func; - devcb_resolved_write_line m_out_irq_func; - devcb_resolved_write_line m_out_hrtc_func; - devcb_resolved_write_line m_out_vrtc_func; + devcb_resolved_write_line m_out_drq_func; + devcb_resolved_write_line m_out_irq_func; + devcb_resolved_write_line m_out_hrtc_func; + devcb_resolved_write_line m_out_vrtc_func; screen_device *m_screen; bitmap_rgb32 m_bitmap; - UINT8 m_status_reg; /* value of status reggister */ - UINT8 m_num_of_params; /* expected number of parameters */ - UINT8 m_current_command; /* command currently executing */ - UINT8 m_param_type; /* parameter type */ + UINT8 m_status_reg; /* value of status reggister */ + UINT8 m_num_of_params; /* expected number of parameters */ + UINT8 m_current_command; /* command currently executing */ + UINT8 m_param_type; /* parameter type */ - UINT8 m_cursor_col; /* current cursor column */ - UINT8 m_cursor_row; /* current cursor row */ + UINT8 m_cursor_col; /* current cursor column */ + UINT8 m_cursor_row; /* current cursor row */ - UINT8 m_light_pen_col; /* current light pen column */ - UINT8 m_light_pen_row; /* current light pen row */ + UINT8 m_light_pen_col; /* current light pen column */ + UINT8 m_light_pen_row; /* current light pen row */ /* reset command parameter values*/ /* parameter 0 */ |