BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup

Join the forum, it's quick and easy

BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks
Would you like to react to this message? Create an account in a few clicks or log in to continue.
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Latest topics
» Dropped Out of College to Pursue Web Dev and Life Pursuits in General
Slider / Multi Skip (Serial) Empty5/16/2024, 8:25 am by Bully@WiiPlaza

» Bully Made It Into a BIG Video 400K Views
Slider / Multi Skip (Serial) Empty4/7/2024, 6:58 am by Bully@WiiPlaza

» Wii Play Tanks
Slider / Multi Skip (Serial) Empty3/24/2024, 2:46 pm by helpmeout

» [Bypass Paywalls] (Global) @magnolia1234 - GitLab
Slider / Multi Skip (Serial) Empty3/18/2024, 3:55 am by Seth@WiiPlaza

» [Download] Mary Shelley's Frankenhole
Slider / Multi Skip (Serial) Empty3/16/2024, 8:29 am by Seth@WiiPlaza

» Completely Custom Modded Controllers (Undetectable)
Slider / Multi Skip (Serial) Empty3/5/2024, 1:55 pm by Shadow@BWH

» (Zombies) Drink perks code?
Slider / Multi Skip (Serial) Empty3/5/2024, 1:24 pm by Shadow@BWH

» Die Rückkehr zu STEAM und WARFACE
Slider / Multi Skip (Serial) Empty3/2/2024, 3:54 am by Seth@WiiPlaza

» First person hand model change?
Slider / Multi Skip (Serial) Empty2/28/2024, 4:53 am by Ad3lamac611

» {RELEASE} Field Raider Firefox v1.72 by Seth@WiiPlaza
Slider / Multi Skip (Serial) Empty2/21/2024, 8:52 am by naxil

Search
 
 

Display results as :
 


Rechercher Advanced Search

May 2024
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  

Calendar Calendar

Country Statistics
Free counters!

You are not connected. Please login or register

Slider / Multi Skip (Serial)

2 posters

Go down  Message [Page 1 of 1]

1Slider / Multi Skip (Serial) Empty Slider / Multi Skip (Serial) 7/15/2012, 8:40 am

Bully@WiiPlaza

Bully@WiiPlaza
 
 

Purpose:

Used when writing a value to continuous addresses which have the same offset (between each other). Possiblity to increment the written value after each write with another fixed value (negative to substract since adding a negative value is the same as subtracting a positive one).

A replacement for multiple "direct ram write" code lines to shorten codes.

Template:

??SSSSSS XXXXXXXX
TNNNZZZZ VVVVVVVV

?? stands for the codetype:

Base address & address less than 0x81000000
or 0x91000000
08
Base address & address greater than 0x80FFFFFF or 0x90FFFFFF09
Pointer & address less than 0x81000000 or 0x91000000 18
Pointer & address greater than 0x80FFFFFF or 0x90FFFFFF19
For addresses / offsets greater than 0x80FFFFFF, add 0x1 to the codetype. When using pointer add 0x10 to the codetype.

SSSSSS
stands for the address you start at when using base address or the offset to add when using pointer,
XXXXXXXX for the value to write,
T for the value size (0 is 8 bit, 1 is 16 bit and 2 is 32 bit),
NNN for the amount of additional (!) RAM writes to perform,
ZZZZ for the distance in bytes between each RAM write,
VVVVVVVV for the amount which is added to the value after each write.


Example #1:

We want to write the value 0x00000000 to address 0x80E3A200 using pointer with a value size of 32 bit, 0x14 additional addresses with a value increment of -1 and no distance between each write:

18E3A200 00000000
20140004 FFFFFFFF

Note:


The default distance for 32 bit is 0004 bytes in order to reach the next address. It is 0002 for 16 bit and 0001 for 8 bit. Using 0000 would make it write to the same address over and over again.

Example #2:

We want to write the value 0x00000055 to address 0x8103A200 using base address with a value size of 8 bit, 0x004 additional addresses with a value increment of 0x00000005 and a distance of 0x0040 between each write:

0903A200 00000055
00040040 00000005


Remember:

0x in front of something means that it is already in a hexadecimal. Otherwise it is decimal.



Last edited by Bully@WiiPlaza on 8/9/2012, 10:23 pm; edited 2 times in total


_________________
Slider / Multi Skip (Serial) YBjg74I

jaeremix10

jaeremix10
Code Creator

Hmm... What if an address is 90 instead of 80?


_________________
All the "Official" coders hate me. That's what keeps me coding! Cool 

Bully@WiiPlaza

Bully@WiiPlaza
 
 

The same after you changed the memory range like this:

4A000000 XXXXXXXX
CODE
E0000000 80008000


_________________
Slider / Multi Skip (Serial) YBjg74I

jaeremix10

jaeremix10
Code Creator

Oic. Thanks bully


_________________
All the "Official" coders hate me. That's what keeps me coding! Cool 

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum