Super
Mario
World
D\
I| Disassembly
S/
+
Commentary
Definition
This project is going to strive to comment on as much as SMW as we can, so patches are considerably easier. With this, you can see what is going on around you to cancel out or hijack off of. We use this for uploading and commenting on SMW.
History
This project came around early in my ASM career, when I started use the ROM map as a reference point on where to hijack. However, once me and all.log reached where I wanted, I still found myself lost as I had no idea what the code was doing around me and how I would affect it. This has been brewing in my head for a while now.
Joining
Of course, anyone who thinks they have the skills to comment on this jumbled heap of the first real game on the SNES is free to join and pick a spot to comment on. However, you should know that SMW is not as laid out as most sprites and blocks are today. There are going to be a lot of multi use adresses and code spiraling around itself. But if you're up to the challenge, just post where you are going to comment (I would start with <500 bytes) and go for it.
Tactic
There is a art to commenting. You can see it here:
LDA #$02;\ Make mario have a feather/cape
STA $19 ;/
^GOOD^
LDA #$02;\ load 02
STA $19 ;/ to the powerup status
^BAD^
The big defining factor in wether it's a good comment or a bad one is if you can find the intention or overall function of whatever that code is.
LDA #$03;\ load 03
STA $19 ;/ to the powerup address (or worse yet, simply saying "to $19")
(Intention: Uh. Loading 03 into the powerup address? :\
Function: Uh. Loading 03 into the powerup address? :\)
LDA #$03;\Make mario have a flower
STA $19 ;/
(It is easily identifiable what the intention and fuction is.
Intention: Make mario fire mario
Fuction: Give mario the flower, so he can shoot fireballs
The first example provides no insight for future coders, while the latter does. Try as much as you can to keep your code informative.
Optionally, you will find a table:
DATA_00FF93: .db $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
.db $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
.db $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
.db $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
Like that. You could note the beginning byte like so:
DATA_00FF93: .db $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
DATA_00blah .db $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
DATA_00blah .db $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
.db $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
and so on.
Completion
Hosting/Process
Format:
Copy/Paste the all.log code and then comment on it for the dissassemble and commentary.
Currently, SMWDISC uses etherpad to host all.log, commented.
- Please DO subroutines, as well. If we can identify every subroutine, the rest of the code is just connnecting them together.
Exceptions apply when it is a complicated code, or you have RL things to attend to, etc.
- You can edit any page of SMWDISC as you see fit, for commenting and corrections OF comments.
But that above policy is a tentative one. If you think we should change it, great. I think we should be more than willing to discuss exceptions, changes, etc.
Currently Finished
This does not supply specific completions, but general places that have been commented. We have a repositiory of stuff not uploaded to etherpad here:
Currently all is updated at the etherpad!
Contributors
Contributions by:
People who have commented code but do not come by often/are new/didn't do a large amount of code-yet. Also those who helped with the project in general.
Smallhacker (Hosting ideas, constructive criticisms, etc)
1024
lolcats439
Roy
YoshiCookieZeus
Imamelia
Nicol Bolas
Buster Beetle
Gekko
Kernigh
Contributors:
People who visit regularly and comment on code often.
Maxx
Edit1754
Alcaro
etherpad.com/SMWDISC can supply a updated list of what people are doing!
Events:
5/30/09: Project Started
6/29/09: SMWDISC offically moves to etherpad
If you have a dedicated server, we could use one- but we have etherpad so it's not serious.
Hopefully this project will flourish, and we can benefit avid SMW hackers in the future. That's our goal.
Contact:
-There is #SMWDISC, a IRC channel on caffie.
-PM any of the really important users on this project
-This thread
-PM me for my email
Supporting
Usually I don't support the fanboy sort of vibe this gives off, but this project could use some propaganda.
Support it in your signature if you'd like.

HTML:
(Credit to Alcaro)
Mod edit: We're not on Badnik anymore.