summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author cam900 <dbtlrchl@naver.com>2021-12-15 00:31:51 +0900
committer GitHub <noreply@github.com>2021-12-14 10:31:51 -0500
commit00f45b9df14f4af7ce63d2e4bcb991eebcb960e5 (patch)
tree9010ef79e41063ca79023eba3b2b82d4933de61a /scripts
parent53f28f0934dbe41df294e4015d9c59fa90818407 (diff)
Atari Lynx emulation updates (#8931)
* Atari Lynx emulation updates - Use memory_view for address mapping - Support variable framerate, Fix screen overscan (102 visible + 3 blank lines) - Fix collision handling (possibly copy-paste error?) - Reduce unnecessary shared pointers, Some duplications - Use inlines values for bit flags - Add support for variable page size for cartridge, AUDIN pin for bankswitch - Add hardware notes, Initialize values - Fix namings, Fix spacings, Use shorter/correct type values - Move lynx sound functions into device/sound/lynx.*, Fix sound pitch (input clock related)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/sound.lua12
-rw-r--r--scripts/target/mame/arcade.lua1
-rw-r--r--scripts/target/mame/mess.lua3
3 files changed, 14 insertions, 2 deletions
diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua
index da54941155b..00e5d9f4c43 100644
--- a/scripts/src/sound.lua
+++ b/scripts/src/sound.lua
@@ -1565,3 +1565,15 @@ if (SOUNDS["UDA1344"]~=null) then
MAME_DIR .. "src/devices/sound/uda1344.h",
}
end
+
+---------------------------------------------------
+--
+--@src/devices/sound/lynx.h,SOUNDS["LYNX"] = true
+---------------------------------------------------
+
+if (SOUNDS["LYNX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/lynx.cpp",
+ MAME_DIR .. "src/devices/sound/lynx.h",
+ }
+end
diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua
index a962a7a7c57..7eea5036039 100644
--- a/scripts/target/mame/arcade.lua
+++ b/scripts/target/mame/arcade.lua
@@ -298,6 +298,7 @@ SOUNDS["TT5665"] = true
--SOUNDS["UDA1344"] = true
SOUNDS["SWP30"] = true
SOUNDS["XT446"] = true
+--SOUNDS["LYNX"] = true
--------------------------------------------------
-- specify available video cores
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index a828abdb146..5d92661b03f 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -325,6 +325,7 @@ SOUNDS["ROLANDPCM"] = true
--SOUNDS["TT5665"] = true
SOUNDS["RP2C33_SOUND"] = true
SOUNDS["UDA1344"] = true
+SOUNDS["LYNX"] = true
--------------------------------------------------
-- specify available video cores
@@ -1913,8 +1914,6 @@ files {
MAME_DIR .. "src/mame/video/atarist.h",
MAME_DIR .. "src/mame/drivers/lynx.cpp",
MAME_DIR .. "src/mame/includes/lynx.h",
- MAME_DIR .. "src/mame/audio/lynx.cpp",
- MAME_DIR .. "src/mame/audio/lynx.h",
MAME_DIR .. "src/mame/machine/lynx.cpp",
MAME_DIR .. "src/mame/drivers/pofo.cpp",
MAME_DIR .. "src/mame/machine/pofo_kbd.cpp",