Re: [hatari-devel] 68030 MMU emulation: TEMPLMON, ROMSPEED

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


That does not look very good ... seems there might be something wrong with the TRY/CATCH/THROW stuff.

I did not yet port this to Previous. You may try to undo it:

Go to cpummu030.c, line 1480:

In the function mmu030_put_long_atc there is a line:
THROW(2); //M68000_BusError(addr, 0);

Comment or remove THROW(2) and re-activate M68000_BusError(addr, 0);

There are 5 more functions to do the same (put word, put byte, get long, get word, get byte).

Re-try your test.

I hope it helps!


Am 17.10.2012 um 20:19 schrieb Uwe Seimet:

Hi,

Andreas, have you already tried running TEMPLMON? When I run it Hatari
freezes, tha last lines of the debug output are

PMOVE: read TT0 00000000
PMOVE: read TT1 00000000
PMOVE: read TC 00000000
PMOVE: read MMUSR 0000
PMOVE: read CRP 0000000000000000
PMOVE: read SRP 0000000000000000

When running ROMSPEED 3.11 Hatari crashes and the debug output says:

Gotcha! 2 /home/us/hatari/hatari/src/cpu/newcpu.c in 3357
Longjumping /home/us/hatari/hatari/src/cpu/cpummu030.c in 1573
Gotcha! 2 /home/us/hatari/hatari/src/cpu/newcpu.c in 3357
u 00e0121c 00e0121c 00e0121c
Exception_mmu 00e0121c 00e0121c 00e0121c
Exception_mmu 00e0121c 00e0121c 00e0121c
Exception_mmu 00e0121c 00e0121c 00e0121c
Exception_mmu 00e0121c 00e0121c 00e0121c
Exception_mmu 00e0121c 00e0121c 00e0121c

...

Exception_mmu 00e02000 00e02000 00e02000
CPU Root Pointer: 8000000200000700
Table A at 00000700: index = 15, Next descriptor: 121C0000
Invalid descriptor!
ATC is full. Replacing entry 15
ATC create entry(15): logiLongjumping
/home/us/hatari/hatari/src/cpu/cpummu030.c in 1513
Gotcha! 2 /home/us/hatari/hatari/src/cpu/cpummu030.c in 1836
Gotcha! 2 /home/us/hatari/hatari/src/cpu/cpummu030.c in 1836
Gotcha! 2 /home/us/hatari/hatari/src/cpu/newcpu.c in 3357
try stack underflow...
cal = FFFF8000, physical = 00000000, FC = 5
ATC create entry(15): B = 1, CI = 0, WP = 0, M = 1
Exception_mmu 00e02000 00e02000 fffffffe


Take care

Uwe





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