ns5652: Undumped PROM is used as data (nw)

This commit is contained in:
AJR 2019-12-29 08:41:38 -05:00
parent ecde92705e
commit 352fdf5612

View File

@ -16,6 +16,7 @@ public:
ns5652_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_ecprom(*this, "ecprom")
{
}
@ -25,6 +26,7 @@ private:
void mem_map(address_map &map);
required_device<pace_device> m_maincpu;
required_region_ptr<u8> m_ecprom;
};
@ -32,6 +34,7 @@ void ns5652_state::mem_map(address_map &map)
{
map(0x0000, 0x0bff).mirror(0xd000).rom().region("program", 0);
map(0xe800, 0xebff).ram(); // 4x MM2114J-3
map(0xec00, 0xecff).lr16([this](offs_t offset) { return m_ecprom[offset]; }, "ecprom_r");
}
@ -55,8 +58,8 @@ ROM_START(ns5652)
ROM_LOAD16_BYTE("5652_003b.bin", 0x1000, 0x0400, CRC(24abf1f8) SHA1(ef22ca58e59d8301aab9175ef7ac9dc97feae9ec))
ROM_LOAD16_BYTE("5652_006b.bin", 0x1001, 0x0400, CRC(db1dca74) SHA1(05149e85237a742850446c01249c83ba373e66b3))
ROM_REGION(0x100, "prom", 0) // MM5203Q (256x8 or 512x4)
ROM_LOAD("5930_001a.bin", 0x000, 0x100, NO_DUMP)
ROM_REGION(0x100, "ecprom", 0) // 256 bytes to be packed into top 128 words of RAM
ROM_LOAD("5930_001a.bin", 0x000, 0x100, NO_DUMP) // MM5203Q (256x8 organization)
ROM_END
COMP(19??, ns5652, 0, 0, ns5652, ns5652, ns5652_state, empty_init, "National Semiconductor", "unknown INS8900 Multibus card (980305652)", MACHINE_IS_SKELETON)