From 9a0c63f673d1e6b91e8abbf6e54729aad7e439e9 Mon Sep 17 00:00:00 2001 From: Erwin Jansen Date: Thu, 17 Sep 2020 01:39:48 -0700 Subject: Add MDCR support for P2000t (#7215) This adds support for the mini digital cassette recorder that can be found inside a P2000t. This implementation is based on documentation that can be found in https://github.com/p2000t/documentation. In memory of NPM Jansen, who taught me all the magic of bits and bytes. --- scripts/src/formats.lua | 13 +++++++++++++ scripts/target/mame/mess.lua | 2 ++ 2 files changed, 15 insertions(+) (limited to 'scripts') diff --git a/scripts/src/formats.lua b/scripts/src/formats.lua index f88266bcd7c..de31770aaf1 100644 --- a/scripts/src/formats.lua +++ b/scripts/src/formats.lua @@ -1409,6 +1409,19 @@ if (FORMATS["IBMXDF_DSK"]~=null or _OPTIONS["with-tools"]) then } end +-------------------------------------------------- +-- +--@src/lib/formats/adam_cas.h,FORMATS["ADAM_CAS"] = true +-------------------------------------------------- + +if (FORMATS["P2000T_CAS"]~=null or _OPTIONS["with-tools"]) then + files { + MAME_DIR.. "src/lib/formats/p2000t_cas.cpp", + MAME_DIR.. "src/lib/formats/p2000t_cas.h", + } +end + + -------------------------------------------------- -- --@src/lib/formats/p6001_cas.h,FORMATS["P6001_CAS"] = true diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua index e01532fb463..1e016b307a3 100644 --- a/scripts/target/mame/mess.lua +++ b/scripts/target/mame/mess.lua @@ -883,6 +883,7 @@ BUSES["NSCSI"] = true BUSES["NUBUS"] = true BUSES["O2"] = true BUSES["ORICEXT"] = true +BUSES["P2000"] = true BUSES["PASOPIA"] = true BUSES["PC1512"] = true BUSES["PCE"] = true @@ -3225,6 +3226,7 @@ files { MAME_DIR .. "src/mame/drivers/p2000t.cpp", MAME_DIR .. "src/mame/includes/p2000t.h", MAME_DIR .. "src/mame/machine/p2000t.cpp", + MAME_DIR .. "src/mame/machine/p2000t_mdcr.cpp", MAME_DIR .. "src/mame/video/p2000t.cpp", MAME_DIR .. "src/mame/drivers/vg5k.cpp", } -- cgit v1.2.3-70-g09d2