Zophar's Message Domain

Go Back   Zophar's Message Domain > Emulation Talk > Rom Hack

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-12-2007, 08:47 PM   #1
Con
Junior Member
 
Join Date: Sep 2006
Posts: 11
Default Need help with ASM

Hello,

I'm an absolute beginner with ASM hacking and I have a question: a hacker who made a very good hack of a snes rom did leave some notes. I have to understand these codes now to edit his hack. Unfortunately he disappeared and I don't know how to translate these adresses into hex, so that I can search the data with a hex editor. Can somebody help me please?

The note he left is:

; Write out sprite tile (attr)

$C5:E06E C2 30 REP #$30 A:C040 X:000C Y:0000 D:0600 DB:00 S:1FF4 P:envMXdiZc HC:708 VC:020 00
$C5:E070 B7 17 LDA [$17],y[$CE:2907] A:C040 X:000C Y:0000 D:0600 DB:00 S:1FF4 P:envmxdiZc HC:730 VC:020 00
$C5:E072 10 03 BPL $03 [$E077] A:000A X:000C Y:0000 D:0600 DB:00 S:1FF4 P:envmxdizc HC:786 VC:020 00
$C5:E077 AE 86 05 LDX $0586 [$00:0586] A:000A X:000C Y:0000 D:0600 DB:00 S:1FF4 P:envmxdizc HC:808 VC:020 00
$C5:E07A 9D 02 1C STA $1C02,x[$00:1D02] A:000A X:0100 Y:0000 D:0600 DB:00 S:1FF4 P:envmxdizc HC:848 VC:020 00
$C5:E07D A9 00 00 LDA #$0000 A:000A X:0100 Y:0000 D:0600 DB:00 S:1FF4 P:envmxdizc HC:888 VC:020 00
$C5:E080 E2 20 SEP #$20 A:0000 X:0100 Y:0000 D:0600 DB:00 S:1FF4 P:envmxdiZc HC:912 VC:020 00

Note: DP keeps fluctuating (target is DP=$0800)

[C5FD3] W16 = BBC9 [000817]
[C5FD8] W16 = CEBB [000818]

$C5FCF B7 6E LDA [$6E],y[$CE:BC12] A:0018 X:0018 Y:0019 D:0800 DB:00 S:1FF1 P:envmxdizc HC:1052 VC:069 00
$C5FD1 85 17 STA $17 [$00:0817] A:BBC9 X:0018 Y:0019 D:0800 DB:00 S:1FF1 P:eNvmxdizc HC:1108 VC:069 00
$C5FD3 C8 INY A:BBC9 X:0018 Y:0019 D:0800 DB:00 S:1FF1 P:eNvmxdizc HC:1140 VC:069 00
$C5FD4 B7 6E LDA [$6E],y[$CE:BC13] A:BBC9 X:0018 Y:001A D:0800 DB:00 S:1FF1 P:envmxdizc HC:1154 VC:069 00
$C5FD6 85 18 STA $18 [$00:0818] A:CEBB X:0018 Y:001A D:0800 DB:00 S:1FF1 P:eNvmxdizc HC:1210 VC:069 00
$C5FD8 C8 INY A:CEBB X:0018 Y:001A D:0800 DB:00 S:1FF1 P:eNvmxdizc HC:1242 VC:069 00
$C5FD9 C8 INY A:CEBB X:0018 Y:001B D:0800 DB:00 S:1FF1 P:envmxdizc HC:1256 VC:069 00
$C5FDA E2 20 SEP #$20 A:CEBB X:0018 Y:001C D:0800 DB:00 S:1FF1 P:envmxdizc HC:1270 VC:069 00
$C5FDC A5 19 LDA $19 [$00:0819] A:CEBB X:0018 Y:001C D:0800 DB:00 S:1FF1 P:envMxdizc HC:1292 VC:069 00
$C5FDE 1A INC A A:CECE X:0018 Y:001C D:0800 DB:00 S:1FF1 P:eNvMxdizc HC:1316 VC:069 00
$C5FDF D0 0C BNE $0C [$DFED] A:CECF X:0018 Y:001C D:0800 DB:00 S:1FF1 P:eNvMxdizc HC:1330 VC:069 00

Replace CE:BBC1-BBE0
with CE:BBE1-BC00

Is there a program available which translates the rom into these adresses (and back to hex)? I tried several assembler and snes tools.
<P ID="signature"></P>
Con is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:22 PM.

Contact Us - Zophar's Domain - Archive - Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.