Possible Error/Bad-Instruction in Gecko Code Handler for C0 Code Usage
#10
As mentioned earlier, you can easily use memcpy or memset address. Ye it would suck (code will be longer and not look clean), but it will work.

With either one you choose to use, r0, r3 thru r6 won't be safe. r7 might not be safe too. LR won't be safe either, and I can't remember about the CTR's safety. The CR might not be safe as well, use cr7 instead of cr0 if that's the case.

If you REALLY want to use the C0 codetype, then you gonna have to write in a hacky patch to (at the decrementer vector area) to attempt to fix the r13 issue. That would be a lot of investigating. Going that route, you might as well rewrite/fix the code handler on the C0 code types.
Reply


Messages In This Thread
RE: Possible Error/Bad-Instruction in Gecko Code Handler for C0 Code Usage - by Vega - 10-16-2019, 01:12 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)