mirror of
https://github.com/irmen/prog8.git
synced 2024-12-25 08:29:25 +00:00
serious endless for loop bug in stackvm because Z and N flags weren't set properly, now fixed
This commit is contained in:
parent
ac7faa8d25
commit
a349599943
File diff suppressed because it is too large
Load Diff
@ -323,7 +323,7 @@ waitkey:
|
|||||||
ubyte[5] colors = [6,8,7,5,4]
|
ubyte[5] colors = [6,8,7,5,4]
|
||||||
for i in len(colors)-1 to 0 step -1 {
|
for i in len(colors)-1 to 0 step -1 {
|
||||||
for ubyte x in 5 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()
|
drawScore()
|
||||||
|
Loading…
Reference in New Issue
Block a user