Previous 15994 Revisions Next

r1478 Thursday 3rd January, 2008 at 20:37:48 UTC by Wilbert Pol
[GAMEBOY] Small mode 0 stat bug triggering fixes.
[docs]messnew.txt
[src/mess/video]gb.c

src/mess/video/gb.c
r1477r1478
16001600            - 0x40 -> 0x20 (mode 2) - don't trigger
16011601            - 0x40 -> 0x08 (mode 0) - don't trigger
16021602            - 0x00 -> 0x40 - trigger only if LY==LYC
1603            - 0x20 -> 0x00/0x08/0x10/0x20/0x40 (mode 2, after m2int) - don't trigger
1604            - 0x20 -> 0x00/0x08/0x10/0x20/0x40 (mode 3, after m2int) - don't trigger
16031605         */
16041606         if ( ! gb_lcd.mode_irq && ( ( gb_lcd.mode == 1 ) ||
16051607            ( ( LCDSTAT & 0x40 ) && ! ( data & 0x68 ) ) ||
r1477r1478
16131615         /*
16141616            - 0x20 -> 0x08/0x18/0x28/0x48 (mode 0, after m2int) - trigger
16151617            - 0x20 -> 0x00/0x10/0x20/0x40 (mode 0, after m2int) - trigger (stat bug)
1618            - 0x00 -> 0xXX (mode 0) - trigger stat bug
16161619         */
1617         if ( gb_lcd.mode_irq && gb_lcd.mode == 0 && ( LCDSTAT & 0x20 ) == 0x20 ) {
1620         if ( gb_lcd.mode_irq && gb_lcd.mode == 0 ) {
16181621            cpunum_set_input_line(0, LCD_INT, HOLD_LINE);
16191622         }
16201623      }
docs/messnew.txt
r1477r1478
88
99System Driver Changes:
1010----------------------
11- [GAMEBOY] Small mode 0 stat bug triggering fixes.  [Wilbert Pol]
12
1113- [TI99/GENEVE] More floppy cleanups; fixed TI99_8 regression and made the
1214  floppy drive usable.  (bug #1450)  [Michael Zapf]
1315

Previous 15994 Revisions Next


© 1998-2018 The MESS Team