[hatari-devel] Solved: Pure debugger, illegal opcodes, exceptions |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi,
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
Uwe
- References:
- [hatari-devel] IDE emulation and Pure debugger
- Re: [hatari-devel] Pure debugger, illegal opcodes, exceptions
- From: Laurent Sallafranque
- Re: [hatari-devel] Pure debugger, illegal opcodes, exceptions
- Re: [hatari-devel] Pure debugger, illegal opcodes, exceptions
- Re: [hatari-devel] Pure debugger, illegal opcodes, exceptions
- Re: [hatari-devel] Pure debugger, illegal opcodes, exceptions