Well, I updated my PS2SDK and tried to add the following to SMS:
From a very quick look at the code, I think that'll refresh current directory on Select-X and stop disc spin on Select-Start. Anywaa, when I went to compile, I got a whole bunch of assembler "illegal operand" errors. Anyone have any ideas about those errors? Here's a small sample:Code:case PAD_SELECT | PAD_CROSS : _handle_unmount(); case PAD_SELECT | PAD_START : CDVD_Stop ();
Code:ee-gcc -DLOCK_QUEUES -DRESET_IOP=1 -DVB_SYNC -D_EE -O2 -G8192 -mgpopt -Wall -Iinclude/ -IC:/ps2dev/ps2sdk/ee/include -IC:/ps2dev/ps2sdk/common/include -IC:/ps2dev/ps2sdk/sbv/include -c src/SMS_MP3_MMI.S -o obj/SMS_MP3_MMI.o src/SMS_MP3_MMI.S: Assembler messages: src/SMS_MP3_MMI.S:136: Error: illegal operands `la $a3,COS0_n' src/SMS_MP3_MMI.S:137: Error: illegal operands `lq $t0,0*4($a1)' src/SMS_MP3_MMI.S:137: Error: illegal operands `lq $t1,28*4($a1)' src/SMS_MP3_MMI.S:137: Error: illegal operands `pexew $t1,$t1' src/SMS_MP3_MMI.S:137: Error: illegal operands `qfsrv $t1,$t1,$t1' src/SMS_MP3_MMI.S:137: Error: illegal operands `psubw $t2,$t0,$t1' src/SMS_MP3_MMI.S:137: Error: illegal operands `lq $t3,0*4($a3)' src/SMS_MP3_MMI.S:137: Error: illegal operands `pextuw $t4,$zero,$t2' src/SMS_MP3_MMI.S:137: Error: illegal operands `pextlw $t2,$zero,$t2' src/SMS_MP3_MMI.S:137: Error: illegal operands `pextuw $t5,$zero,$t3' src/SMS_MP3_MMI.S:137: Error: illegal operands `pextlw $t3,$zero,$t3' src/SMS_MP3_MMI.S:137: Error: illegal operands `pmultw $t2,$t2,$t3' src/SMS_MP3_MMI.S:137: Error: illegal operands `pmultw $t4,$t4,$t5' src/SMS_MP3_MMI.S:137: Error: illegal operands `paddw $t0,$t0,$t1' src/SMS_MP3_MMI.S:137: Error: illegal operands `sq $t0,0*4($a1)' src/SMS_MP3_MMI.S:137: Error: illegal operands `psraw $t2,$t2,15'


LinkBack URL
About LinkBacks




. Are you using Linux?
) be included in SVN, then don't hesitate to submit your updates after being sure that it works
...