dirkwhoffmann / vAmiga

vAmiga is a user-friendly Amiga 500, 1000, 2000 emulator for macOS
https://dirkwhoffmann.github.io/vAmiga
Other
300 stars 25 forks source link

Test Copper/cross/steal1 fails #639

Closed dirkwhoffmann closed 2 years ago

dirkwhoffmann commented 2 years ago

This is part of an interesting comment made by Ross about Copper wait positions: https://eab.abime.net/showthread.php?t=98219

Also be careful to use $ffe1 if you have many bitplanes DMA channels active (and DDFSTOP=$d8) because the slot would be 'stolen' and this would also become an unreachable position.

Although I haven't written a test case yet, I am convinced that vAmiga would fail. The current implementation computes a wakeup cycle at the time the Wait is executed. At this point in time, nothing is known about cycles that will be stolen later.

dirkwhoffmann commented 2 years ago

Corresponding test case: Copper/cross/steal1

Amiga 500 OCS: 🥰 stealE1_A500_OCS

vAmiga: 🙈

Bildschirmfoto 2022-01-31 um 13 28 58
dirkwhoffmann commented 2 years ago

Fixed in v2.0b1 which is now online.