Confused about KIller Instinct address map
Posted: Tue Sep 18, 2018 9:59 pm
I take a look at kinst.cpp and the MAME debugger and notice that the are two regions of program memory. "user1" and "dcs". If I am to believe that dcs is simply sound data and instructions. Why does the debugger and map include an immense amount of values past address 0x7ffff for user1?
The only conclusion i reached is that there are more instructions in the hard drive image and sure enough when I run the converted .chd binary into Binary Ninja, I get functions with mipsel assembly.
So do the read instructions of region "user1" from the HDD begin at 0x00080000?
The only conclusion i reached is that there are more instructions in the hard drive image and sure enough when I run the converted .chd binary into Binary Ninja, I get functions with mipsel assembly.
So do the read instructions of region "user1" from the HDD begin at 0x00080000?
Code: Select all
map.unmap_value_high();
map(0x00000000, 0x0007ffff).ram().share("rambase");
map(0x08000000, 0x087fffff).ram().share("rambase2");
map(0x10000080, 0x100000ff).rw(FUNC(kinst_state::control_r), FUNC(kinst_state::control_w)).share("control");
map(0x10000100, 0x1000013f).rw(FUNC(kinst_state::ide_r), FUNC(kinst_state::ide_w));
map(0x10000170, 0x10000173).rw(FUNC(kinst_state::ide_extra_r), FUNC(kinst_state::ide_extra_w));
map(0x1fc00000, 0x1fc7ffff).rom().region("user1", 0).share("rombase");