Code Patcher v1.0 [JoshuaMK]
#2
Nice! Next up, GCT extender!

What is the purpose of the isync instruction for the C0 code? Have you tried the C0 without the isync?

On the ASM with the sprintf function, you should only need to allocate 0x80 stack space, not 0x90.

Also on the call_link macro, go to Stars thread on the Draw text, he's optimized the macro. You have the functions' first half address in a global variable register. Then do a macro with Ori, mtlr, blrl for both functions so the two occurrences of lis is not needed.

My current graphical codes (except Clock) use the old macro.
Reply


Messages In This Thread
Code Patcher v1.0 [JoshuaMK] - by JoshuaMK - 10-16-2019, 05:49 AM
RE: Code Patcher v1.0 [JoshuaMK] - by Vega - 10-16-2019, 04:48 PM
RE: Code Patcher v1.0 [JoshuaMK] - by JoshuaMK - 10-16-2019, 04:56 PM
RE: Code Patcher v1.0 [JoshuaMK] - by Vega - 10-16-2019, 10:15 PM
RE: Code Patcher v1.0 [JoshuaMK] - by salmon01 - 10-17-2019, 01:38 AM
RE: Code Patcher v1.0 [JoshuaMK] - by Star - 10-17-2019, 10:56 PM
RE: Code Patcher v1.0 [JoshuaMK] - by Vega - 10-17-2019, 11:02 PM
RE: Code Patcher v1.0 [JoshuaMK] - by Vega - 11-19-2019, 12:31 AM
RE: Code Patcher v1.0 [JoshuaMK] - by JoshuaMK - 11-19-2019, 02:21 AM
RE: Code Patcher v1.0 [JoshuaMK] - by Vega - 11-19-2019, 03:27 AM
RE: Code Patcher v1.0 [JoshuaMK] - by JoshuaMK - 11-19-2019, 03:36 AM
RE: Code Patcher v1.0 [JoshuaMK] - by Vega - 11-19-2019, 04:08 AM
RE: Code Patcher v1.0 [JoshuaMK] - by JoshuaMK - 11-19-2019, 05:27 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)