summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/formats.lua
diff options
context:
space:
mode:
author Erwin Jansen <pokowaka@users.noreply.github.com>2020-09-17 01:39:48 -0700
committer GitHub <noreply@github.com>2020-09-17 18:39:48 +1000
commit9a0c63f673d1e6b91e8abbf6e54729aad7e439e9 (patch)
tree6b547d13a36c6517412b2e8402f276f2d9283ce7 /scripts/src/formats.lua
parent8d7d01caef380b119fbd8653fa5ad23e0d592564 (diff)
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.
Diffstat (limited to 'scripts/src/formats.lua')
-rw-r--r--scripts/src/formats.lua13
1 files changed, 13 insertions, 0 deletions
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
@@ -1411,6 +1411,19 @@ 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
--------------------------------------------------