Editing Talk:PS2 Emulation

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 514: Line 514:
  b        end_134844
  b        end_134844
Value from 0x20(r31) is later used in compare. That result in cdvd error, or in setting which seems schedule event to happen after time from timebase pass. This event is netemu syscall 8 (0x200) which is related to all ps2 cdvd reads. Tl;dr is that value give emulator some more time before cdvd error. Weird thing is that PS button fix it.. --[[User:Kozarovv|Kozarovv]] ([[User talk:Kozarovv|talk]]) 07:05, 7 March 2022 (UTC)
Value from 0x20(r31) is later used in compare. That result in cdvd error, or in setting which seems schedule event to happen after time from timebase pass. This event is netemu syscall 8 (0x200) which is related to all ps2 cdvd reads. Tl;dr is that value give emulator some more time before cdvd error. Weird thing is that PS button fix it.. --[[User:Kozarovv|Kozarovv]] ([[User talk:Kozarovv|talk]]) 07:05, 7 March 2022 (UTC)
===ps2_netemu command 0x4D===
Leaving this here just in case. Fixed comments version.
0xD7F8 RGBAQ_01_and_11:
0xD7F8
0xD800 move      r80, r3              ; move new values to r80
0xD820 ilhu      r19, 0x7FFF
0xD824 lqr      r20, Q_val_cfg_plus4
0xD82C iohl      r19, 0xFFFF
0xD834 and      r17, r80, r19        ; r17 = Q & 0x7FFFFFFF
0xD840 ceqi      r15, r17, 0          ; if r17 == 0, r15 = 0xFFFFFFF, else 0
0xD844 lqr      r10, ST_Q
0xD84C cwd      r9, 0x30+var_30+8(sp) ; Prepare correct write
0xD850 rotqbyi  r16, r20, 4          ; load cmd value from config to r16
0xD858 and      r12, r15, r16        ; r15 & value_from_cfg
0xD860 or        r5, r80, r12          ; r80(Q) | r12(value from cfg or 0)
0xD868 shufb    r7, r5, r10, r9      ; select ST bits + new Q
0xD870 stqr      r7, ST_Q              ; store result as Q value in STQ


===ps2_gxemu command 0x19===
===ps2_gxemu command 0x19===
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)