Kodewerx https://www.kodewerx.org/forum/ |
|
CBDS slider code not doing what i want it to do https://www.kodewerx.org/forum/viewtopic.php?f=17&t=5420 |
Page 1 of 1 |
Author: | mastersord [ Sun Mar 23, 2008 9:27 am ] |
Post subject: | CBDS slider code not doing what i want it to do |
I've created a set of data-block codes for pokemon mystery dungeon 2: Time version. The idea is I want them to skip 13 half-words before writing again. In other words, all the values will be written into consecutive blocks of 13 16-bit addresses. If you look in a memory editor, the writes should extend into addresses past 022AE000. I can't be clearer than that. So looking at the slider code type: Type 0x40 Slider 4XXXXXXX TWWWZZZZ YYYYYYYY VVVVVVVV XXXXXXX = Address to be writen to T = Bit-type Write, 0 for 32-Bit, 1 for 16-Bit and 2 for 8-Bit WWW = Number of times to repeat ZZZZ = Increase Address by (Multiply by data size (1 << (2 - T))) YYYY = Word to be written VVVVVVVV = Increase Value by I created these codes. iDeaS doesn't like them. I can't convert them to AR because I'm incrementing the value on the 4th code. Are these codes correct for what i want to do? 422A4D30 12150013 00000003 00000000 422A4D34 12150013 00000600 00000000 422A4D36 12150013 00000006 00000000 422A4D38 12150013 00000001 00000001 422A4D3C 12150013 000003E7 00000000 422A4D3E 12150013 000003E7 00000000 422A4D40 12150013 0000FFFF 00000000 422A4D42 12150013 0000FFFF 00000000 422A4D44 12150013 00000000 00000000 422A4D46 12150013 00000000 00000000 422A4D48 12150013 000001E0 00000000 422A4D72 12150013 00001F21 00000000 422A4D74 12150013 00002121 00000000 422A4D76 12150013 00000025 00000000 |
Author: | Dualscreenman [ Sun Mar 23, 2008 10:02 am ] |
Post subject: | Re: CBDS slider code not doing what i want it to do |
To clarify, you want to skip 0x13 half words, correct? You code, as it stands, would skip 0x13 bytes. If you wanted to skip 0x13 half words I believe you'd want to have the code skip 0x26 bytes before the next write. Anyhow, the code looks valid. So is iDeaS saying that the codes are not valid CB codes? I'd use no$gba, if possible; its cheat support is better. |
Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |