If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Talk:Super Mario Bros.:ROM map: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (moved Talk:Super Mario Bros.: ROM Map to Talk:Super Mario Bros.:ROM map over redirect: Match template) |
(No difference)
|
Revision as of 01:54, 6 June 2010
222.152.31.57 attributed the original version of the Text Values section to TheEmulatorGuy. --AnyoneEB 17:36, 4 November 2005 (EST)
I don't get this. There are no assembly commands and no opcodes, which is what IS in the rom. Exactly what is this? - xx
- That stuff would be the disassembled version. Open this up with a hex editor, each value is representative of each byte. --125.236.132.123 22:47, 19 December 2006 (EST)
- That's not disassembly. Disassembly is taking the bytes and matching them to 6502 ASM. As it stands, It is little more than marking sections. I think it should include the address, the opcode, and the 6502 ASM with an explanation. Here's a fictional example with fictional opcodes:
; Add a coin to max coins: $8000 : $08 $87 : LDX $87 ; get the current number of coins $8003 : $22 : INX ; add one $8004 : $44 $87 : STX $87 ; store the result $8006 : $78 $20 $89 : JMP $8920 ; goto the update coin text routine
- -xx
Really though, code doesn't belong completely in the ROM map, as it's useful to also list where the code gets loaded in the 6502 address space (so you can find it easily in a debugger). Think bank swapping etc. I'd suggest a Disassembly page for the game instead. ROM and RAM maps could have code sections marked but actual disasm would be lengthy and better treated on its own. --Aav 14:14, 7 January 2010 (UTC)