Congratz on conjuring up your first source.
Some notes/tips:
I don't know if r27 is the "base" pointer for the portion of code for the slot loading. You will need to step by step your code and see if r3 (after the lbz) is always a number from 0 thru B. If not, then try r29. Tutorial for stepping - https://mariokartwii.com/showthread.php?tid=1383
And oh yeah, I totally forgot. Yes, youre right, you can just store both the Slot & Item to the EVA, instead of a flag. Nice catch.
You have the default instruction in your source twice, remove the 2nd one.
You also have "lis r12, 0x8000" twice. Not needed as r12's value remains intact by the time your code reaches the 2nd stb.
Regarding the weird dolphin logs. Write8 must mean 8-bits. Can't be 8 bytes because that's a double-word. Not sure about why those pointers are being listed. No idea tbh.
Some notes/tips:
I don't know if r27 is the "base" pointer for the portion of code for the slot loading. You will need to step by step your code and see if r3 (after the lbz) is always a number from 0 thru B. If not, then try r29. Tutorial for stepping - https://mariokartwii.com/showthread.php?tid=1383
And oh yeah, I totally forgot. Yes, youre right, you can just store both the Slot & Item to the EVA, instead of a flag. Nice catch.
You have the default instruction in your source twice, remove the 2nd one.
You also have "lis r12, 0x8000" twice. Not needed as r12's value remains intact by the time your code reaches the 2nd stb.
Regarding the weird dolphin logs. Write8 must mean 8-bits. Can't be 8 bytes because that's a double-word. Not sure about why those pointers are being listed. No idea tbh.