Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in ROM Hacking. |
Acmlm's Board - I3 Archive - ROM Hacking - How do you hack ASM? | New poll | | |
Add to favorites | Next newer thread | Next older thread |
User | Post | ||
Andy Zora Since: 11-17-05 Last post: 6616 days Last view: 6616 days |
| ||
I want to hack rhe ASM of an NES rom. Can anyone tell me how? | |||
Ice Ranger Grizzo Since: 11-24-05 Last post: 6296 days Last view: 6286 days |
| ||
Since it is NES, you want to download FCEUXDSP (currently the best NES hacker emulator).
1. Find data in the RAM (or look it up using various resources) 2. Figure out how to use FCEUXD or FCEUXDSP (break points and everything that goes along with it) 3. Use the RAM addresses in combination with breakpoints. 4. Keep track of the address the break occurs. 5. Go into the ROM (not RAM) to find the bytes in the order they appear at the breakpoint (using the lines above and below the operation break should narrow it down, however, this is not always the case). 6. The harder part comes next. With the brief information above, all you might muster together is changing a value of something, not really ASM, but it gives you an idea. Learn 6502 programming. Learning how to convert the code to hexidecimal is the most important part. 7. Combine the 6502 language with hacking (very difficult, don't expect anything like Mario vs. Luigi your first try; it all comes in progression, start small and work your way up). Documents you might find more helpful than the crap I just listed from rockman (it's what I used): http://www.geocities.com/bjb138/rockmanXasm/asm1.html http://www.geocities.com/bjb138/rockmanXasm/asm2.html |
|||
Andy Zora Since: 11-17-05 Last post: 6616 days Last view: 6616 days |
| ||
Thank you | |||
spel werdz rite Since: 11-19-05 Last post: 6287 days Last view: 6286 days |
| ||
Might as well ask a question myself. How does the "Jump to subroutine" work? I have no idea and it's the last thing I need to figure out in ASM. | |||
beneficii Broom Hatter Since: 11-18-05 Last post: 6290 days Last view: 6286 days |
| ||
Are you referring to the JSR statement? Essentially, what it does is puts the RAM address of the statement following it into the stack, then it changes the control to whatever the JSR statement points to. You will then use RTS to get the RAM address back out of the stack in order to continue from the JSR.
For example: @8456: LDA #$45 JSR $9123 STA $6543 //// @9123: CLC ADC $6100 RTS You start with LDA #$45, then it goes down to the JSR statement, it jumps to 9123 and executes there until it gets to the RTS and then goes back to the statement immediately following the JSR statement, the STA $6543 statement. Got it? |
|||
DtTvB the Yoshi Red Paragoomba Since: 12-02-05 From: Thailand Last post: 6532 days Last view: 6532 days |
| ||
Wow, great documentation:
http://www.geocities.com/bjb138/rockmanXasm/asm1.html Thank you so much, Ice Ranger!;;; |
Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - ROM Hacking - How do you hack ASM? | | |