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

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


I found what's wrong: It's the way the debug message is generated. This is
from newcpu.c line 2529:

       if (warned < 20) {
                write_log ("Illegal instruction: %04x at %08X -> %08X\n", opcode, pc, get_long (regs.vbr + 0x10));

get_long() results in a bus error, i.e. write_log causes the actual
crash by calling get_long(). After removing this line PD starts without
any crash.

Take care


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