PSP Coding


 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 [HELP] OTHER JOKER.

Go down 
Go to page : Previous  1, 2
AuthorMessage
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 7:39 pm

This is right?

lui t2, $(1/2 - DMA Pointer One + 0880)
lw t2, $(2/2 - DMA Pointer One)
lui t3, $(1/2 - DMA Pointer Two + 0880)
lw t3, $(2/2 - DMA Pointer Two)
----------
So the next Pointer is this:

lui t4, $(1/2 - DMA Pointer Three + 0880)
lw t4, $(2/2 - DMA Pointer Three)
--------------------
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 7:43 pm

BTW, You cant write on PS2Dis the following MIPS Command...
Example:

lw t2, $(2/2 - DMA Pointer One)
lw t3, $(2/2 - DMA Pointer Two)
lw t4, $(2/2 - DMA Pointer Three)
--------------------
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
-LeetGamer-
Admin


Posts : 247
Points : 397
Reputation : 4
Join date : 2010-09-29
Age : 25

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 7:45 pm

Brian_000 wrote:
This is right?

lui t2, $(1/2 - DMA Pointer One + 0880)
lw t2, $(2/2 - DMA Pointer One)
lui t3, $(1/2 - DMA Pointer Two + 0880)
lw t3, $(2/2 - DMA Pointer Two)
----------
So the next Pointer is this:

lui t4, $(1/2 - DMA Pointer Three + 0880)
lw t4, $(2/2 - DMA Pointer Three)
--------------------

That is part of it, now post the rest of it. The full thing.

Brian_000 wrote:
BTW, You cant write on PS2Dis the following MIPS Command...
Example:

lw t2, $(2/2 - DMA Pointer One)
lw t3, $(2/2 - DMA Pointer Two)
lw t4, $(2/2 - DMA Pointer Three)
--------------------

You need to add in a real number and a register at the end like:

lw t2 $12C0(t0)
Back to top Go down
View user profile
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 7:49 pm

i already tried that adding(t0) at the end,
but its always not working.
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 7:57 pm

This is right now?
----------
j $(Hook Value - Copy the first line of Address on your Joker)
lui t0, $(1/2 - Controller Address + 0880)
lw t1, $(2/2 - Controller Address)(t0)
lui t2, $(1/2 - DMA Pointer One + 0880)
lw t2, $(2/2 - DMA Pointer One)(t0)
lui t3, $(1/2 - DMA Pointer Two + 0880)
lw t3, $(2/2 - DMA Pointer Two)(t0)
lui t4, $(1/2 - DMA Pointer Three + 0880)
lw t4, $(2/2 - DMA Pointer Three)(t0)
addi t5, zero, $(Button Value One)
addi t6, zero, $(Button Value Two)
addi t7, zero, $(Button Value Three)
bne t0, t5, $(Branches to the next bne)
nop
lui t7, $(1/2 - DMA Value One)
ori t7, t7, $(2/2 - DMA Value One)
sw t7, $(DMA Offset)(t2)
bne t0, t6, $(Branches to the next bne)
nop
lui t7, $(1/2 - DMA Value Two)
ori t7, t7, $(2/2 - DMA Value Two)
sw t7, $(DMA Offset)(t2)
bne t0, t6, $(Branches to the jr ra)
nop
lui t7, $(1/2 - DMA Value Three)
ori t7, t7, $(2/2 - DMA Value Three)
sw t7, $(DMA Offset)(t2)
jr ra
--------------------
How about in Subroutine?
----------
j $(Hook Value - Copy the first line of Address on your Subroutine)
lui t0, $(1/2 DMA Pointer + 0880)
lw t0, $(2/2 DMA Pointer)(t0)
lui t1, $(1/2 DMA Value)
ori t1, t1, $(2/2 DMA Value)
sw t1, $(DMA Offset)(t0)
jr ra
--------------------
Tell me if there is a code i need to add 0880 or something.
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
-LeetGamer-
Admin


Posts : 247
Points : 397
Reputation : 4
Join date : 2010-09-29
Age : 25

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 8:00 pm

Nope, the (t0) is wrong, it needs to be the register of the upper half. Try the template out and you will see if it's right or wrong Wink
Back to top Go down
View user profile
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 8:01 pm

-LeetGamer- wrote:
Nope, the (t0) is wrong, it needs to be the register of the upper half. Try the template out and you will see if it's right or wrong Wink
What Template?
Just tell me what i need to add (t0). Shocked
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 8:05 pm

But if i didnt add (t0) at the lw t2, $(2/2 - DMA Pointer One).
the MIPS Command cant type on the PS2Dis.
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
LilJess13



Posts : 13
Points : 19
Reputation : 0
Join date : 2010-10-03
Age : 23

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 9:45 pm

with out the (t0), ps2dis doesnt know where to load the address to
Back to top Go down
View user profile
-LeetGamer-
Admin


Posts : 247
Points : 397
Reputation : 4
Join date : 2010-09-29
Age : 25

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 10:23 pm

can you edit your first post please lol.

and the template that you posted, and change the (t0) to the register that holds the upper half of the pointer/address or what ever you are working with.
Back to top Go down
View user profile
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 10:28 pm

-LeetGamer- wrote:
can you edit your first post please lol.

and the template that you posted, and change the (t0) to the register that holds the upper half of the pointer/address or what ever you are working with.
j $(Hook Value - Copy the first line of Address on your Joker)
lui t0, $(1/2 - Controller Address + 0880)
lw t1, $(2/2 - Controller Address)(t0)
lui t2, $(1/2 - DMA Pointer One + 0880)
lw t2, $(2/2 - DMA Pointer One)(t0)
lui t3, $(1/2 - DMA Pointer Two + 0880)
lw t3, $(2/2 - DMA Pointer Two)(t0)
lui t4, $(1/2 - DMA Pointer Three + 0880)
lw t4, $(2/2 - DMA Pointer Three)(t0)
addi t5, zero, $(Button Value One)
addi t6, zero, $(Button Value Two)
addi t7, zero, $(Button Value Three)
bne t0, t5, $(Branches to the next bne)
nop
lui t7, $(1/2 - DMA Value One)
ori t7, t7, $(2/2 - DMA Value One)
sw t7, $(DMA Offset)(t2)
bne t0, t6, $(Branches to the next bne)
nop
lui t7, $(1/2 - DMA Value Two)
ori t7, t7, $(2/2 - DMA Value Two)
sw t7, $(DMA Offset)(t2)
bne t0, t6, $(Branches to the jr ra)
nop
lui t7, $(1/2 - DMA Value Three)
ori t7, t7, $(2/2 - DMA Value Three)
sw t7, $(DMA Offset)(t2)
jr ra
--------------------
Can you Copy this and edit the wrong MIPS then reply me.
I didnt understand wat you sayin. Razz
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
-LeetGamer-
Admin


Posts : 247
Points : 397
Reputation : 4
Join date : 2010-09-29
Age : 25

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 11:18 pm

I've gave you like 50000000000000 MIPS examples, you should actually learn what the commands do. What was your first language again ?
Back to top Go down
View user profile
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Tue Oct 26, 2010 2:53 am

Last Request.
PM the SUBROUTINE DMA and JOKER DMA 100% WORKING.
Please. Last Request. Crying or Very sad
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
Sponsored content




PostSubject: Re: [HELP] OTHER JOKER.   

Back to top Go down
 
[HELP] OTHER JOKER.
Back to top 
Page 2 of 2Go to page : Previous  1, 2
 Similar topics
-
» Looking for Joker figures
» Hot Toys, 1/6th scale batmobile tumbler.
» Hot Toys making Indiana Jones figures, hints at Star Wars as well...
» Hot Toys TDK. thanks again good doc.
» Jor-El's Best of 2012: #1 revealed!!!

Permissions in this forum:You cannot reply to topics in this forum
PSP Coding :: PSP Section :: PSP Chat :: PSP Coding Help-
Jump to: