summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/machine.lua
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2021-08-24 10:22:03 +0200
committer GitHub <noreply@github.com>2021-08-24 10:22:03 +0200
commit0e4ba6d49ad68d13966dc2cd14adbe68a7b3b684 (patch)
treef44d329f0185cb67a7ff5babafa1b264ac6273ce /scripts/src/machine.lua
parentc471fad8e019703bb3323682f662249e251414f4 (diff)
Major state refactoring of pc98 based HW (#8475)
First major step in splitting up machine classes in NEC PC98 family tree: * Splits up derivative HWs into own state machine and files (pc98ha.cpp, pc9821.cpp and pc9801_epson.cpp); * Adds a preliminary uPD4991a parallel RTC, used by pc98ha; * Fix -26, -86, -118 C-bus sound board dips or jumper settings; * Fix default sound card for pc9821 (-86) and pc9821ce2 / pc9821cx3 (-118); * Adds preliminary MAD Factory Otomichan-kai C-bus sound board; * Adds boilerplate code for C-bus installing board I/Os, avoiding the possible inconvenience of board(s) getting silently unmapped by other installed boards; * Major refactoring of HW dip switches readouts, using required_ioports instead of scattering things around in PPI hooks; * Extensive QA rundown, including research on missing features and undumped machines. pc9801.cpp: Don't passthrough mouse irq frequency when cycle setting is setup too, fixes jastrike mouse input on options menu. pc9801.cpp: Fix kanji RAM window LR readback, makes telenetm to properly display 8x16 chars on RS and derivative machines. pc8801.cpp: fixed OPNA RAM readback, allowing SWs to playback ADPCMs properly. New machines marked as NOT_WORKING ---------------------------------- PC-98LT [anonymous] PC-98HA "Handy98" [anonymous] PC-9821Nr15 (98NOTE Lavie) [flyingharuka] PC-9821Nr166 (98NOTE Lavie) [flyingharuka] PC-9821Nw150 (98NOTE Lavie) [flyingharuka] PC-9821Ra266 (98MATE R) [flyingharuka] PC-9821Cx3 (98MULTi CanBe) [flyingharuka] PC-9801VX [qazmko1029] PC-9801US [CoolMod]
Diffstat (limited to 'scripts/src/machine.lua')
-rw-r--r--scripts/src/machine.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua
index 264664d259f..3bfdace0099 100644
--- a/scripts/src/machine.lua
+++ b/scripts/src/machine.lua
@@ -3450,6 +3450,18 @@ end
---------------------------------------------------
--
+--@src/devices/machine/upd4991a.h,MACHINES["UPD4991A"] = true
+---------------------------------------------------
+
+if (MACHINES["UPD4991A"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/upd4991a.cpp",
+ MAME_DIR .. "src/devices/machine/upd4991a.h",
+ }
+end
+
+---------------------------------------------------
+--
--@src/devices/machine/upd4992.h,MACHINES["UPD4992"] = true
---------------------------------------------------