Floating Value in ASM C2

Started by Deathwolf, July 18, 2010, 11:45:41 AM

Previous topic - Next topic

Deathwolf

#45
I trought lbz = XX000000
and lwz = XXXXXXXX

like stw and stb
lolz

dcx2

no.  lbz will align the xx that it reads.

---

Let's say some memory cell is 002C0000.  It is pointed at by r31.

lbz r4,1(r31)  --->  r4 = 0000002C

alignment!

---

li r4, 0xC2
stb r4,1(r31)  ---> 00C20000

alignment!

---

stb will ignore unaligned bytes

Let's say the memory cell now has 12345678

li r4,0
stb r4,1(r31)  ---> 12005678

James0x57

Quote from: dcx2 on July 19, 2010, 06:47:16 PM
WiiRDGUI will sometimes freeze if you apply C2 codes more than once.
So does Gecko.NET. >.>


Deathwolf

dcx2!??!??

lol!?

yes I use WiiRd and it screws sometimes up if I activate the C2 code more times.
lolz

dcx2

Quote from: James0x57 on July 19, 2010, 07:12:48 PM
Quote from: dcx2 on July 19, 2010, 06:47:16 PM
WiiRDGUI will sometimes freeze if you apply C2 codes more than once.
So does Gecko.NET. >.>
Not if you use "Pause While Sending".

Deathwolf

lolz

James0x57

Quote from: dcx2 on July 19, 2010, 07:18:05 PM
Quote from: James0x57 on July 19, 2010, 07:12:48 PM
Quote from: dcx2 on July 19, 2010, 06:47:16 PM
WiiRDGUI will sometimes freeze if you apply C2 codes more than once.
So does Gecko.NET. >.>
Not if you use "Pause While Sending".
It still freezes about half the time.
Though I doubt I was only applying one C2 code when it happened.. so maybe that's part of it?

Next time I hack I'll get more details of exactly what I was doing..

Oh and this was on a GCN game so the code handler is a bit outdated, that could also be part of it.


dcx2

*thread hijack in progress*

It still freezes with Pause While Sending?  Applying more than one C2 code shouldn't have any effect.

With WiiRDGUI the process used to include doing a Step after applying the codes and before unpausing, but some testing showed that I didn't need the Step with Gecko.NET.  If you can reliably freeze re-applied C2 codes with Gecko.NET, then I can make a special build for you that includes the Step and we'll see if that fixed the problem.