Skip to content

Commit 926b618

Browse files
authored
Replace uPD1771c high level emulation with a cpu core. (#13106)
* cpu/upd177x/upd177x.cpp: Add NEC uPD177x cpu core. * scv.xml: Promoted 1 item. Software list items promoted to working ------------------------------------------ Star Speeder * cpu/upd177x/upd177x.cpp: Remove a comment. * cpu/upd177x/upd177x.cpp: Remove callback on PA. * cpu/upd177x/upd177x.cpp: Update comment about setting m_pc to 1 during reset. * Add a different workaround for the sync issue between the 2 cpus in scv. * cpu/upd1771x/updf177x.cpp: Use little endian. * cpu/upd177x/upd177x.cpp: Include device tag in fatalerror messages. * epoch/scv.cpp: Update upd1771c rom region sizes. * nec/apc.cpp: Switch to upd177x_cpu_device. * epoch/scv.cpp: Add location to upd1771c rom name. * cpu/upd177x/upd177x.h: Remove 'overrides' comments.
1 parent 07cc2cf commit 926b618

File tree

9 files changed

+960
-666
lines changed

9 files changed

+960
-666
lines changed

hash/scv.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,10 @@ Information found at http://www.rhod.fr/yeno_epoch.html
363363
</part>
364364
</software>
365365

366-
<software name="starspdr" supported="partial">
366+
<software name="starspdr">
367367
<description>Star Speeder</description>
368368
<year>1985</year>
369369
<publisher>Epoch</publisher>
370-
<notes>uPD1771 adpcm playback is not supported.</notes>
371370
<part name="cart" interface="scv_cart">
372371
<feature name="slot" value="rom64k"/>
373372
<dataarea name="rom" size="0x10000">

scripts/src/cpu.lua

+7
Original file line numberDiff line numberDiff line change
@@ -3930,6 +3930,13 @@ end
39303930
--@src/devices/cpu/upd177x/upd177x.h,CPUS["UPD177X"] = true
39313931
--------------------------------------------------
39323932

3933+
if CPUS["UPD177X"] then
3934+
files {
3935+
MAME_DIR .. "src/devices/cpu/upd177x/upd177x.cpp",
3936+
MAME_DIR .. "src/devices/cpu/upd177x/upd177x.h",
3937+
}
3938+
end
3939+
39333940
if opt_tool(CPUS, "UPD177X") then
39343941
table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd177x/upd177xd.cpp")
39353942
table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd177x/upd177xd.h")

scripts/src/sound.lua

-12
Original file line numberDiff line numberDiff line change
@@ -1424,18 +1424,6 @@ if (SOUNDS["AD1848"]~=null) then
14241424
}
14251425
end
14261426

1427-
---------------------------------------------------
1428-
-- UPD1771
1429-
--@src/devices/sound/upd1771.h,SOUNDS["UPD1771"] = true
1430-
---------------------------------------------------
1431-
1432-
if (SOUNDS["UPD1771"]~=null) then
1433-
files {
1434-
MAME_DIR .. "src/devices/sound/upd1771.cpp",
1435-
MAME_DIR .. "src/devices/sound/upd1771.h",
1436-
}
1437-
end
1438-
14391427
---------------------------------------------------
14401428
-- GB_SOUND
14411429
--@src/devices/sound/gb.h,SOUNDS["GB_SOUND"] = true

0 commit comments

Comments
 (0)