dirkwhoffmann / vAmiga

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

Crash in Lazy Bones - Move Any Mountain #712

Closed mras0 closed 2 years ago

mras0 commented 2 years ago

Old troublemaker. pouet link. EAB post

Using CONFIG_A500_ECS_1MB + 512K CHIP + 512K slow I get an access violation in Memory::poke16 <ACCESSOR_AGNUS, MEM_SLOW> with addr = 0x00096000 from Agnus::doBlitterDmaWrite early on. Tested with latest latest HEAD (45099e77c5beeb99a372f7c1d838af42a42bea03) in vAmigaSDL.

FWIW it seems to work in vAmigaWeb so maybe it's a new thing (or just doesn't show up in the javascript version). As expected it misbehaves with CONFIG_A500_OCS_1MB (but doesn't crash).

ADF (Note: turn down the volume on your speakers for the start) MoveAnyMountain.zip

dirkwhoffmann commented 2 years ago

Fixed. I introduced this bug when I added the option to support 1.5MB SlowRam. Since this value is not a power of two, I had to change my old code which used an AND mask to clamp addresses. Obviously, I did not test my changes thoroughly.

dirkwhoffmann commented 2 years ago

Fixed in v2.1b3.