mamedev / mame

MAME
https://www.mamedev.org/
Other
8.33k stars 2.03k forks source link

zero divide panic when booting nextstep 0.9 and 1.0 on nexts #8340

Open davide125 opened 3 years ago

davide125 commented 3 years ago

While doing https://github.com/mamedev/mame/pull/8339 I caught some screenshots of the panics for the sets that still don't work, in case this can help troubleshoot down the road. These were all caught with the nexts machine in the default settings on the latest git master.

nextstep_0_9 nextstep_0_9

nextstep_1_0 nextstep_1_0

nextstep_1_0a nextstep_1_0a

ajrhacker commented 3 years ago

I can't reproduce this bug because the emulation fails for me after entering the "b" command with the following exception:

MAME exception: M68kFPU: FSAVE unhandled mode 0 reg 2 at e

Further investigation shows that this is caused by the machine moving the stack into nonexistent memory using an address specified by dummy-filled memory at 0B08F80E.