Previous 15994 Revisions Next

r8580 Thursday 22nd July, 2010 at 06:08:24 UTC by Roberto Zandonà
[C64] raster interrupt is triggered after the first cycle in the line, not before; now 7 cities of gold works [robiza]
[src/mess/video]vic6567.c

src/mess/video/vic6567.c
r8579r8580
10141014      {
10151015         vic2->rasterline++;
10161016
1017         if (vic2->rasterline == RASTERLINE)
1018         {
1019            vic2_set_interrupt(machine, 1, vic2);
1020         }
1021
10221017         if (vic2->rasterline == VIC2_FIRST_DMA_LINE)
10231018            vic2->bad_lines_enabled = SCREENON;
10241019
r8579r8580
10581053         }
10591054      }
10601055
1056      if (vic2->rasterline == RASTERLINE)
1057      {
1058         vic2_set_interrupt(machine, 1, vic2);
1059      }
1060
10611061      vic2->graphic_x = VIC2_X_2_EMU(0);
10621062
10631063      vic2_spr_data_access(machine, vic2, 3, 1);
r8579r8580
15711571      {
15721572         vic2->rasterline++;
15731573
1574         if (vic2->rasterline == RASTERLINE)
1575         {
1576            vic2_set_interrupt(machine, 1, vic2);
1577         }
1578
15791574         if (vic2->rasterline == VIC2_FIRST_DMA_LINE)
15801575            vic2->bad_lines_enabled = SCREENON;
15811576
r8579r8580
16151610         }
16161611      }
16171612
1613      if (vic2->rasterline == RASTERLINE)
1614      {
1615         vic2_set_interrupt(machine, 1, vic2);
1616      }
1617
16181618      vic2->graphic_x = VIC2_X_2_EMU(0);
16191619
16201620      vic2_spr_data_access(machine, vic2, 3, 1);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team