15

« **on:** February 14, 2011, 06:56:44 pm »
I tried to dissasemble the Digimon World Ogremon Fortress Scene by using the references in the Memory.

**Which got me for the NTSC this:**

`001ba32c: 8f827882 lw r2,0x7882(r28)`

001ba330: 40819582 mtc0 r1,gtecr01_r13r21

001ba334: 92828182 lbu r2,-0x7e7e(r20)

001ba338: 40818582 mtc0 r1,cop0cr16_erreg

001ba33c: 8e828182 lw r2,-0x7e7e(r20)

001ba340: 6e824081 illegal

001ba344: 92828782 lbu r2,-0x787e(r20)

001ba348: 8d828582 lw r2,-0x7a7e(r12)

001ba34c: 8e828f82 lw r2,-0x707e(r20)

001ba350: 82824081 lb r2,0x4081(r20)

001ba354: 8e828182 lw r2,-0x7e7e(r20)

001ba358: 89828482 lwl r2,-0x7b7e(r12)

001ba35c: 49819482 illegal

001ba360: 7382000d illegal

001ba364: 89828882 lwl r2,-0x777e(r12)

001ba368: 40819382 mtc0 r1,gtecr01_r13r21

001ba36c: 93828982 lbu r2,-0x767e(r28)

001ba370: 99824081 lwr r2,0x4081(r12)

001ba374: 95828f82 lhu r2,-0x707e(r12)

001ba378: 40819282 mtc0 r1,gtecr01_r13r21

001ba37c: 89828882 lwl r2,-0x777e(r12)

001ba380: 85828482 lh r2,-0x7b7e(r12)

001ba384: 95828f82 lhu r2,-0x707e(r12)

001ba388: 49819482 illegal

001ba38c: 0000000d break 0x00000000

001ba390: 001a051b divu r0,r26

001ba394: 88827682 lwl r2,0x7682(r4)

001ba398: 94828182 lhu r2,-0x7e7e(r4)

001ba39c: 81824081 lb r2,0x4081(r12)

001ba3a0: 85829282 lh r2,-0x6d7e(r12)

001ba3a4: 99824081 lwr r2,0x4081(r12)

001ba3a8: 95828f82 lhu r2,-0x707e(r12)

001ba3ac: 94824081 lhu r2,0x4081(r4)

001ba3b0: 8c828182 lw r2,-0x7e7e(r4)

001ba3b4: 89828b82 lwl r2,-0x747e(r12)

001ba3b8: 87828e82 lh r2,-0x717e(r28)

001ba3bc: 81824081 lb r2,0x4081(r12)

001ba3c0: 8f828282 lw r2,-0x7d7e(r28)

001ba3c4: 94829582 lhu r2,-0x6a7e(r4)

001ba3c8: 000d4881 illegal

001ba3cc: 00560000 sll r0,r22,0x00

001ba3d0: 006707fd illegal

001ba3d4: fd1b000f illegal

001ba3d8: 7882001a illegal

001ba3dc: 95828f82 lhu r2,-0x707e(r12)

001ba3e0: 97824081 lhu r2,0x4081(r28)

001ba3e4: 92828582 lbu r2,-0x7a7e(r20)

001ba3e8: 40818582 mtc0 r1,cop0cr16_erreg

001ba3ec: 95828c82 lhu r2,-0x737e(r12)

001ba3f0: 8b828382 lwl r2,-0x7c7e(r28)

001ba3f4: 40819982 mtc0 r1,gtecr02_r22r23

001ba3f8: 81828c82 lb r2,-0x737e(r12)

001ba3fc: 94829382 lhu r2,-0x6c7e(r4)

001ba400: 94824081 lhu r2,0x4081(r4)

001ba404: 8d828982 lw r2,-0x767e(r12)

001ba408: 49818582 illegal

001ba40c: 6682000d illegal

001ba410: 96828982 lhu r2,-0x767e(r20)

001ba414: 40818582 mtc0 r1,cop0cr16_erreg

001ba418: 90829582 lbu r2,-0x6a7e(r4)

001ba41c: 000d4981 illegal

001ba420: 00560000 sll r0,r22,0x00

001ba424: 001600fd illegal

001ba428: 051b0552 illegal

001ba42c: 7682001a illegal

001ba430: 97828f82 lhu r2,-0x707e(r28)

001ba434: 000d4981 illegal

001ba438: 054e0000 illegal

001ba43c: fbdefe9c illegal

001ba440: 00670001 illegal

001ba444: fd4e0028 illegal

001ba448: faa1fea3 illegal

001ba44c: fc4e0001 illegal

001ba450: f91ffe9d illegal

001ba454: fd4a0001 illegal

001ba458: 004cfc4a illegal

001ba45c: 004c05fd illegal

001ba460: 054e05fc illegal

The VERY SAME scene written for the Pal Version:

`0015b1a0: 001afd1b divu r0,r26`

0015b1a4: 95826382 lhu r2,0x6382(r12)

0015b1a8: 82824081 lb r2,0x4081(r20)

0015b1ac: 93828982 lbu r2,-0x767e(r28)

0015b1b0: 40819482 mtc0 r1,gtecr01_r13r21

0015b1b4: 89828582 lwl r2,-0x7a7e(r12)

0015b1b8: 40818e82 mtc0 r1,gtecr00_r11r12

0015b1bc: 87826e82 lh r2,0x6e82(r28)

0015b1c0: 85829282 lh r2,-0x6d7e(r12)

0015b1c4: 8f828d82 lw r2,-0x727e(r28)

0015b1c8: 7c818e82 illegal

0015b1cc: 81826182 lb r2,0x6182(r12)

0015b1d0: 84828e82 lh r2,-0x717e(r4)

0015b1d4: 94828982 lhu r2,-0x767e(r4)

0015b1d8: 000d4981 illegal

0015b1dc: 81826382 lb r2,0x6382(r12)

0015b1e0: 40819382 mtc0 r1,gtecr01_r13r21

0015b1e4: 93828982 lbu r2,-0x767e(r28)

0015b1e8: 40819482 mtc0 r1,gtecr01_r13r21

0015b1ec: 95828582 lhu r2,-0x7a7e(r12)

0015b1f0: 92828582 lbu r2,-0x7a7e(r20)

0015b1f4: 75824081 illegal

0015b1f8: 92828582 lbu r2,-0x7a7e(r20)

0015b1fc: 94829382 lhu r2,-0x6c7e(r4)

0015b200: 83828582 lb r2,-0x7a7e(r28)

0015b204: 49818b82 illegal

0015b208: 0000000d break 0x00000000

0015b20c: 001a051b divu r0,r26

0015b210: 81827682 lb r2,0x7682(r12)

0015b214: 40819382 mtc0 r1,gtecr01_r13r21

0015b218: 85829282 lh r2,-0x6d7e(r12)

0015b21c: 85828482 lh r2,-0x7b7e(r12)

0015b220: 94829382 lhu r2,-0x6c7e(r4)

0015b224: 84824081 lh r2,0x4081(r4)

0015b228: 40819582 mtc0 r1,gtecr01_r13r21

0015b22c: 81828482 lb r2,-0x7b7e(r12)

0015b230: 000d4881 illegal

0015b234: 00560000 sll r0,r22,0x00

0015b238: 006707fd illegal

0015b23c: fd1b000f illegal

0015b240: 6b82001a illegal

0015b244: 94828582 lhu r2,-0x7a7e(r4)

0015b248: 94829a82 lhu r2,-0x657e(r4)

0015b24c: 93828582 lbu r2,-0x7a7e(r28)

0015b250: 6c824081 illegal

0015b254: 8c828182 lw r2,-0x7e7e(r4)

0015b258: 88824081 lwl r2,0x4081(r4)

0015b25c: 94828182 lhu r2,-0x7e7e(r4)

0015b260: 85829482 lh r2,-0x6b7e(r12)

0015b264: 94829382 lhu r2,-0x6c7e(r4)

0015b268: 84824081 lh r2,0x4081(r4)

0015b26c: 000d9582 srl r18,r13,0x16

0015b270: 8c826682 lw r2,0x6682(r4)

0015b274: 83825883 lb r2,0x5883(r28)

0015b278: 44818b82 illegal

0015b27c: 64824081 illegal

0015b280: 87829282 lh r2,-0x6d7e(r28)

0015b284: 82828982 lb r2,-0x767e(r20)

0015b288: 84824081 lh r2,0x4081(r4)

0015b28c: 83828982 lb r2,-0x767e(r28)

0015b290: 49818882 illegal

0015b294: 0000000d break 0x00000000

0015b298: 00fd0056 illegal

0015b29c: 051c0016 illegal

0015b2a0: 001a051b divu r0,r26

0015b2a4: 86827482 lh r2,0x7482(r20)

0015b2a8: 49818682 illegal

0015b2ac: 0000000d break 0x00000000

0015b2b0: fe9c054e illegal

0015b2b4: 0001fbde illegal

0015b2b8: 00280067 nor r0,r1,r8

0015b2bc: fea3fd4e illegal

0015b2c0: 0001faa1 addu r31,r0,r1

0015b2c4: fe9dfc4e illegal

0015b2c8: 0001f91f illegal

0015b2cc: fc4afd4a illegal

0015b2d0: 05fd004c illegal

0015b2d4: 05fc004c illegal

Now even for my eyes the programmers seemed to have screwed up at the Pal as we have the famous "Pal Bug".

Now my knowledge to ASM is nearly 0 so if anyone can tell me anything useful that would be really appreciated.

With Best Regads.