[OpenBIOS] [morphos] MorphOS on QEMU

BALATON Zoltan balaton at eik.bme.hu
Fri Mar 7 02:35:39 CET 2014


On Fri, 7 Mar 2014, BALATON Zoltan wrote:
> SYS_Start: Start first thread
> SYS_Start: MSR 0x3030

I think it's not working yet. It seems to crash during starting the first 
thread. I traced the calls to here:

0x0040d45c: SYS_StartNextThread?
0x0041f6e8: ?

IN:
0x0041f70c:  lwz     r5,200(r3)
0x0041f710:  lwz     r5,296(r5)
0x0041f714:  lwz     r10,428(r3)
0x0041f718:  lwz     r11,432(r3)
0x0041f71c:  lwz     r12,436(r3)
0x0041f720:  lwz     r13,440(r3)
0x0041f724:  lwz     r14,444(r3)
0x0041f728:  lwz     r15,448(r3)
0x0041f72c:  lwz     r16,452(r3)
0x0041f730:  lwz     r17,456(r3)
0x0041f734:  lwz     r18,460(r3)
0x0041f738:  lwz     r19,464(r3)
0x0041f73c:  lwz     r20,468(r3)
0x0041f740:  lwz     r21,472(r3)
0x0041f744:  lwz     r22,476(r3)
0x0041f748:  lwz     r23,480(r3)
0x0041f74c:  lwz     r24,484(r3)
0x0041f750:  lwz     r25,488(r3)
0x0041f754:  lwz     r26,492(r3)
0x0041f758:  lwz     r27,496(r3)
0x0041f75c:  lwz     r28,500(r3)
0x0041f760:  lwz     r29,504(r3)
0x0041f764:  lwz     r30,508(r3)
0x0041f768:  lwz     r31,512(r3)
0x0041f76c:  mfmsr   r0
0x0041f770:  rlwinm  r0,r0,0,17,15
0x0041f774:  mtmsr   r0

IN:
0x0041f778:  bl      0x41cbcc

IN:
0x0041cbcc:  lwzx    r7,r2,r9
0x0041cbd0:  lwz     r8,24(r5)
0x0041cbd4:  cmpw    r7,r8
0x0041cbd8:  beqlr

invalid bits: 00000001 for opcode: 1f - 17 - 04 (7d02492f) 0041cbdc
IN:
0x0041cbdc:  .long 0x7d02492f

Raise exception at 0041cbe0 => 00000006 (21)

This seems to be due to uninitialised/incorrect data but without knowing 
what the data structures are it is hard to tell.

Regards,
BALATON Zoltan



More information about the OpenBIOS mailing list