As I poke into the gameplay code of the disassembly, I'm finding more code like this:
Code: Select all
LEA $FFFFA400.w, A5 ; player 1 state struct
BSR.w updatePlayer
...
updatePlayer:
MOVE.w $C8(A5), D0 ; read current player weapon into D0
Along similar lines I'm basically making up naming conventions as I go (like camel case for labels, upper case for constant, etc.) but are there any standard naming conventions for 68k / Megadrive code? What tricks do you like to use to make things more readable?
Thanks.