User Tag List

Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11

Thread: Mark and Recall

  1. #11
    Mark and Recall

    User Info Menu

    Re: Mark and Recall

    You should seriously fix that error:

    - Loads the first half of the true controller address into t0
    - Loads the second half of the controller address into t0
    - Loads the first half of the true co-ord pointer into t1
    - Loads the second half of the co-ord pointer into t1
    - Loads the first half of the true nop addresses into t2
    - Adds the mark button value to zero and stores it in t3
    - Adds the recall button value to zero and stores it in t4
    - Branches to the next bne if t0 doesn't equal t3
    - No operation
    - Loads the current value of the x offset into t5 (t1)
    - Loads the current value of the Y offset into t6 (t1)
    - Loads the current value of the Z offset into t7 (t1)
    - Stores the contents of t5 to the second half of the first nop address (t3)
    - stores the contents of t6 to the second half of the second nop address (t3)
    - Stores the contents of t7 to the second half of the third nop address (t3)
    - Branches to the jr ra if t0 doesn't equal t4
    - No Operation
    - Loads the value of the first nop address into t5 (t3)
    - Loads the value of the second nop address into t6 (t3)
    - Loads the value of the third nop address into t7 (t3)
    - Stores the contents of t5 to the second half of the X offset (t1)
    - stores the contents of t6 to the second half of the Y offset (t1)
    - Stores the contents of t7 to the second half of the Z offset (t1)
    - Jr ra
    - Call are subroutine
    It should be:

    - Loads the first half of the true controller address into t0
    - Loads the second half of the controller address into t0
    - Loads the first half of the true co-ord pointer into t1
    - Loads the second half of the co-ord pointer into t1
    - Loads the first half of the true nop addresses into t2
    - Adds the mark button value to zero and stores it in t3
    - Adds the recall button value to zero and stores it in t4
    - Branches to the next bne if t0 doesn't equal t3
    - No operation
    - Loads the current value of the x offset into t5 (t1)
    - Loads the current value of the Y offset into t6 (t1)
    - Loads the current value of the Z offset into t7 (t1)
    - Stores the contents of t5 to the second half of the first nop address (t2)
    - stores the contents of t6 to the second half of the second nop address (t2)
    - Stores the contents of t7 to the second half of the third nop address (t2)

    - Branches to the jr ra if t0 doesn't equal t4
    - No Operation
    - Loads the value of the first nop address into t5 (t2)
    - Loads the value of the second nop address into t6 (t2)
    - Loads the value of the third nop address into t7 (t2)

    - Stores the contents of t5 to the second half of the X offset (t1)
    - stores the contents of t6 to the second half of the Y offset (t1)
    - Stores the contents of t7 to the second half of the Z offset (t1)
    - Jr ra
    - Call are subroutine


    Your the one who spotted this so you might as well fix it for the newbies ;)
    Last edited by SupremeGeneral; 05-09-2010 at 10:26 AM.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •