| Previous | 15994 Revisions | Next |
| r1859 Saturday 8th March, 2008 at 14:24:34 UTC by Wilbert Pol |
|---|
| [SVI318] Fixed 6845 input clock. Added cursor drawing support. |
| [src/mess/drivers] | svi318.c |
| [src/mess/machine] | svi318.c |
| r1858 | r1859 | |
|---|---|---|
| 439 | 439 | int j; |
| 440 | 440 | UINT8 data = svi.svi806_gfx[ svi.svi806_ram[ ( ma + i ) & 0x7FF ] * 16 + ra ]; |
| 441 | 441 | |
| 442 | if ( i == cursor_x ) { | |
| 443 | data = 0xFF; | |
| 444 | } | |
| 445 | ||
| 442 | 446 | for( j=0; j < 8; j++ ) |
| 443 | 447 | { |
| 444 | 448 | *BITMAP_ADDR16(bitmap, y, i * 8 + j ) = TMS9928A_PALETTE_SIZE + ( ( data & 0x80 ) ? 1 : 0 ); |
| r1858 | r1859 | |
|---|---|---|
| 355 | 355 | |
| 356 | 356 | static const mc6845_interface svi806_crtc6845_interface = { |
| 357 | 357 | 1, |
| 358 | | |
| 358 | XTAL_12MHz / 4 | |
| 359 | 359 | 8 /*?*/, |
| 360 | 360 | NULL, |
| 361 | 361 | svi806_crtc6845_update_row, |
| Previous | 15994 Revisions | Next |