Previous 15994 Revisions Next

r2106 Tuesday 25th March, 2008 at 18:57:57 UTC by Wilbert Pol
[PC_HERC] Updated graphics mode drawing to use the ra signal properly.
[src/mess/video]pc_mda.c

src/mess/video/pc_mda.c
r2105r2106
442442
443443static MC6845_UPDATE_ROW( hercules_gfx_update_row ) {
444444   UINT16   *p = BITMAP_ADDR16( bitmap, y, 0 );
445   UINT16   gfx_base = ( ( mda.mode_control & 0x80 ) ? 0x8000 : 0x0000 ) | ( ( y & 0x03 ) << 13 );
445   UINT16   gfx_base = ( ( mda.mode_control & 0x80 ) ? 0x8000 : 0x0000 ) | ( ( ra & 0x03 ) << 13 );
446446   int i;
447447
448448   if ( y == 0 ) logerror("hercules_gfx_update_row\n");

Previous 15994 Revisions Next


© 1998-2018 The MESS Team