Previous 15994 Revisions Next

r1482 Friday 4th January, 2008 at 16:59:28 UTC by Wilbert Pol
[GBPOCKET] Fixed video startup state to match that of a real unit.
[docs]messnew.txt
[src/mess/video]gb.c

src/mess/video/gb.c
r1481r1482
11961196      gb_video_w( 0x8, 0xFC );    /* SPR0PAL */
11971197      gb_video_w( 0x9, 0xFC );    /* SPR1PAL */
11981198
1199      CURLINE = gb_lcd.current_line = 0;
1200      LCDSTAT = ( LCDSTAT & 0xF8 ) | 0x05;
1201      gb_lcd.mode = 1;
1202      timer_adjust( gb_lcd.lcd_timer, ATTOTIME_IN_CYCLES(60,0), GB_LCD_STATE_LY00_M0, attotime_never );
1203
11991204      break;
12001205   case GB_VIDEO_SGB:
12011206      /* set the scanline update function */
r1481r1482
12171222      gb_video_w( 0x8, 0xFC );    /* SPR0PAL */
12181223      gb_video_w( 0x9, 0xFC );    /* SPR1PAL */
12191224
1225      CURLINE = gb_lcd.current_line = 0;
1226      LCDSTAT = ( LCDSTAT & 0xF8 ) | 0x05;
1227      gb_lcd.mode = 1;
1228      timer_adjust( gb_lcd.lcd_timer, ATTOTIME_IN_CYCLES(60,0), GB_LCD_STATE_LY00_M0, attotime_never );
1229
12201230      break;
12211231   case GB_VIDEO_CGB:
12221232      /* set the scanline update function */
docs/messnew.txt
r1481r1482
1010----------------------
1111- [GAMEBOY] Small mode 0 stat bug triggering fixes.  [Wilbert Pol]
1212
13- [GBPOCKET] Fixed video startup state to match that of a real unit.  [Wilbert
14  Pol]
15
1316- [TI99/GENEVE] More floppy cleanups; fixed TI99_8 regression and made the
1417  floppy drive usable.  (bug #1450)  [Michael Zapf]
1518

Previous 15994 Revisions Next


© 1998-2018 The MESS Team