Graffiti Hackz
Welcome To GraffitiHackz.Tk™️ Please Register To View Forums
Graffiti Hackz
Welcome To GraffitiHackz.Tk™️ Please Register To View Forums
Graffiti Hackz
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Hackz for Psp
 
HomePortalLatest imagesSearchRegisterLog in
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Top posters
GRAFFWRITER4LIFE (92)
[Coding]How To Write A Sub Routine - Fox1091 I_vote_lcap[Coding]How To Write A Sub Routine - Fox1091 I_voting_bar[Coding]How To Write A Sub Routine - Fox1091 I_vote_rcap 
ihack2 (84)
[Coding]How To Write A Sub Routine - Fox1091 I_vote_lcap[Coding]How To Write A Sub Routine - Fox1091 I_voting_bar[Coding]How To Write A Sub Routine - Fox1091 I_vote_rcap 
Dirty_KiiD (35)
[Coding]How To Write A Sub Routine - Fox1091 I_vote_lcap[Coding]How To Write A Sub Routine - Fox1091 I_voting_bar[Coding]How To Write A Sub Routine - Fox1091 I_vote_rcap 
DARK.Roger (22)
[Coding]How To Write A Sub Routine - Fox1091 I_vote_lcap[Coding]How To Write A Sub Routine - Fox1091 I_voting_bar[Coding]How To Write A Sub Routine - Fox1091 I_vote_rcap 
Toxic.H1N1 (16)
[Coding]How To Write A Sub Routine - Fox1091 I_vote_lcap[Coding]How To Write A Sub Routine - Fox1091 I_voting_bar[Coding]How To Write A Sub Routine - Fox1091 I_vote_rcap 
Acid.Sniperr (6)
[Coding]How To Write A Sub Routine - Fox1091 I_vote_lcap[Coding]How To Write A Sub Routine - Fox1091 I_voting_bar[Coding]How To Write A Sub Routine - Fox1091 I_vote_rcap 
DetoX (4)
[Coding]How To Write A Sub Routine - Fox1091 I_vote_lcap[Coding]How To Write A Sub Routine - Fox1091 I_voting_bar[Coding]How To Write A Sub Routine - Fox1091 I_vote_rcap 
xX-B3AS7-Xx (2)
[Coding]How To Write A Sub Routine - Fox1091 I_vote_lcap[Coding]How To Write A Sub Routine - Fox1091 I_voting_bar[Coding]How To Write A Sub Routine - Fox1091 I_vote_rcap 
Latest topics
» Fox1091's Ultimate nitePR Guide
[Coding]How To Write A Sub Routine - Fox1091 Icon_minitimeSat Jan 30, 2010 8:05 pm by DetoX

» [Coding]How To Write A Sub Routine - Fox1091
[Coding]How To Write A Sub Routine - Fox1091 Icon_minitimeSat Jan 30, 2010 8:04 pm by DetoX

» Forum Rules
[Coding]How To Write A Sub Routine - Fox1091 Icon_minitimeFri Jan 01, 2010 11:47 am by Toxic.H1N1

Affiliates
psphackz.tk thegamerz.tk ftb2codez.tk raygaming.tk advancedcodes.tk CrackCoderz.tk
 
Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

Most users ever online was 37 on Sun May 30, 2021 6:47 pm

 

 [Coding]How To Write A Sub Routine - Fox1091

Go down 
AuthorMessage
DetoX




Posts : 4
Join date : 2010-01-30

[Coding]How To Write A Sub Routine - Fox1091 Empty
PostSubject: [Coding]How To Write A Sub Routine - Fox1091   [Coding]How To Write A Sub Routine - Fox1091 Icon_minitimeSat Jan 30, 2010 8:04 pm

Wont Get Any Clearer Then This, And If You Wanna Start Coding This Is A Must Read, Not Only Does It Explain How To Sub But It Also Explains The Command's, If You Wanna Start Coding I Suggest You Start Here!

-------------------------------------------
How To Write A Sub Routine
Tutorial Written By Fox1091 / JoRdAn
Use Ps2 Dis
-------------------------------------------


Ok For People That Already Know What They Are Doing Heres The Template We Will Be Using

------------------------------------------------------------------------------------
Hook
lui t0 $(First half of your address)
lui t1 $(First half of your hex)
ori t1 t1 $(Second half of your hex) OR addiu t1 t1 $(Second half of your hex)
sw t1 $(Second half of your address)(t0)
jr ra
------------------------------------------------------------------------------------


Ok Back To The Tut. (if you are new just dotn look up there)

Notice
If you do not have Ps2 Dis Download it here:


Ps2 Dis

Password
Code:
binarycodes****


------------------------------------------------------------------------------------


Open up PS2 DIS
Then When This Pops up:

[Coding]How To Write A Sub Routine - Fox1091 29yjuif

Change the Address the Load From 00000000 to 08800000

[Coding]How To Write A Sub Routine - Fox1091 28cerua


]Now You Should Have A Screen Like This:

[Coding]How To Write A Sub Routine - Fox1091 23m1yxu

Hit The G key on you keyboard

This Should Pop up:

[Coding]How To Write A Sub Routine - Fox1091 2hfl6hs

Now, the first thing we need to set up is a SAFE Hook

So We Type in 08800098 (0880 because we are in real addressing)
Hit enter after typing what is written above

[Coding]How To Write A Sub Routine - Fox1091 31276ur

No Hit enter again And You will See this blank

[Coding]How To Write A Sub Routine - Fox1091 33z8tag

click on command and type in j $09000000

what this is doing and making our hook jump to the address 09000000 and we are hooking it to 09000000 because it is where we will be writing out routine.
Also note : To Write A Routine You Must Be In A Feild Of Nop's O Suggest 09000000 Because it is Big and Easy

After You Do that copy the addy and the hex (this is the first line of your code)

Which will be

#Flash SuB Routine
;Fox1091 Tut
0x08800098 0x0a400000

Leave this now and we will be back for it later Smile


hit G again and this time go to 09000000

[Coding]How To Write A Sub Routine - Fox1091 10xhb11

This will bring you to a lot of nop's

[Coding]How To Write A Sub Routine - Fox1091 10qfmfc

Now we need the flash code Smile this is where it gets a little tricky Razz

Here it is Smile
#Flash
0x0055fa2c 0x40000000;By the way this Hex controls the speed if add more to it to make you faster or make you walk backwards etc

Back to the topic / Tut

We need to take 0055fa2c and put it in real addressing meaning we have to add

0055fa2c + 08800000 if you have a Hex Calc use it if not it's like normal addition just heres the digits

Code:
0 1 2 3 4 5 6 7 8 9 a b c d e f

Also note that if the 2nd half is grater than 7FFF u must add 0001 to the first half of your address so it would be:

08d6fa2c

Now that we have the address all figured out we can get back to easier times Smile

Hit enter in ps2 dis and get ready to type in your command

[Coding]How To Write A Sub Routine - Fox1091 34p0603

Enter in:
Code:
Lui t0 $08d6

what this is doing is loading 08d6 into t0

Then Copy down the addy + hex to your code again so you should have this so far:

Code:
#Flash SuB Routine
;Fox1091 Tut
0x08800098 0x0a400000
0x09000000 0x3c0808d6

Now we have to load up the first half of the hex / value of our code so use the arrow key v / down and hit enter

Now type in

Code:
Lui t1 $4000

what this is doing is loading the value / hex of our code into t1

[Coding]How To Write A Sub Routine - Fox1091 A9sk20

Now You Should have this for your code:

Code:
#Flash SuB Routine
;Fox1091 Tut
0x08800098 0x0a400000
0x09000000 0x3c0808d6
0x0900000[color=blue]4[/color] 0x3c094000

Guess what guys your 75% done Your Routine Smile

Just go down one more line in ps2 dis and hit enter and type this in:

Code:
ori t1 t1 $0000

If you dont understand yet what you are now doing is loading the second half of your hex into t1 so all togather 40000000 is loaded into t1 which is our hex for flash

[Coding]How To Write A Sub Routine - Fox1091 25ouxdg

Heres our code now

Code:
#Flash SuB Routine
;Fox1091 Tut
0x08800098 0x0a400000
0x09000000 0x3c0808d6
0x0900000[color=blue]4[/color] 0x3c094000
0x0900000[color=red]8[/color] ox35290000

Ok i will now be showing no more pics untill the end considering there is only 2 more lines left to write...

We now just have to store our second half of our addy to complete out code

heres the line:

Code:
sw t1 $fa2c(t0)

Then copy that down and we will do the last line before i reveal the last to lines...

only because the last line just ends the routine which is JR RA

the command you will type is

Code:
JR RA

thats it and your almost done just one more thing to do + heres a screeny of what ti will look like

[Coding]How To Write A Sub Routine - Fox1091 6ie6fb

And heres our code

Code:
#Flash SuB Routine
;Fox1091 Tut
0x08800098 0x0a400000
0x09000000 0x3c0808d6
0x0900000[color=blue]4[/color] 0x3c094000
0x0900000[color=red]8[/color] 0x3529000
0x0900000[color=yellow]c[/color] 0xad09fa2c
0x090000[color=white]10[/color] 0x03e00008

now note you are not done yet!@#$%^&*(&*^&%^%#$

this is in real addressing you must put it in fake addressing so you have to subtract 08800000 form every address buy guess what 09000000 is easy it becomes 00800000 Smile so heres the code

Code:
#Flash SuB Routine
;Fox1091 Tut
0x00000098 0x0a400000
0x00800000 0x3c0808d6
0x0080000[color=blue]4[/color] 0x3c094000
0x0080000[color=red]8[/color] 0x3529000
0x0080000[color=yellow]c[/color] 0xad09fa2c
0x0080000[color=white]10[/color] 0x03e00008

Credits for tut : Fox1091

any questions? im here to anwser... post away
Back to top Go down
 
[Coding]How To Write A Sub Routine - Fox1091
Back to top 
Page 1 of 1
 Similar topics
-
» Fox1091's Ultimate nitePR Guide

Permissions in this forum:You cannot reply to topics in this forum
Graffiti Hackz :: Psp :: Guides-
Jump to: