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 are 2 users online :: 0 Registered, 0 Hidden and 2 Guests

None

[ View the whole list ]


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

1 button UNDMA joker template

Go down

1 button UNDMA joker template

Post by MJKT on Wed Jul 15, 2009 12:42 pm

lui t0, $[First Half Of Pointer Address]
lw t0, $[Second Half Of Pointer Address](t0)
blez t0, $[Address Of The JR RA]
nop
lui t1, $[First Half Of Controller Address]
lw t1, $[Second Half Of Controller Address](t1)
addiu t2, zero, $[Value Of The Button]
nop
lui t4, $[First Half Of ON Hex]
ori t4, t4, $[Second Half Of ON Hex]
sw t4, $[Offset](t0)
beq zero, zero, $[Address Of The JR RA]
nop
lui t4, $[First Half Of Off Hex]
ori t4, t4, $[Second Half Of Off Hex]
sw t4, $[Second Half Offset](t0)
jr ra

_________________






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

Back to top


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