Editing Talk:PS2 Emulation
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 243: | Line 243: | ||
scetool --template orig_ps2_netemu.self --sce-type=SELF --compress-data=TRUE --encrypt ps2_netemu.elf ps2_netemu.self | scetool --template orig_ps2_netemu.self --sce-type=SELF --compress-data=TRUE --encrypt ps2_netemu.elf ps2_netemu.self | ||
Remember to delete netemu from flash, then copy new one. Overwriting can fail as there is not enough space on dev_flash. --[[User:Kozarovv|Kozarovv]] ([[User talk:Kozarovv|talk]]) 07:35, 12 March 2022 (UTC) | Remember to delete netemu from flash, then copy new one. Overwriting can fail as there is not enough space on dev_flash. --[[User:Kozarovv|Kozarovv]] ([[User talk:Kozarovv|talk]]) 07:35, 12 March 2022 (UTC) | ||
===ps2_netemu command 0x06=== | |||
Default VIF1_OFST processing (without cmd) | |||
0x14F40 VIF1_OFST_14F40: | |||
0x14F40 shufb sp, r104, r104, r89 | |||
0x14F44 hbra loc_14F74, loc_147C0 | |||
0x14F48 a sp, sp, r77 | |||
0x14F4C shufb sp, r103, r102, sp | |||
0x14F50 stqa sp, VIF1_CODE | |||
0x14F54 stqa sp, VIF1_OFST | |||
0x14F58 lqa sp, VIF1_BASE | |||
0x14F5C stqa sp, VIF1_TOPS | |||
0x14F60 stqa sp, xmmword_12240 | |||
0x14F64 lqa sp, VIF1_STAT | |||
0x14F68 andi sp, sp, -0x81 | |||
0x14F6C stqa sp, VIF1_STAT | |||
0x14F70 nop | |||
0x14F74 bra loc_147C0 | |||
Alternative VIF1_OFST handling (CMD 0x06 applied) | |||
0x14F80 VIF1_OFST_CMD0x06_14F80: | |||
0x14F80 ila sp, VIF1_OFST_CMD0x06_14F80 | |||
0x14F84 shufb r2, r104, r104, r89 | |||
0x14F88 ila r9, 4 | |||
0x14F8C hbra loc_14FE4, loc_147C0 | |||
0x14F90 a r2, r2, r77 | |||
0x14F94 shufb r2, r103, r102, r2 | |||
0x14F98 stqa r2, VIF1_CODE | |||
0x14F9C stqa r2, VIF1_OFST | |||
0x14FA0 lqa r5, xmmword_510 | |||
0x14FA4 lqa r4, xmmword_123B0 | |||
0x14FA8 lqa r3, xmmword_530 | |||
0x14FAC lnop | |||
0x14FB0 lqa r2, VIF1_BASE | |||
0x14FB4 andi r5, r5, 0xF | |||
0x14FB8 ceq r3, r3, r4 | |||
0x14FBC brnz r5, loc_14C00 | |||
0x14FC0 ila r9, 8 | |||
0x14FC4 rotqbyi r3, r3, 0xC | |||
0x14FC8 brz r3, loc_14C00 | |||
0x14FCC stqa r2, VIF1_TOPS | |||
0x14FD0 stqa r2, xmmword_12240 | |||
0x14FD4 lqa sp, VIF1_STAT | |||
0x14FD8 andi sp, sp, 0xFFFFFF73 | |||
0x14FDC stqa sp, VIF1_STAT | |||
0x14FE0 nop | |||
0x14FE4 bra loc_147C0 | |||
===ps2_netemu command 0x0B=== | ===ps2_netemu command 0x0B=== |