summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2019-01-07 15:51:23 +0000
committerwiz <wiz@pkgsrc.org>2019-01-07 15:51:23 +0000
commitaf6e239a024e4f453c42e0d566928ebe2d2c57a8 (patch)
tree11fbe90fa134fcc8c29ece6e11f1b2a896d16145 /emulators
parent1624f52af9afcf0e69dec567ccebdb9a9118ae56 (diff)
downloadpkgsrc-af6e239a024e4f453c42e0d566928ebe2d2c57a8.tar.gz
mame: update to 0.205.
With Christmas just over, it’s time for the final MAME release for 2018, and what a year it’s been! MAME 0.205 is no different. Newly supported arcade systems include Unico’s Magic Purple, and Visco’s never-before-seen prototype Pastel Island. The latter ties in nicely with improved video emulation for the SSV platform (yes, this fixes other long-standing glitches, too). Newly playable machines include Konami’s Tobe! Polystars, Evil Night and Total Vice. Yes, Konami M2 emulation is finally here! Be aware that there’s still a lot of room for performance optimisation on this system. Putting arcade systems aside for a moment, this release includes support for Dance Dance Revolution Strawberry Shortcake, and the Nintendo Game & Watch titles Oil Panic and Squish. Interestingly, there are no other emulators or simulators for Squish, and it hasn’t been included in any of Nintendo’s Game & Watch collections. It seems to draw inspiration from the Famicom game Devil World. There are hundreds more Commodore 64 cassettes in the software list now, and quite a few more BBC ROMs as well. Software lists have been added for the Nascom computers, along with updates to the boot ROM choices and better keyboard emulation. We’ve also created a skeleton driver and documented the known software for the Chinese Monon Color console. In a last-minute addition we added support for new version 2 .WOZ floppy images on the Apple II family.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mame/Makefile5
-rw-r--r--emulators/mame/PLIST4
-rw-r--r--emulators/mame/distinfo15
-rw-r--r--emulators/mame/patches/patch-makefile53
-rw-r--r--emulators/mame/patches/patch-scripts_toolchain.lua52
-rw-r--r--emulators/mame/patches/patch-src_mame_machine_pocketc.cpp15
-rw-r--r--emulators/mame/patches/patch-src_mame_video_xavix.cpp16
7 files changed, 28 insertions, 132 deletions
diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile
index 11009c581c5..8cb7631feeb 100644
--- a/emulators/mame/Makefile
+++ b/emulators/mame/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.94 2018/12/09 18:52:27 adam Exp $
+# $NetBSD: Makefile,v 1.95 2019/01/07 15:51:23 wiz Exp $
-DISTNAME= mame-0.204
-PKGREVISION= 1
+DISTNAME= mame-0.205
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=mamedev/}
GITHUB_TAG= ${DISTNAME:S/-//S/.//}
diff --git a/emulators/mame/PLIST b/emulators/mame/PLIST
index d476340c9d0..9bf53f50cdf 100644
--- a/emulators/mame/PLIST
+++ b/emulators/mame/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.30 2018/12/07 10:32:53 wiz Exp $
+@comment $NetBSD: PLIST,v 1.31 2019/01/07 15:51:23 wiz Exp $
bin/castool
bin/chdman
bin/floptool
@@ -316,6 +316,7 @@ share/mame/hash/mo5_flop.xml
share/mame/hash/mo5_qd.xml
share/mame/hash/mo6_cass.xml
share/mame/hash/mo6_flop.xml
+share/mame/hash/monon_color.xml
share/mame/hash/mpu1000.xml
share/mame/hash/mpz80.xml
share/mame/hash/msx.hsi
@@ -340,6 +341,7 @@ share/mame/hash/mz800_cass.xml
share/mame/hash/n64.xml
share/mame/hash/n64dd.xml
share/mame/hash/nascom_flop.xml
+share/mame/hash/nascom_snap.xml
share/mame/hash/nascom_socket.xml
share/mame/hash/neocd.xml
share/mame/hash/neogeo.xml
diff --git a/emulators/mame/distinfo b/emulators/mame/distinfo
index 7fe0191fedc..a5ac8c3fc94 100644
--- a/emulators/mame/distinfo
+++ b/emulators/mame/distinfo
@@ -1,16 +1,15 @@
-$NetBSD: distinfo,v 1.77 2018/12/08 23:18:54 wiz Exp $
+$NetBSD: distinfo,v 1.78 2019/01/07 15:51:23 wiz Exp $
-SHA1 (mame-0.204.tar.gz) = 770f600c4c83793ffade1fae471df9e0a8087300
-RMD160 (mame-0.204.tar.gz) = 9a17f89b8fc34fbe26885f47ecc9de282e4fff1c
-SHA512 (mame-0.204.tar.gz) = 56c2c9bbc269ed7ec4bade32d4b5790786823b634aa7719d03b6cd9e034e9ee808480ac8e94e3ea7f1b18ccff6a92d3914042a00c095caf88281f6ed1c671d8c
-Size (mame-0.204.tar.gz) = 131185850 bytes
+SHA1 (mame-0.205.tar.gz) = efd1038924ffe3b6c9e97309edec1b8b04aa78bd
+RMD160 (mame-0.205.tar.gz) = 93033e3f9858d492db8d3b669fc3527bec077f69
+SHA512 (mame-0.205.tar.gz) = fa0831eed3e6ef5a42b7e2efc8ed96b120c7e089139a4237771e8f3abd17d18369a1c1e865376ccbc828b6685070b3f0365b5132d48faa22c523d193d46ff3b6
+Size (mame-0.205.tar.gz) = 145558242 bytes
SHA1 (patch-3rdparty_asio_include_asio_detail_config.hpp) = 9b0d6139e853d8efb9d51270bbfa5382feac42a7
SHA1 (patch-3rdparty_bgfx_examples_common_font_font__manager.cpp) = e39b2dff553505531adb5f0a31b0a22306b8e2e4
SHA1 (patch-3rdparty_bx_include_bx_platform.h) = caa57597d7c0916f82b3dbdc6ebf2e4851984e70
SHA1 (patch-3rdparty_bx_src_mutex.cpp) = 06efd43f0b69a6e1b764528527b5cfaa1adba138
SHA1 (patch-3rdparty_bx_src_thread.cpp) = 9bdd6334e9522faa4a42990ac77284633b31c6a5
SHA1 (patch-3rdparty_genie_build_gmake.darwin_genie.make) = be6413d6cd277ad4d7b5266bad0d6c05c320bc0c
-SHA1 (patch-makefile) = 7af4b3c5323ae530b74cd479041df2d9cf62e1fe
+SHA1 (patch-makefile) = d04055d8c0a9c3c4965ebe017811936ef01b03a0
SHA1 (patch-scripts_genie.lua) = 91940dbcf30e0abd25167a79b53deb43a18daf86
-SHA1 (patch-scripts_toolchain.lua) = 35ba2a981c1951f15f5ceb6f0eae785e41371b1d
-SHA1 (patch-src_mame_video_xavix.cpp) = 3791a7937488bd134a3607616e5483f0d30b96f8
+SHA1 (patch-src_mame_machine_pocketc.cpp) = b9e368adfda5c4ec0704d2cdabefd900de03257a
diff --git a/emulators/mame/patches/patch-makefile b/emulators/mame/patches/patch-makefile
index 5b6ac31fb91..c1bb6e7a4fc 100644
--- a/emulators/mame/patches/patch-makefile
+++ b/emulators/mame/patches/patch-makefile
@@ -1,12 +1,9 @@
-$NetBSD: patch-makefile,v 1.22 2018/12/08 23:18:54 wiz Exp $
+$NetBSD: patch-makefile,v 1.23 2019/01/07 15:51:23 wiz Exp $
Treat all BSDs the same.
Do not set compiler optimization.
-Add missing rules for building with clang on FreeBSD and NetBSD.
-https://github.com/mamedev/mame/pull/4383
-
--- makefile.orig 2018-08-29 00:35:24.000000000 +0000
+++ makefile
@@ -190,19 +190,19 @@ GENIEOS := solaris
@@ -44,51 +41,3 @@ https://github.com/mamedev/mame/pull/4383
# set the symbols level
ifdef SYMBOLS
-@@ -1395,6 +1391,23 @@ freebsd_x86: generate $(PROJECTDIR)/$(MA
- $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd config=$(CONFIG)32
-
- #-------------------------------------------------
-+# gmake-freebsd-clang
-+#-------------------------------------------------
-+
-+$(PROJECTDIR)/$(MAKETYPE)-freebsd-clang/Makefile: makefile $(SCRIPTS) $(GENIE)
-+ $(SILENT) $(GENIE) $(PARAMS) $(TARGET_PARAMS) --gcc=freebsd-clang --gcc_version=$(CLANG_VERSION) $(MAKETYPE)
-+
-+.PHONY: freebsd_x64_clang
-+freebsd_x64_clang: generate $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang/Makefile
-+ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)64 precompile
-+ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)64
-+
-+.PHONY: freebsd_x86_clang
-+freebsd_x86_clang: generate $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang/Makefile
-+ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)32 precompile
-+ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)32
-+
-+#-------------------------------------------------
- # gmake-netbsd
- #-------------------------------------------------
-
-@@ -1415,6 +1428,23 @@ netbsd_x86: generate $(PROJECTDIR)/$(MAK
- $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-netbsd config=$(CONFIG)32
-
- #-------------------------------------------------
-+# gmake-netbsd-clang
-+#-------------------------------------------------
-+
-+$(PROJECTDIR)/$(MAKETYPE)-netbsd-clang/Makefile: makefile $(SCRIPTS) $(GENIE)
-+ $(SILENT) $(GENIE) $(PARAMS) $(TARGET_PARAMS) --gcc=netbsd-clang --gcc_version=$(CLANG_VERSION) $(MAKETYPE)
-+
-+.PHONY: netbsd_x64_clang
-+netbsd_x64_clang: generate $(PROJECTDIR)/$(MAKETYPE)-netbsd-clang/Makefile
-+ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-netbsd-clang config=$(CONFIG)64 precompile
-+ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-netbsd-clang config=$(CONFIG)64
-+
-+.PHONY: netbsd_x86_clang
-+netbsd_x86_clang: generate $(PROJECTDIR)/$(MAKETYPE)-netbsd-clang/Makefile
-+ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-netbsd-clang config=$(CONFIG)32 precompile
-+ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-netbsd-clang config=$(CONFIG)32
-+
-+#-------------------------------------------------
- # gmake-openbsd
- #-------------------------------------------------
-
diff --git a/emulators/mame/patches/patch-scripts_toolchain.lua b/emulators/mame/patches/patch-scripts_toolchain.lua
deleted file mode 100644
index 19d9eefde6a..00000000000
--- a/emulators/mame/patches/patch-scripts_toolchain.lua
+++ /dev/null
@@ -1,52 +0,0 @@
-$NetBSD: patch-scripts_toolchain.lua,v 1.4 2018/12/08 23:18:54 wiz Exp $
-
-Allow Clang on FreeBSD, NetBSD, and OpenBSD.
-https://github.com/mamedev/mame/pull/4383
-
---- scripts/toolchain.lua.orig 2018-09-26 04:43:31.000000000 +0000
-+++ scripts/toolchain.lua
-@@ -23,6 +23,7 @@ newoption {
- { "android-x64", "Android - x64" },
- { "asmjs", "Emscripten/asm.js" },
- { "freebsd", "FreeBSD" },
-+ { "freebsd-clang", "FreeBSD (clang compiler)"},
- { "linux-gcc", "Linux (GCC compiler)" },
- { "linux-clang", "Linux (Clang compiler)" },
- { "ios-arm", "iOS - ARM" },
-@@ -31,7 +32,9 @@ newoption {
- { "mingw64-gcc", "MinGW64" },
- { "mingw-clang", "MinGW (clang compiler)" },
- { "netbsd", "NetBSD" },
-+ { "netbsd-clang", "NetBSD (clang compiler)"},
- { "openbsd", "OpenBSD" },
-+ { "openbsd-clang", "OpenBSD (clang compiler)"},
- { "osx", "OSX (GCC compiler)" },
- { "osx-clang", "OSX (Clang compiler)" },
- { "pnacl", "Native Client - PNaCl" },
-@@ -168,14 +171,26 @@ function toolchain(_buildDir, _subDir)
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-freebsd")
- end
-
-+ if "freebsd-clang" == _OPTIONS["gcc"] then
-+ location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-freebsd-clang")
-+ end
-+
- if "netbsd" == _OPTIONS["gcc"] then
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-netbsd")
- end
-
-+ if "netbsd-clang" == _OPTIONS["gcc"] then
-+ location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-netbsd-clang")
-+ end
-+
- if "openbsd" == _OPTIONS["gcc"] then
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-openbsd")
- end
-
-+ if "openbsd-clang" == _OPTIONS["gcc"] then
-+ location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-openbsd-clang")
-+ end
-+
- if "ios-arm" == _OPTIONS["gcc"] then
- premake.gcc.cc = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
- premake.gcc.cxx = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++"
diff --git a/emulators/mame/patches/patch-src_mame_machine_pocketc.cpp b/emulators/mame/patches/patch-src_mame_machine_pocketc.cpp
new file mode 100644
index 00000000000..ab0347cc550
--- /dev/null
+++ b/emulators/mame/patches/patch-src_mame_machine_pocketc.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_mame_machine_pocketc.cpp,v 1.1 2019/01/07 15:51:23 wiz Exp $
+
+Fix compile.
+https://github.com/mamedev/mame/commit/9592a18b11d708a1430f2684f3f70eef43372de0
+
+--- src/mame/machine/pocketc.cpp.orig 2018-12-25 14:27:31.000000000 +0000
++++ src/mame/machine/pocketc.cpp
+@@ -1,6 +1,7 @@
+ // license:GPL-2.0+
+ // copyright-holders:Peter Trauner
+
++#include "emu.h"
+ #include "includes/pocketc.h"
+
+ WRITE8_MEMBER(pocketc_state::out_a_w)
diff --git a/emulators/mame/patches/patch-src_mame_video_xavix.cpp b/emulators/mame/patches/patch-src_mame_video_xavix.cpp
deleted file mode 100644
index c9f86b00066..00000000000
--- a/emulators/mame/patches/patch-src_mame_video_xavix.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-src_mame_video_xavix.cpp,v 1.2 2018/12/07 22:09:16 wiz Exp $
-
-For sin, atan in std::.
-https://github.com/mamedev/mame/pull/4379
-
---- src/mame/video/xavix.cpp.orig 2018-11-27 19:12:23.000000000 +0000
-+++ src/mame/video/xavix.cpp
-@@ -7,6 +7,8 @@
- // #define VERBOSE 1
- #include "logmacro.h"
-
-+#include <cmath>
-+
- inline void xavix_state::set_data_address(int address, int bit)
- {
- m_tmp_dataaddress = address;