summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video/vic4567.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/video/vic4567.h')
-rw-r--r--src/mess/video/vic4567.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/mess/video/vic4567.h b/src/mess/video/vic4567.h
index 67c0727d891..27187276fee 100644
--- a/src/mess/video/vic4567.h
+++ b/src/mess/video/vic4567.h
@@ -47,10 +47,10 @@ struct vic3_interface
struct vic3_sprite
{
int x, y;
-
+
int repeat; /* expand, line once drawn */
int line; /* 0 not painting, else painting */
-
+
/* buffer for currently painted line */
int paintedline[8];
UINT8 bitmap[8][SPRITE_BASE_X_SIZE * 2 / 8 + 1 /*for simplier sprite collision detection*/];
@@ -151,7 +151,7 @@ public:
DECLARE_WRITE8_MEMBER(port_w);
DECLARE_WRITE8_MEMBER(palette_w);
DECLARE_READ8_MEMBER(port_r);
-
+
void raster_interrupt_gen();
UINT32 video_update(bitmap_ind16 &bitmap, const rectangle &cliprect);
@@ -184,62 +184,62 @@ private:
void draw_bitplanes();
TIMER_CALLBACK_MEMBER(timer_timeout);
-
+
vic3_type m_type;
-
+
screen_device *m_main_screen; // screen which sets bitmap properties
-
+
device_t *m_cpu;
-
+
UINT8 m_reg[0x80];
int m_on; /* rastering of the screen */
-
+
int m_lines;
-
+
UINT16 m_chargenaddr, m_videoaddr, m_bitmapaddr;
-
+
bitmap_ind16 *m_bitmap;
int m_x_begin, m_x_end;
int m_y_begin, m_y_end;
-
+
UINT16 m_c64_bitmap[2], m_bitmapmulti[4], m_mono[2], m_multi[4], m_ecmcolor[2], m_colors[4], m_spritemulti[4];
-
+
int m_lastline, m_rasterline;
-
+
int m_interlace;
int m_columns, m_rows;
-
+
/* background/foreground for sprite collision */
UINT8 *m_screen[216], m_shift[216];
-
+
/* convert multicolor byte to background/foreground for sprite collision */
UINT8 m_foreground[256];
UINT16 m_expandx[256];
UINT16 m_expandx_multi[256];
-
+
/* converts sprite multicolor info to info for background collision checking */
UINT8 m_multi_collision[256];
-
+
vic3_sprite m_sprites[8];
-
+
/* DMA */
devcb_resolved_read8 m_dma_read;
devcb_resolved_read8 m_dma_read_color;
-
+
/* IRQ */
devcb_resolved_write_line m_interrupt;
-
+
/* Port Changed */
devcb_resolved_write8 m_port_changed;
-
+
/* lightpen */
devcb_resolved_read8 m_lightpen_button_cb;
devcb_resolved_read8 m_lightpen_x_cb;
devcb_resolved_read8 m_lightpen_y_cb;
-
+
/* C64 memory access */
devcb_resolved_read8 m_c64_mem_r;
-
+
/* palette - vic3 specific items (the ones above are used for VIC II as well) */
UINT8 m_palette_red[0x100];
UINT8 m_palette_green[0x100];