|
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.
|
|