Re: [hatari-devel] Pure debugger, illegal opcodes, exceptions

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


It may also be in the exception code in the newcpu.c file.

I'm not sure everything is OK there, as the code comes directly from winuae and I did some cleaning in it.

Maybe comparing the 2 cores here may show something.

Laurent


Le 09/10/2012 22:26, Uwe Seimet a écrit :
As PD works even with WinUAE core when using TOS v1.04 (but not TOS v1..62
which still implies 68000 i.e. similar CPU exception frames), do you know
whether there is some difference in how that handles exceptions compared to
newer TOS versions?
I'm afraid I don't know.

Interestingly even the output with TOS vv1.04 differs between
Hatari versions.  With WinUAE core:
	Autostart file 'DESKTOP.INF' for 'PD.PRG' matched.
	Autostart file removed.
	Exception 2 (0) at fc0ee4 -> fc0ee6!
	Exception 2 (0) at 2cd76 -> 2cd86!

Whereas with old UAE core:
	Autostart file 'DESKTOP.INF' for 'PD.PRG' matched.
	Autostart file removed.
	Bus Error at address $fffa42, PC=$2cd76

I.e. there was no bus error at fc0ee4.  According to Compedium:
	"On pre-TOS v2.00, this location marked the beginning of
      the operating system ROMs."
So there are more bus errors (the one at $fc0ee4) with the new core.
Looks as if there is a general difference wrt the handling of bus errors
(when reading data from write protected memory areas?) in the two cores..







Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/