Zophar's Message Domain

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

Reply
 
Thread Tools Display Modes
Old 10-15-2004, 04:23 PM   #11
JadussD
Senior Member
 
Join Date: Jan 2003
Posts: 2,100
Default Re: Just curious about disasseblers

> Wow, confusing! So, how would you specify a 24-bit address
> for, say, an LDX command?

The 65c816 has separate LDX commands(and LDY, and LDA and other related commands that address things) with different bytes signifying which one is used. You should be able to find these on an instruction set that lists the opcodes. One LDX command is followed by a 3-bytes for 24-bit addresses, the other is followed by a 2-bytes for 16-bit addresses. The assembler automatically figures out which opcode to use depending on the size of the address in the code.

<P ID="signature"><HR>
<CENTER>http://members.aol.com/jadussvii/Alc...ngineering.oggThis music wants you dead.</a></center></P>
JadussD is offline   Reply With Quote
Old 10-16-2004, 11:55 PM   #12
imnonoitall
Junior Member
 
Join Date: May 2004
Posts: 29
Default Re: Just curious about disasseblers

Very nice tool! Even better than a disassembler, since I just have to trace the right part of the ROM and sift through a < 500KB file instead of an unsorted 20 MB complete disassebled ROM. Many thanks and compliments on the well-featured emulator.

<P ID="signature"></P>
imnonoitall is offline   Reply With Quote
Old 10-17-2004, 05:06 AM   #13
imnonoitall
Junior Member
 
Join Date: May 2004
Posts: 29
Default Trouble in paradise...

My assembly noobishness is surfacing again. The tracer is giving me all the addresses as page:address. For example: I see the emulator run the subroutine at 14:FD03. Is there any way I can translate the page:address into the physical address of the subroutine in the ROM file?

<P ID="signature"></P>
imnonoitall is offline   Reply With Quote
Reply

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 06:58 PM.

Contact Us - Zophar's Domain - Archive - Top

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