Closed dirkwhoffmann closed 6 years ago
Adding one additional delay cycle when raising and clearing the IRQ line in VIC::poke seems to fix the issue:
Todo items:
In Hoxs64's VIC implementation, I found the following comments:
// vandalismnews64 wants a 1 clock deplay.
// passes the rastercompareirq beta test."
Find out what demo could be meant and which test is "rastercompareirq beta"? We should test VirtualC64 with those programs.
in HOSX ...Fix VIC where a write to the raster compare register was causing a raster IRQ to occur one clock too soon. This fixes "Vandalism News #64" http://csdb.dk/release/?id=138976 reported by iAN CooG/HVSC.
Thanks for the link, that was quick. The demo does not work, even after applying the irq-ack fix.
Vandalism demo is working now. I should have read the Hoxs64 description more thoroughly which was posted above by Alessandro (" raster compare register"). Delaying the IRQ event by one cycle when poking into this register makes the demo fly.
VirtualC64:
Vice 3.1: