Disable the button ok in vs mode
#17
ASM is far far different that higher level languages. You can't just slap together snippets of code into a source and have it work. While you may get away with that from time to time on higher languages, it's impossible on ASM.

Code:
the code:
lis r12, 0x8035
lhz r12, 0x57E2 (r12)

To load current button values from PAL 1st Player wheel/chuck, you need to use 803457E2, not 803557E2

Code:
li r0, 0
stb r0, 0x3FF (r12)
blr

What is this for? I see it's from my XYZ Swapper code. This portion of your code literally serves zero purpose. That was why I said at the beginning that you can't just slap random pieces of code together. When writing Assembly, you should be able to account for every instruction in your source, being able to explain why each instruction is present.

Also, your code as whole (if it did work from it appears you want it to do) does nothing. It's just grabbing button statuses and then doing a one frame hit on the A button. Nothing as far as game mechanics is being changed/modified.
Reply


Messages In This Thread
Disable the button ok in vs mode - by coco - 11-19-2021, 11:58 AM
RE: Disable the button ok in vs mode - by Vega - 11-19-2021, 04:18 PM
RE: Disable the button ok in vs mode - by coco - 11-19-2021, 05:31 PM
RE: Disable the button ok in vs mode - by coco - 11-20-2021, 10:17 AM
RE: Disable the button ok in vs mode - by Vega - 11-19-2021, 11:06 PM
RE: Disable the button ok in vs mode - by coco - 11-20-2021, 10:22 AM
RE: Disable the button ok in vs mode - by stebler - 11-20-2021, 06:18 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 12:25 PM
RE: Disable the button ok in vs mode - by Vega - 11-21-2021, 03:13 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 04:42 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 05:30 PM
RE: Disable the button ok in vs mode - by Vega - 11-21-2021, 05:42 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 05:51 PM
RE: Disable the button ok in vs mode - by Vega - 11-21-2021, 05:52 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 06:21 PM
RE: Disable the button ok in vs mode - by Vega - 11-21-2021, 10:31 PM
RE: Disable the button ok in vs mode - by Vega - 11-22-2021, 02:03 AM
RE: Disable the button ok in vs mode - by coco - 11-22-2021, 12:13 PM
RE: Disable the button ok in vs mode - by Vega - 11-22-2021, 03:35 PM
RE: Disable the button ok in vs mode - by coco - 11-22-2021, 06:19 PM
RE: Disable the button ok in vs mode - by Vega - 11-22-2021, 06:59 PM
RE: Disable the button ok in vs mode - by coco - 11-22-2021, 07:03 PM

Forum Jump:


Users browsing this thread: 7 Guest(s)