last question and i will seriously shut my gob, how do you lock 16 bits

Started by Jassim, January 04, 2009, 03:45:51 AM

Previous topic - Next topic

Jassim

ive tried sooo hard to understand how to lock 16 bits, now i know how to lock 8 and 32 bits but have no idea how i lock 16 bits.

now ive got this code so far:
8060C98 9999

but im realy struggling to find a way to lock it, can someone please please please help me with that and im so sorry for my countless, pointless threads im trying my absolute best to get used to this stuff and thx soooooooooooooo much to every1 thats already been helping me.

do NOT pm me to request a code or if you have any problems with my code.
[spoiler]http://cristgaming.com/pirate.swf[/spoiler]



Romaap

You know, you can always check this page if you want to know the codetypes, it even comes with WiiRD in the documentation directory.


so:
CST1: 16bits Write & Fill

02______ YYYYXXXX : 16bits ram write and fill (ba) writes XXXX YYYY+1 times at ba+address

12______ YYYYXXXX : 16bits ram write and fill (po) writes XXXX YYYY+1 times at po+address

you need the 02 so it will be: 0260C98 00009999

Igglyboo


wiiztec

That seems to suggest that it will only write it once "writes XXXX YYYY+1 times" 00009999 YYYY=0000 0000+1 = 1 1 times, the 04 codetype constantly writes a 32 bit value to an address while the 02 codetype according to the code type document will only write a finite number of times

If there's any code at all that you want to be button activated, or even able to toggle on & off, and I have the game, just PM me and I'll make it happen

Romaap

No, here is an example of how it is used:

if YYYY is 5 and the address is 80503020, then it will write XXXX to 80503020, 80503022, 80503024, 80503026, 80503028 and 8050302A.
(It writes to the address and the 5 16-bits after the address)

wiiztec

Well the code type document could sure use some clarification perhaps it should say "writes XXXX to ba+address and YYYY # of 16 bit values ahead of ba+address
If there's any code at all that you want to be button activated, or even able to toggle on & off, and I have the game, just PM me and I'll make it happen