On 21 July 2015 at 07:44, Wolfgang Lenerz <w...@wlenerz.com> wrote: > Hi, > >>>> So somewhere in the loading process it crashes. If I break with the >>>> hatari debugger and disassemble I end up in a loop that doesn't end. >>>> I have no idea where the loop is in the source tree. >>> >>> > > > What kind of loop is it? > > Is it a branch to the same address? If yes, you might want to check the A7 > stack for a return address, that could show you where this is called from.
The A7 points to 3cc. I have no idea if that is something inside the kernel or something else. I disassembled at that address, and it looks like that it isn't. This is the loop: $012b46 : 7a41 moveq #$41,d5 $012b48 : b3ca cmpa.l a2,a1 $012b4a : 6dfa blt.s $12b46 $012b4c : 4e75 rts registerdump: D0: 00016a4c D1: 0002d9de D2: 00006a40 D3: 00000032 D4: 00000000 D5: 00000041 D6: 00000000 D7: 000f6b8c A0: 00029ae6 A1: 00012b48 A2: 00016a40 A3: 0000fffc A4: 000003ec A5: 000003f0 A6: 00012b40 A7: 000003cc USP=000f7ff2 ISP=000003cc MSP=00000000 VBR=00000000 > > Does your debugger have a function where you can call it from the source > code (something like > Nope. _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm