serious endless for loop bug in stackvm because Z and N flags weren't set properly, now fixed

This commit is contained in:
Irmen de Jong 2019-03-11 22:02:00 +01:00
parent ac7faa8d25
commit a349599943
2 changed files with 490 additions and 190 deletions

File diff suppressed because it is too large Load Diff

View File

@ -323,7 +323,7 @@ waitkey:
ubyte[5] colors = [6,8,7,5,4]
for i in len(colors)-1 to 0 step -1 {
for ubyte x in 5 to 0 step -1 {
c64scr.setcc(6+x-i, 11+2*i, 102, colors[i]) ; @todo when run in the stackVM, this loop never ends and corrupts the screen
c64scr.setcc(6+x-i, 11+2*i, 102, colors[i])
}
}
drawScore()