WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: Jassim on January 04, 2009, 03:45:51 AM

Title: last question and i will seriously shut my gob, how do you lock 16 bits
Post by: Jassim on January 04, 2009, 03:45:51 AM
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.
Title: Re: last question and i will seriously shut my gob, how do you lock 16 bits
Post by: Romaap on January 04, 2009, 10:17:20 AM
You know, you can always check this page (http://www.usbgecko.com/codetypes.htm) 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
Title: Re: last question and i will seriously shut my gob, how do you lock 16 bits
Post by: Igglyboo on January 04, 2009, 09:13:01 PM
Just read the damn code types.
Title: Re: last question and i will seriously shut my gob, how do you lock 16 bits
Post by: wiiztec on November 27, 2009, 07:20:31 PM
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

Title: Re: last question and i will seriously shut my gob, how do you lock 16 bits
Post by: Romaap on November 28, 2009, 01:08:27 AM
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)
Title: Re: last question and i will seriously shut my gob, how do you lock 16 bits
Post by: wiiztec on November 28, 2009, 02:05:38 AM
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