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
» Metal Gear Solid V The Phantom Pain X Flashpoint Batman Gameplay unedited [Seth@WiiPlaza]
Slider / Multi Skip (Serial) Empty9/23/2024, 12:48 pm by Seth@WiiPlaza

» USB Gecko problems with some games
Slider / Multi Skip (Serial) Empty8/18/2024, 10:41 am by Mac11ngAround

» Dropped Out of College to Pursue Web Dev and Life Pursuits in General
Slider / Multi Skip (Serial) Empty8/9/2024, 7:09 am by SnB@BWH

» Lego Stars Wars: The Complete Saga [RLGE64]
Slider / Multi Skip (Serial) Empty8/1/2024, 2:04 am by Whatever_1240

» ASM <> Gecko Code Converter
Slider / Multi Skip (Serial) Empty7/29/2024, 11:15 am by Mac11ngAround

» German With a Jackhammer
Slider / Multi Skip (Serial) Empty7/28/2024, 3:42 pm by SnB@BWH

» Wii RAM Hacking: Pointers and ASM
Slider / Multi Skip (Serial) Empty7/23/2024, 1:54 pm by Mac11ngAround

» IBM AIX Assembler Programming Reference - Useful For PPC ASM
Slider / Multi Skip (Serial) Empty7/21/2024, 5:00 pm by Mac11ngAround

» Note to Inactive New Members
Slider / Multi Skip (Serial) Empty7/14/2024, 4:50 am by Mac11ngAround

» JMaster Duel Bot: A Yu-Gi-Oh! Master Duel Bot and Trainer for Steam
Slider / Multi Skip (Serial) Empty7/13/2024, 11:18 am by Bully@WiiPlaza

Search
 
 

Display results as :
 


Rechercher Advanced Search

October 2024
MonTueWedThuFriSatSun
 123456
78910111213
14151617181920
21222324252627
28293031   

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