bentorkington / sf2ww

A clone of Street Fighter 2 World Warrior, written from scratch in C + OpenGL
80 stars 9 forks source link

Additional documentation on ROM addresses #11

Open mdreeling opened 3 weeks ago

mdreeling commented 3 weeks ago

Are there are any notes that were taken on where all the code is situated within the ROM? I notice on the blog posts that you have known addresses for example for the start of Ryu's AI code. I'm just thinking of docs that would help others catch up to where you were at. I can help here also.

bentorkington commented 3 weeks ago

Most functions should have a tag in the doxygen comment in the format of sf2ua: 0x12345, which specifies the byte address of that function in the sf2ua romset. Functions that haven't been given proper names yet have the address as part of the function name.

Similarly, struct members often have the offset as part of the name, or as a comment.