diff options
-rw-r--r-- | hash/intv.xml | 19 | ||||
-rw-r--r-- | src/devices/bus/intv/slot.cpp | 6 |
2 files changed, 22 insertions, 3 deletions
diff --git a/hash/intv.xml b/hash/intv.xml index f8a0d47d26f..5156c513b6b 100644 --- a/hash/intv.xml +++ b/hash/intv.xml @@ -958,6 +958,25 @@ </dataarea> </part> </software> + + <software name="mspacman" supported="no"> + <description>Ms. Pac-Man</description> + <year>1986</year> + <publisher><homebrew></publisher> + <info name="developer" value="Carl Mueller Jr."/> + <part name="cart" interface="intv_cart"> + <feature name="slot" value="intv_rom" /> + <dataarea name="5000" size="0x4000"> + <rom name="ms.50" size="0x4000" crc="22b97bf6" sha1="e57eed80cb38ca1d597cfe51cb0a8d5c08647aad" offset="0x0000"/> + </dataarea> + <dataarea name="8800" size="0x6000"> + <rom name="ms.88" size="0x6000" crc="714bc9b0" sha1="91d6ddd487fd8d5559a5abc3025af12f7aac889a" offset="0x0000"/> + </dataarea> + <dataarea name="D000" size="0x6000"> + <rom name="ms.d0" size="0x6000" crc="467e8990" sha1="68be9156d29925575ac2838a2cd52e7c87ac568e" offset="0x0000"/> + </dataarea> + </part> + </software> <software name="nstalker"> <description>Night Stalker</description> diff --git a/src/devices/bus/intv/slot.cpp b/src/devices/bus/intv/slot.cpp index d502016fe76..3716333cbf8 100644 --- a/src/devices/bus/intv/slot.cpp +++ b/src/devices/bus/intv/slot.cpp @@ -396,8 +396,8 @@ bool intv_cart_slot_device::call_load() return load_fullpath(); else { - UINT16 offset[] = { 0x400, 0x2000, 0x4000, 0x4800, 0x5000, 0x6000, 0x7000, 0x8000, 0x9000, 0xa000, 0xb000, 0xc000, 0xd000, 0xe000, 0xf000}; - const char* region_name[] = {"0400", "2000", "4000", "4800", "5000", "6000", "7000", "8000", "9000", "A000", "B000", "C000", "D000", "E000", "F000"}; + UINT16 offset[] = { 0x400, 0x2000, 0x4000, 0x4800, 0x5000, 0x6000, 0x7000, 0x8000, 0x8800, 0x9000, 0xa000, 0xb000, 0xc000, 0xd000, 0xe000, 0xf000}; + const char* region_name[] = {"0400", "2000", "4000", "4800", "5000", "6000", "7000", "8000", "8800", "9000", "A000", "B000", "C000", "D000", "E000", "F000"}; const char *pcb_name = get_feature("slot"); bool extra_bank = false; @@ -416,7 +416,7 @@ bool intv_cart_slot_device::call_load() m_cart->rom_alloc(extra_bank ? 0x22000 : 0x20000, tag()); ROM = m_cart->get_rom_base(); - for (int i = 0; i < 15; i++) + for (int i = 0; i < 16; i++) { address = offset[i]; size = get_software_region_length(region_name[i]); |