Log in

I forgot my password

Latest topics
» Could someone point me to a sprite rotation tutorial, please?
Mon Feb 18, 2013 6:53 pm by sckuz254

» RR archive 2
Sun Dec 02, 2012 4:20 pm by losdelsur16

» [ULUS-10310]MoHH2 Uni Instant NukeBoom
Tue Jul 12, 2011 6:52 pm by m33masterBad

» Some vip releases and more
Tue Jul 12, 2011 6:47 pm by m33masterBad

» Mohh2 no fog code.
Tue Jul 12, 2011 6:42 pm by m33masterBad

» instant nade guide
Tue Jul 12, 2011 6:31 pm by m33masterBad

» m33masterBad's Here
Sat Jul 02, 2011 5:35 pm by m33masterBad

» How to teach yourself and try and make templates
Sat Nov 13, 2010 4:56 pm by Jordan

» Making Universal Weapon Mods, Find Weapon Value
Thu Oct 07, 2010 4:02 am by mafiafran

» [ULUS-10141] Jokered Flash Sprint (My first Joker)
Thu Oct 07, 2010 4:02 am by mafiafran

» INF PMNS AND CLAYMORES
Thu Oct 07, 2010 4:02 am by mafiafran

» im back
Wed Aug 18, 2010 12:42 pm by SXYxJeff

» ADMIN APPLICATION
Fri Jul 30, 2010 7:48 pm by NiekTSK

» Ps2dis begginers guide - how to make a basic subroutine
Fri Jul 23, 2010 4:02 pm by pspguy1234290

» Hey
Mon Jul 19, 2010 3:29 pm by SXYxJeff

Top posters
Nick (454)
 
MJKT (419)
 
RappY (318)
 
tHaTdiRTykID (232)
 
CrAzY Gamer (194)
 
XxMIRAGExX (135)
 
EEL007 (128)
 
NiekTSK (124)
 
Battle Star (105)
 
TYLER108 (99)
 

Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

[ View the whole list ]


Most users ever online was 95 on Tue Aug 01, 2017 7:44 pm

Template on Undma codes to a subroutine

Go down

Template on Undma codes to a subroutine

Post by MJKT on Sun Apr 26, 2009 12:21 pm

lui t0, $(First Half Of Pointer + 1 If Second Half Is 8000 Or Higher)
lw t0, $(Second Half Of Pointer)(t0)
blez t0 $(Real Address Of The JR RA)
lui t1 $First Half Of Hacked Hex)
ori t1 t1 $(Second Half Of Hacked Hex)
sw t1 $(Offset)(t0)
jr ra

(you need to put your pointer in real addressing)


Last edited by MJKT on Sun Apr 26, 2009 12:29 pm; edited 1 time in total

_________________






here to help Razz

Mohh2 ID : iMJKT
avatar
MJKT
Admin

Posts : 419
Join date : 2009-04-25
Age : 23
Location : The UK

http://pspcoding.darkbb.com

Back to top Go down

Re: Template on Undma codes to a subroutine

Post by RappY on Sun Apr 26, 2009 12:23 pm

THANKS MAN! I've been looking for these!

RappY
Active Member

Posts : 318
Join date : 2009-04-25
Age : 22
Location : Sweden

Back to top Go down

Re: Template on Undma codes to a subroutine

Post by tHaTdiRTykID on Sun Apr 26, 2009 12:58 pm

gj, but it seems so confusing, well to me
avatar
tHaTdiRTykID
Active Member

Posts : 232
Join date : 2009-04-26
Age : 24
Location : Illinois

Back to top Go down

Re: Template on Undma codes to a subroutine

Post by Nick on Sun Apr 26, 2009 1:00 pm

yes thanks MJKT
avatar
Nick
Active Member

Posts : 454
Join date : 2009-04-25
Age : 22
Location : USA

http://gghq.forumotion.com

Back to top Go down

Re: Template on Undma codes to a subroutine

Post by SXYxJeff on Sat Jan 23, 2010 11:30 pm

MJKT wrote:lui t0, $(First Half Of Pointer + 1 If Second Half Is 8000 Or Higher)
lw t0, $(Second Half Of Pointer)(t0)
blez t0 $(Real Address Of The JR RA)
lui t1 $First Half Of Hacked Hex)
ori t1 t1 $(Second Half Of Hacked Hex)
sw t1 $(Offset)(t0)
jr ra

(you need to put your pointer in real addressing)

can u explain each line and how to find them?
avatar
SXYxJeff
Member

Posts : 45
Join date : 2009-12-29

Back to top Go down

Re: Template on Undma codes to a subroutine

Post by CrAzY Gamer on Tue Jan 26, 2010 6:11 pm

why dont you try somthing alittle easyer if you want to joker?
but the 1st line is lui t0, $(First Half Of Pointer + 1 If Second Half Is 8000 Or Higher)

Well the pointer is.. i.e
0xFFFFFFFFF 0x12345678
0x0000XXXX

where XXXX is the pointer. the 1st half is XX and if the 2nd half is 8000 or higher add 1 to the 1st half

the 2nd half is XX so just put lw t0, $XX(t0) remember XX means unknown so put what ever the 2nd half is for the XX

im not sure about the rest of it maybe mjkt can finish up my expaination Very Happy

_________________

avatar
CrAzY Gamer
Admin

Posts : 194
Join date : 2009-04-25
Age : 21
Location : USA, Massachusetts

Back to top Go down

Re: Template on Undma codes to a subroutine

Post by MJKT on Wed Jan 27, 2010 11:42 am

CrAzY Gamer wrote:why dont you try somthing alittle easyer if you want to joker?
but the 1st line is lui t0, $(First Half Of Pointer + 1 If Second Half Is 8000 Or Higher)

Well the pointer is.. i.e
0xFFFFFFFFF 0x12345678
0x0000XXXX

where XXXX is the pointer. the 1st half is XX and if the 2nd half is 8000 or higher add 1 to the 1st half

the 2nd half is XX so just put lw t0, $XX(t0) remember XX means unknown so put what ever the 2nd half is for the XX

im not sure about the rest of it maybe mjkt can finish up my expaination Very Happy

Very Happy
lol well you got a bit mixed up this is the offset and this is the pointer

if you need help posted something in the ps2dis help section Razz

_________________






here to help Razz

Mohh2 ID : iMJKT
avatar
MJKT
Admin

Posts : 419
Join date : 2009-04-25
Age : 23
Location : The UK

http://pspcoding.darkbb.com

Back to top Go down

Re: Template on Undma codes to a subroutine

Post by CrAzY Gamer on Wed Jan 27, 2010 2:08 pm

Lol it was late and i wasn't thinking right haha

but yea offset and pointer xD

_________________

avatar
CrAzY Gamer
Admin

Posts : 194
Join date : 2009-04-25
Age : 21
Location : USA, Massachusetts

Back to top Go down

Re: Template on Undma codes to a subroutine

Post by SXYxJeff on Wed Jan 27, 2010 7:06 pm

lol thanks guys i can make subs but usin a template still learning mips lol it like learnin a diffrent language
avatar
SXYxJeff
Member

Posts : 45
Join date : 2009-12-29

Back to top Go down

Re: Template on Undma codes to a subroutine

Post by CrAzY Gamer on Sat Jan 30, 2010 6:00 am

Yeah lol but i would say its alittle harder

_________________

avatar
CrAzY Gamer
Admin

Posts : 194
Join date : 2009-04-25
Age : 21
Location : USA, Massachusetts

Back to top Go down

Re: Template on Undma codes to a subroutine

Post by SXYxJeff on Wed Feb 03, 2010 10:49 pm

i have a question what dose it mean by the true adress of the jr ra and wut is the hacked hex thanks in advance
avatar
SXYxJeff
Member

Posts : 45
Join date : 2009-12-29

Back to top Go down

Re: Template on Undma codes to a subroutine

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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