| 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 |
| r1457 | r1458 | |
|---|---|---|
| 1609 | 1609 | ) ) { |
| 1610 | 1610 | cpunum_set_input_line(0, LCD_INT, HOLD_LINE); |
| 1611 | 1611 | } |
| 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 | } | |
| 1612 | 1619 | } |
| 1613 | 1620 | break; |
| 1614 | 1621 | case 0x04: /* LY - LCD Y-coordinate */ |
| Previous | 15994 Revisions | Next |