MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4462
Loc: Melbourne, Australia
Send PM
Re: Help with Code disassembly
12/20/08 03:11 PM


The first number is the address to load at, the second number is the size to load:

9n_gs03.bin: load 0x8000 bytes starting at address 0x0000
10n_gs04.bin: load 0x8000 bytes starting at address 0x10000
12n_gs05.bin: load 0x8000 bytes starting at address 0x18000

(Note the "hole" ox 0x8000 bytes starting at address 0x8000.)

To see how banking is set up, look in video/gunsmoke.c at line 137 (at least that's the line number in 0.128u3 - it may have changed). There are four banks starting from 0x10000 with a stride of 0x4000. So depending on which bank is selected, the code seen by the machine at 0x8000 may come from one of four places: 0x10000, 0x14000, 0x18000 or 0x1C0000.

Since you don't have the "hole" in your concatenated ROM file, these will be 0x8000, 0xC000, 0x10000 0x14000. See if you can find the code you seek at one of these locations.







Entire thread
Subject Posted by Posted on
* Help with Code disassembly 60dBm 12/20/08 08:13 AM
. * Re: Help with Code disassembly Vas Crabb  12/20/08 11:43 AM
. * Re: Help with Code disassembly 60dBm  12/20/08 02:23 PM
. * Re: Help with Code disassembly Vas Crabb  12/20/08 03:11 PM
. * Re: Help with Code disassembly 60dBm  12/20/08 04:20 PM
. * Found at C000 60dBm  12/21/08 10:49 PM
. * Re: Found at C000 Vas Crabb  12/21/08 11:38 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 42 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 5102