User | Post |
HabsoluteFate
Posts: 73/179 |
Originally posted by elixirnova Are these ONLY smw asm hacks..? If so I suppose I've got a few ideas for some nifty hacks I might try them tonight
You are correct, these are only SMW Asm Hacks |
elixirnova
Posts: 131/177 |
Are these ONLY smw asm hacks..? If so I suppose I've got a few ideas for some nifty hacks I might try them tonight |
HabsoluteFate
Posts: 71/179 |
Hi all, How about making this an official ASM Tricks thread? I have noticed that although people seem to share their tricks at everything else when it comes to Assembly they seem reluctant to share their tricks...probably because of the extra time and effort required in writing the code....By sharing your tricks/code you save everyone else the time and in the long run you will save yourself time because it will come to a point where chances are someone else has already done the work for you! By saving someone else the time they can make use of that time to come up with even more demanding code and possibly much better hacks!
Hopefully within this thread people can share their tricks, the only requirement is that you should try and comment your code as much as you can.
I will post an example here although your example can be a lot longer if you would like
Here's an example I just made up...this example actually wont work and the numbers are probably wrong but hopefully it will give you a general idea of what i would like seen....these tricks might later get incorporated into the IDE I'm designing written in C++/DirectX to minimise the amount of coding people will have to do to apply new functionality. Actually if there is enough interest in this thread I can make it my first priority for the IDE...
Note: my ASM might be wrong here...i'm rusty as i havent touched it in months
;Replace SNES address D062 which should be 'CMP #$02'' with the following: JMP 9020 ;Replace SNES address D064 which should be 'BNE D066" with the following: NOP
;Explain what this function does 9020: ;write the code line by line with comments . . . RTS
Questions/Complains/Suggestions? |