Difference between revisions of "000201b4 - 000202a4"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 000201b4: 3c038003 lui r3,0x8003 000201b8: 8c631b54 lw r3,0x1b54(r3) 000201bc: 00000000 nop 000201c0: 946201b8 lhu r2,0x01b8(r3) 000201c4: 000...")
 
m (not done)
 
Line 2: Line 2:
 
   
 
   
 
  000201b4: 3c038003 lui r3,0x8003
 
  000201b4: 3c038003 lui r3,0x8003
  000201b8: 8c631b54 lw r3,0x1b54(r3)
+
  000201b8: 8c631b54 lw r3,0x1b54(r3)                 # SPU voice registers
 
  000201bc: 00000000 nop
 
  000201bc: 00000000 nop
  000201c0: 946201b8 lhu r2,0x01b8(r3)
+
  000201c0: 946201b8 lhu r2,0x01b8(r3)               # loads some SPU control 5?
 
  000201c4: 00000000 nop
 
  000201c4: 00000000 nop
 
  000201c8: 14400009 bne r2,r0,0x000201f0
 
  000201c8: 14400009 bne r2,r0,0x000201f0
 
  000201cc: 27bdfff8 addiu r29,r29,0xfff8
 
  000201cc: 27bdfff8 addiu r29,r29,0xfff8
  000201d0: 946201ba lhu r2,0x01ba(r3)
+
  000201d0: 946201ba lhu r2,0x01ba(r3)               # load SPU control 6?
 
  000201d4: 00000000 nop
 
  000201d4: 00000000 nop
 
  000201d8: 14400006 bne r2,r0,0x000201f4
 
  000201d8: 14400006 bne r2,r0,0x000201f4
 
  000201dc: 34023fff ori r2,r0,0x3fff
 
  000201dc: 34023fff ori r2,r0,0x3fff
  000201e0: a4620180 sh r2,0x0180(r3)
+
  000201e0: a4620180 sh r2,0x0180(r3)                 # SPU control volume = 0x3fff
  000201e4: a4620182 sh r2,0x0182(r3)
+
  000201e4: a4620182 sh r2,0x0182(r3)                 # same same
 
  000201e8: 3c038003 lui r3,0x8003
 
  000201e8: 3c038003 lui r3,0x8003
  000201ec: 8c631b54 lw r3,0x1b54(r3)
+
  000201ec: 8c631b54 lw r3,0x1b54(r3)                 #
 
  000201f0: 34023fff ori r2,r0,0x3fff
 
  000201f0: 34023fff ori r2,r0,0x3fff
  000201f4: a46201b0 sh r2,0x01b0(r3)
+
  000201f4: a46201b0 sh r2,0x01b0(r3)                 # store same value to some SPU control values
 
  000201f8: a46201b2 sh r2,0x01b2(r3)
 
  000201f8: a46201b2 sh r2,0x01b2(r3)
 
  000201fc: 3402c001 ori r2,r0,0xc001
 
  000201fc: 3402c001 ori r2,r0,0xc001
  00020200: a46201aa sh r2,0x01aa(r3)
+
  00020200: a46201aa sh r2,0x01aa(r3)                 # store 0xc001
 
  00020204: 3c038003 lui r3,0x8003
 
  00020204: 3c038003 lui r3,0x8003
  00020208: 8c631b40 lw r3,0x1b40(r3)
+
  00020208: 8c631b40 lw r3,0x1b40(r3)              
 
  0002020c: 34020080 ori r2,r0,0x0080
 
  0002020c: 34020080 ori r2,r0,0x0080
 
  00020210: a3a20002 sb r2,0x0002(r29)
 
  00020210: a3a20002 sb r2,0x0002(r29)
Line 29: Line 29:
 
  0002021c: a3a00003 sb r0,0x0003(r29)
 
  0002021c: a3a00003 sb r0,0x0003(r29)
 
  00020220: a3a00001 sb r0,0x0001(r29)
 
  00020220: a3a00001 sb r0,0x0001(r29)
  00020224: a0620000 sb r2,0x0000(r3)
+
  00020224: a0620000 sb r2,0x0000(r3)                 # index CDROM I/O port 2
 
  00020228: 3c038003 lui r3,0x8003
 
  00020228: 3c038003 lui r3,0x8003
 
  0002022c: 8c631b48 lw r3,0x1b48(r3)
 
  0002022c: 8c631b48 lw r3,0x1b48(r3)
  00020230: 93a20000 lbu r2,0x0000(r29)
+
  00020230: 93a20000 lbu r2,0x0000(r29)               # volume?
 
  00020234: 00000000 nop
 
  00020234: 00000000 nop
  00020238: a0620000 sb r2,0x0000(r3)
+
  00020238: a0620000 sb r2,0x0000(r3)                 # parse volume to CDROM
 
  0002023c: 3c038003 lui r3,0x8003
 
  0002023c: 3c038003 lui r3,0x8003
 
  00020240: 8c631b4c lw r3,0x1b4c(r3)
 
  00020240: 8c631b4c lw r3,0x1b4c(r3)

Latest revision as of 06:52, 28 August 2023

000201b4: 3c038003 lui r3,0x8003
000201b8: 8c631b54 lw r3,0x1b54(r3)                 # SPU voice registers
000201bc: 00000000 nop
000201c0: 946201b8 lhu r2,0x01b8(r3)                # loads some SPU control 5?
000201c4: 00000000 nop
000201c8: 14400009 bne r2,r0,0x000201f0
000201cc: 27bdfff8 addiu r29,r29,0xfff8
000201d0: 946201ba lhu r2,0x01ba(r3)                # load SPU control 6?
000201d4: 00000000 nop
000201d8: 14400006 bne r2,r0,0x000201f4
000201dc: 34023fff ori r2,r0,0x3fff
000201e0: a4620180 sh r2,0x0180(r3)                 # SPU control volume = 0x3fff
000201e4: a4620182 sh r2,0x0182(r3)                 # same same
000201e8: 3c038003 lui r3,0x8003
000201ec: 8c631b54 lw r3,0x1b54(r3)                 # 
000201f0: 34023fff ori r2,r0,0x3fff
000201f4: a46201b0 sh r2,0x01b0(r3)                 # store same value to some SPU control values
000201f8: a46201b2 sh r2,0x01b2(r3)
000201fc: 3402c001 ori r2,r0,0xc001
00020200: a46201aa sh r2,0x01aa(r3)                 # store 0xc001 
00020204: 3c038003 lui r3,0x8003
00020208: 8c631b40 lw r3,0x1b40(r3)                
0002020c: 34020080 ori r2,r0,0x0080
00020210: a3a20002 sb r2,0x0002(r29)
00020214: a3a20000 sb r2,0x0000(r29)
00020218: 34020002 ori r2,r0,0x0002
0002021c: a3a00003 sb r0,0x0003(r29)
00020220: a3a00001 sb r0,0x0001(r29)
00020224: a0620000 sb r2,0x0000(r3)                 # index CDROM I/O port 2
00020228: 3c038003 lui r3,0x8003
0002022c: 8c631b48 lw r3,0x1b48(r3)
00020230: 93a20000 lbu r2,0x0000(r29)               # volume?
00020234: 00000000 nop
00020238: a0620000 sb r2,0x0000(r3)                 # parse volume to CDROM
0002023c: 3c038003 lui r3,0x8003
00020240: 8c631b4c lw r3,0x1b4c(r3)
00020244: 93a20001 lbu r2,0x0001(r29)
00020248: 00000000 nop
0002024c: a0620000 sb r2,0x0000(r3)
00020250: 3c038003 lui r3,0x8003
00020254: 8c631b40 lw r3,0x1b40(r3)
00020258: 34020003 ori r2,r0,0x0003
0002025c: a0620000 sb r2,0x0000(r3)
00020260: 3c038003 lui r3,0x8003
00020264: 8c631b44 lw r3,0x1b44(r3)
00020268: 93a20002 lbu r2,0x0002(r29)
0002026c: 00000000 nop
00020270: a0620000 sb r2,0x0000(r3)
00020274: 3c038003 lui r3,0x8003
00020278: 8c631b48 lw r3,0x1b48(r3)
0002027c: 93a20003 lbu r2,0x0003(r29)
00020280: 00000000 nop
00020284: a0620000 sb r2,0x0000(r3)
00020288: 3c038003 lui r3,0x8003
0002028c: 8c631b4c lw r3,0x1b4c(r3)
00020290: 34020020 ori r2,r0,0x0020
00020294: a0620000 sb r2,0x0000(r3)
00020298: 00001021 addu r2,r0,r0
0002029c: 27bd0008 addiu r29,r29,0x0008
000202a0: 03e00008 jr r31
000202a4: 00000000 nop