trunk/src/mess/machine/c64_xl80.c
| r17863 | r17864 | |
| 81 | 81 | |
| 82 | 82 | void c64_xl80_device::crtc_update_row(mc6845_device *device, bitmap_rgb32 &bitmap, const rectangle &cliprect, UINT16 ma, UINT8 ra, UINT16 y, UINT8 x_count, INT8 cursor_x, void *param) |
| 83 | 83 | { |
| 84 | | const rgb_t *palette = palette_entry_list_raw(bitmap.palette()); |
| 85 | 84 | for (int column = 0; column < x_count; column++) |
| 86 | 85 | { |
| 87 | 86 | UINT8 code = m_ram[((ma + column) & 0x7ff)]; |
| r17863 | r17864 | |
| 98 | 97 | int x = (column * 8) + bit; |
| 99 | 98 | int color = BIT(data, 7) ? 7 : 0; |
| 100 | 99 | |
| 101 | | bitmap.pix32(y, x) = palette[color]; |
| 100 | bitmap.pix32(y, x) = RGB_MONOCHROME_WHITE[color]; |
| 102 | 101 | |
| 103 | 102 | data <<= 1; |
| 104 | 103 | } |