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

src/mess/machine/svi318.c
r1858r1859
439439      int j;
440440      UINT8   data = svi.svi806_gfx[ svi.svi806_ram[ ( ma + i ) & 0x7FF ] * 16 + ra ];
441441
442      if ( i == cursor_x ) {
443         data = 0xFF;
444      }
445
442446      for( j=0; j < 8; j++ )
443447      {
444448         *BITMAP_ADDR16(bitmap, y, i * 8 + j ) = TMS9928A_PALETTE_SIZE + ( ( data & 0x80 ) ? 1 : 0 );
src/mess/drivers/svi318.c
r1858r1859
355355
356356static const mc6845_interface svi806_crtc6845_interface = {
357357   1,
358   3579545 /*?*/,
358   XTAL_12MHz / 4,
359359   8 /*?*/,
360360   NULL,
361361   svi806_crtc6845_update_row,

Previous 15994 Revisions Next


© 1998-2018 The MESS Team