commanderx16 / x16-emulator

Emulator for the Commander X16 8-bit computer
383 stars 60 forks source link

wai doesn't appear to wait for an interrupt #463

Closed Yazwh0 closed 1 year ago

Yazwh0 commented 1 year ago

wai doesn't appear to wait for an interrupt. If I enable only the vsync the attached .prg should draw one dot every frame, so slowly draw a line from 0,0. (The colour is the value of ISR.) So should be $01 (vsync) + $08 (aflow)

In the emulator as wai is not held, the image is all $08 apart from the one tick where vsync is set. I've included a second .prg where there is no wai, and the output is the same indicating that it is not actually doing anything.

example.zip

Yazwh0 commented 1 year ago

Think its fixed in R42..