From 352fdf56121d46b2858512bfcb44f86bbb3ddf73 Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 29 Dec 2019 08:41:38 -0500 Subject: ns5652: Undumped PROM is used as data (nw) --- src/mame/drivers/ns5652.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mame/drivers/ns5652.cpp b/src/mame/drivers/ns5652.cpp index 50d375df7a8..b059c756c0e 100644 --- a/src/mame/drivers/ns5652.cpp +++ b/src/mame/drivers/ns5652.cpp @@ -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 m_maincpu; + required_region_ptr 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) -- cgit v1.2.3