Previous 15994 Revisions Next

r1458 Sunday 30th December, 2007 at 18:42:41 UTC by Wilbert Pol
[GAMEBOY] Added some more cases where writing to the STAT register causes an interrupt.
[src/mess/video]gb.c

src/mess/video/gb.c
r1457r1458
16091609            ) ) {
16101610            cpunum_set_input_line(0, LCD_INT, HOLD_LINE);
16111611         }
1612         /*
1613            - 0x20 -> 0x08/0x18/0x28/0x48 (mode 0, after m2int) - trigger
1614            - 0x20 -> 0x00/0x10/0x20/0x40 (mode 0, after m2int) - trigger (stat bug)
1615         */
1616         if ( gb_lcd.mode_irq && gb_lcd.mode == 0 && ( LCDSTAT & 0x20 ) == 0x20 ) {
1617            cpunum_set_input_line(0, LCD_INT, HOLD_LINE);
1618         }
16121619      }
16131620      break;
16141621   case 0x04:                  /* LY - LCD Y-coordinate */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team