| | [HELP] OTHER JOKER. | |
| | |
Author | Message |
---|
Brian_000
Posts : 33 Points : 45 Reputation : 0 Join date : 2010-10-02 Age : 33 Location : Brgy. Binan Pagsanjan Laguna, Philippines
| Subject: 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) -------------------- | |
| | | Brian_000
Posts : 33 Points : 45 Reputation : 0 Join date : 2010-10-02 Age : 33 Location : Brgy. Binan Pagsanjan Laguna, Philippines
| Subject: 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) -------------------- | |
| | | -LeetGamer- Admin
Posts : 247 Points : 397 Reputation : 4 Join date : 2010-09-29 Age : 30
| Subject: 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) | |
| | | Brian_000
Posts : 33 Points : 45 Reputation : 0 Join date : 2010-10-02 Age : 33 Location : Brgy. Binan Pagsanjan Laguna, Philippines
| Subject: 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. | |
| | | Brian_000
Posts : 33 Points : 45 Reputation : 0 Join date : 2010-10-02 Age : 33 Location : Brgy. Binan Pagsanjan Laguna, Philippines
| Subject: 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. | |
| | | -LeetGamer- Admin
Posts : 247 Points : 397 Reputation : 4 Join date : 2010-09-29 Age : 30
| Subject: 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 | |
| | | Brian_000
Posts : 33 Points : 45 Reputation : 0 Join date : 2010-10-02 Age : 33 Location : Brgy. Binan Pagsanjan Laguna, Philippines
| Subject: 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
What Template? Just tell me what i need to add (t0). | |
| | | Brian_000
Posts : 33 Points : 45 Reputation : 0 Join date : 2010-10-02 Age : 33 Location : Brgy. Binan Pagsanjan Laguna, Philippines
| Subject: 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. | |
| | | LilJess13
Posts : 13 Points : 19 Reputation : 0 Join date : 2010-10-03 Age : 29
| Subject: Re: [HELP] OTHER JOKER. Mon Oct 25, 2010 9:45 pm | |
| with out the (t0), ps2dis doesnt know where to load the address to | |
| | | -LeetGamer- Admin
Posts : 247 Points : 397 Reputation : 4 Join date : 2010-09-29 Age : 30
| Subject: 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. | |
| | | Brian_000
Posts : 33 Points : 45 Reputation : 0 Join date : 2010-10-02 Age : 33 Location : Brgy. Binan Pagsanjan Laguna, Philippines
| Subject: 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. | |
| | | -LeetGamer- Admin
Posts : 247 Points : 397 Reputation : 4 Join date : 2010-09-29 Age : 30
| Subject: 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 ? | |
| | | Brian_000
Posts : 33 Points : 45 Reputation : 0 Join date : 2010-10-02 Age : 33 Location : Brgy. Binan Pagsanjan Laguna, Philippines
| Subject: 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. | |
| | | Sponsored content
| Subject: Re: [HELP] OTHER JOKER. | |
| |
| | | | [HELP] OTHER JOKER. | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |