Previous 15994 Revisions Next

r5463 Tuesday 18th August, 2009 at 20:11:33 UTC by Roberto Zandonà
[C64] a little change to vic behaviour
[src/mess/video]vic6567.c

src/mess/video/vic6567.c
r5462r5463
14071407
14081408   switch(vic2.rasterX)
14091409   {
1410
14101411   case 1:
14111412      is_bad_line = ((vic2.rasterline >= 0x30) && (vic2.rasterline <= 0xf7) && ((vic2.rasterline & 0x07) == VERTICALPOS) && SCREENON);
14121413
r5462r5463
14561457
14571458   case 15:
14581459      vic2.rasterX++;
1459
14601460      if (is_bad_line) cpu_suspend(machine->cpu[0], SUSPEND_REASON_SPIN, 0);
14611461
1462      break;
1463
1464   case 20:
14651462      if (!c64_pal)
14661463         if (vic2.rasterline < VIC2_FIRSTRASTERLINE + VIC2_VISIBLELINES - vic2.lines)
14671464            vic2_drawlines (machine, vic2.rasterline + vic2.lines, vic2.rasterline + vic2.lines + 1, VIC2_STARTVISIBLECOLUMNS, VIC2_STARTVISIBLECOLUMNS + VIC2_VISIBLECOLUMNS);
r5462r5463
14701467         if ((vic2.rasterline >= VIC6569_STARTVISIBLELINES ) && (vic2.rasterline < VIC6569_STARTVISIBLELINES + VIC2_VISIBLELINES))
14711468            vic2_drawlines (machine, vic2.rasterline, vic2.rasterline + 1, VIC2_STARTVISIBLECOLUMNS, VIC2_STARTVISIBLECOLUMNS + VIC2_VISIBLECOLUMNS);
14721469
1473      vic2.rasterX++;
14741470      break;
14751471
14761472   case 55:

Previous 15994 Revisions Next


© 1998-2018 The MESS Team