head 1.10; access; symbols pkgsrc-2021Q3:1.7.0.16 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.14 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.12 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.10 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.8 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.6 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.2 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.4 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.6.0.24 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.22 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.20 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.18 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.16 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.14 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.12 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.10 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.8 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.4 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.2 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.5.0.2 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.4.0.2 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.3.0.2 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.1.0.2 pkgsrc-2016Q1-base:1.1; locks; strict; comment @# @; 1.10 date 2022.07.31.19.10.19; author wiz; state dead; branches; next 1.9; commitid 1qHJ3kQLfsrX45OD; 1.9 date 2022.07.01.16.57.29; author wiz; state Exp; branches; next 1.8; commitid Vr4lgemAYjV5jdKD; 1.8 date 2021.11.24.14.07.49; author wiz; state dead; branches; next 1.7; commitid zPerZ4oZPKrpp3iD; 1.7 date 2019.11.08.09.44.17; author wiz; state Exp; branches; next 1.6; commitid 8tP7Iw0H8gf3X1KB; 1.6 date 2017.01.04.23.05.12; author wiz; state Exp; branches; next 1.5; commitid DMDd0KKipYN3LHAz; 1.5 date 2016.12.25.21.44.35; author joerg; state Exp; branches; next 1.4; commitid 2EcDIJgzqlslDpzz; 1.4 date 2016.09.02.12.22.46; author wiz; state Exp; branches; next 1.3; commitid eUj7rsiiAmYEbIkz; 1.3 date 2016.04.29.08.30.50; author wiz; state Exp; branches; next 1.2; commitid vLTvvlrQ8qgmXu4z; 1.2 date 2016.04.14.21.47.07; author wiz; state Exp; branches; next 1.1; commitid RNpic60QE3y8QD2z; 1.1 date 2016.04.04.17.32.17; author joerg; state Exp; branches; next ; commitid Q0zIx7G9CqLJKk1z; desc @@ 1.10 log @mame: update to 0.246. Just in time for the end of July, MAME 0.246 makes its grand entrance. The biggest upheaval this month was the reorganisation of the source code to match the project structure. If youāre paying attention, youāll see the change on the system information screens. Apart from that, it should be transparent to users, while simplifying life for developers. Several audio issues have been fixed this month, including a big overhaul for Fairlight CMI IIx synthesiser channel card emulation, and DAC sound for JPM Lucky Casino fruit machines. The latest enhancements for the crt-geom and crt-geom-deluxe shaders have been belatedly integrated, and the Chinese and Brazilian Portuguese user interface translations are once again up-to-date and complete. Software list updates this month include more prototype console cartridges, half a dozen newly dumped e-kara cartridges, and quite a few metadata cleanups and corrections, as well as the usual batches of Apple II floppies, Commodore 64 tapes and vgmplay music rips. @ text @$NetBSD: patch-scripts_genie.lua,v 1.9 2022/07/01 16:57:29 wiz Exp $ Some libraries have circular dependencies - explicitly allow this on NetBSD. https://github.com/mamedev/mame/issues/10011 --- scripts/genie.lua.orig 2022-06-29 16:31:53.000000000 +0000 +++ scripts/genie.lua @@@@ -1253,6 +1253,10 @@@@ configuration { "linux-*" } end +configuration { "netbsd" } + flags { + "LinkSupportCircularDependencies", + } configuration { "osx*" } links { @ 1.9 log @mame: update to 0.245. The highly-anticipated release of MAME 0.245 has finally arrived! As I’m sure many of you are already aware, we’ve added support for two elusive arcade games that didn’t see widespread release: Megumi Rescue and Marble Madness II, and the Konami Polygonet system has finally come to life. But before we get to that, there are some changes to MAME’s user interface that you should be aware of. Input options have been moved off the main menu to a submenu of their own. Depending on the system, there can be quite a few of them, and they weren’t all grouped. There’s also a new option to see the input devices recognised by MAME, which should help with diagnosing issues. Megumi Rescue was exhibited at a trade show, but apparently never sold as an arcade game. A home system port was released, but only in Japan. The original arcade game uses a vertically-oriented monitor, and lacks the life bar system and vertical scrolling found in the home version. Despite the arcade version remaining unreleased, and the home version never being widespread, the game was widely copied for TV game systems. It’s nice to see the original preserved all these years later. Marble Madness II was considered a failure on location test. It demonstrates Atari’s complete failure to understand what Mark Cerny got right when he made the mid ’80s classic. A few examples survived in the hands of collectors, but the game was never seen widely. The Polygonet system was Konami’s first foray into 3D arcade games. It was quite apparent that their in-house system wasn’t able to compete toe-to-toe with offerings from Sega and Namco. Polygonet Commanders was added to MAME almost twenty years ago, and saw sporadic progress for a few years after that. Regular contributor Ryan Holtz has written an engaging blog post about his adventures bringing it up to a playable state this month. The two games haven’t been promoted to working yet as they haven’t been extensively tested, but we’d love it if you try them out and post your experiences, good or bad. We’ve got more complete emulation for three Mac NuBus video cards this month: the Apple Macintosh Display Card, the SuperMac Spectrum/8 Series III, and the SuperMac Spectrum PDQ. The Macintosh Display card, which MAME uses by default for the Mac II, now supports configuring the amount of video RAM installed, as well as a selection of monitors with correct resolutions, refresh rates and colour profiles. The SuperMac Spectrum/8 Series III supports on-screen resolutions up to 1024Ɨ768, and virtual desktop resolutions up to a massive 4096Ɨ1536 in Black & White mode. Virtual desktop panning and desktop zoom are hardware-accelerated. The Spectrum PDQ supports resolutions up to 1152Ɨ870, with hardware acceleration for things like moving windows in 256-colour modes. Please be aware that MAME currently has trouble with some combinations of Mac video cards – if you want to use multiple monitors on your emulated Mac, it’s best to stick with the Macintosh Display Card or Radius ColorBoard. If you’re you’re just looking to jump into Mac emulation, there’s some helpful information to get you started on our wiki. Thanks in large part to the efforts of Ignacio Prini and Manuel Gomez Amate, the ZX Spectrum cassette software list now includes the Spanish MicroHobby magazine cover tape and type-in program collection. A number of prototypes cartridges have been added for the Game Boy, Super NES and other consoles. Commodore 64 tapes, Apple II floppies, and game music rips in VGM format have each seen a batch of additions. @ text @d1 1 a1 1 $NetBSD$ @ 1.8 log @mame: update to 0.238. You know what time it is? It’s time for MAME 0.238, our November release! After many years of waiting, the rare space shooter Monster Zero from Nihon Game is now playable. Despite the title, this game does not feature a three-headed space dragon. This release adds support for Fowling and Monkey Goalkeeper, two more Elektronika hand-held games built around the Egg/Mickey Mouse Game & Watch program. There are a few changes to MAME’s UI and the debugger this month. Firstly, MAME is now less eager to reset your input configuration if you run it without connecting a game controller. Analog inputs support a few more configuration options, and we’ve added some (long overdue) documentation for the input configuration process. The timecode logging feature (used by people making gameplay videos) has been moved to a plugin, and debugger memory views now support octal data display, and octal or decimal address display. Support for several Famicom controllers has been added or fixed this month, including the IGS Tap-tap Mat, Bandai Family Trainer, Bandai Power Pad, Bandai Hyper Shot, Konami Doremikko Piano Keyboard, and Konami Exciting Boxing air bag. Also involving peripheral support, the Acorn Archimedes drivers now support podule expansions, the Econet module slot, serial/parallel ports, and extension ROM sockets. @ text @d1 1 a1 1 $NetBSD: patch-scripts_genie.lua,v 1.7 2019/11/08 09:44:17 wiz Exp $ d3 2 a4 2 Precompilation is broken on NetBSD with gcc-5.3. Use GNU version of the C++ standard to avoid trouble with alloca on NetBSD. d6 1 a6 1 --- scripts/genie.lua.orig 2019-10-29 17:16:37.000000000 +0000 d8 2 a9 2 @@@@ -73,11 +73,6 @@@@ function layoutbuildtask(_folder, _name) end a10 7 function precompiledheaders() - if _OPTIONS["precompile"]==nil or (_OPTIONS["precompile"]~=nil and _OPTIONS["precompile"]=="1") then - configuration { "not xcode4" } - pchheader("emu.h") - configuration { } - end end d12 7 a18 1 function precompiledheaders_novs() @ 1.7 log @mame: update to 0.215. A wild MAME 0.215 appears! Yes, another month has gone by, and it’s time to check out what’s new. On the arcade side, Taito’s incredibly rare 4-screen top-down racer Super Dead Heat is now playable! Joining its ranks are other rarities, such as the European release of Capcomā€˜s 19XX: The War Against Destiny, and a bootleg of Jaleco’s P-47 – The Freedom Fighter using a different sound system. We’ve got three newly supported Game & Watch titles: Lion, Manhole, and Spitball Sparky, as well as the crystal screen version of Super Mario Bros. Two new JAKKS Pacific TV games, Capcom 3-in-1 and Disney Princesses, have also been added. Other improvements include several more protection microcontrollers dumped and emulated, the NCR Decision Mate V working (now including hard disk controllers), graphics fixes for the 68k-based SNK and Alpha Denshi games, and some graphical updates to the Super A'Can driver. We’ve updated bgfx, adding preliminary Vulkan support. There are some issues we’re aware of, so if you run into issues, check our GitHub issues page to see if it’s already known, and report it if it isn’t. We’ve also improved support for building and running on Linux systems without X11. 0.214: With the end of September almost here, it’s time to see what goodies MAME 0.214 delivers. This month, we’ve got support for five more Nintendo Game & Watch titles (Fire, Flagman, Helmet, Judge and Vermin), four Chinese computers from the 1980s, and three Motorola CPU evaluation kits. Cassette support has been added or fixed for a number of systems, the Dragon Speech Synthesis module has been emulated, and the Dragon Sound Extension module has been fixed. Acorn Archimedes video, sound and joystick support has been greatly improved. On the arcade side, remaining issues in Capcom CPS-3 video emulation have been resolved and CD images have been upgraded to CHD version 5, Sega versus cabinet billboard support has been added to relevant games, and long-standing issues with music tempo in Data East games have been worked around. 0.213: It's really about time we released MAME 0.213, with more of everything we know you all love. First of all, we’re proud to present support for the first Hegener + Glaser product: the ā€œbrikettā€ chess computers, Mephisto, Mephisto II and Mephisto III. As you can probably guess, there’s an addition from Nintendo’s Game & Watch line. This month it’s Mario’s Bombs Away. On a related note, we’ve also added Elektronika’s Kosmicheskiy Most, exported as Space Bridge, which is an unlicensed total conversion of the Game & Watch title Fire. If you haven’t played any of the handheld LCD games in MAME, you’re missing something special – they look superb with external scanned and traced artwork. On the arcade side, we’ve added The Destroyer From Jail (a rare Philko game), and alternate regional versions of Block Out and Super Shanghai Dragon’s Eye. The CD for Simpsons Bowling has been re-dumped, resolving some long-standing issues. With its protection microcontroller dumped and emulated, Birdie Try is now fully playable. Protection microcontrollers for The Deep and Last Mission have also been dumped and emulated. Improvements to Seibu hardware emulation mean Banpresto’s SD Gundam Sangokushi Rainbow Tairiku Senki is now playable, and sprite priorities in Seibu Cup Soccer have been improved. In computer emulation, two interesting DOS compatible machines based on the Intel 80186 CPU are now working: the Mindset Personal Computer, and the Dulmont Magnum. The Apple II software lists have been updated to include almost all known clean cracks and original flux dumps, and the Apple II gameport ComputerEyes frame grabber is now emulated. We’ve received a series of submissions that greatly improve emulation of the SWTPC S/09 and SS-30 bus cards. On the SGI front, the 4D/20 now has fully-working IRIX 4.0.5 via serial console, and a whole host of improvements have gone into the Indy ā€œNewportā€ graphics board emulation. Finally, MAME now supports HDI, 2MG and raw hard disk image files. @ text @d1 1 a1 1 $NetBSD: patch-scripts_genie.lua,v 1.6 2017/01/04 23:05:12 wiz Exp $ @ 1.6 log @Updated mame to 0.181. MAME 0.181 Happy new year from the MAME team! To help you celebrate, weāre unwrapping an extra-special release this month, with enough improvements to put anyone in a good mood. The exciting news thatās got people talking is that protected microcontrollers (MCUs) from a number of games have been read out and hooked up in MAME. This gives real, emulated sound in Toaplan's Vimana, Fire Shark (also known as Same! Same! Same!) and Teki Paki, proper emulation of Tokio/Scramble Formation, M-chip emulation for Taito Extermination, Dr Toppel and Plump Pop, MCU emulation for Sega Altered Beast and Golden Axe, and partial sound in World Beach Volley. There's more coming on this front, so stay tuned for upcoming releases! MAME 0.181 also marks the debut of Votrax SC-01 emulation in MAME, based on reverse-engineering die photographs. The digital section should be pretty much perfect, although there are still some issues in the analog section (plosives don't sound quite right). Overall, it's a huge improvement in Votrax speech synthesis emulation, and a great leap forward in our understanding of how the hardware works. It also means speech samples are no longer required for a number of games. Building on the ARM improvements in last month's release, we now have working floppy drives and sound in the Acorn Archimedes driver, and default NVRAM images for the US Aristocrat Mark 5 games. This greatly increases the amount of RISC OS software you can try out, improves the gameplay experience in the Archimedes-based arcade games, and allows you to play the Aristocrat gamblers without having to make your way through the setup process first. MAME's discrete netlist emulation library has been expanded substantially in this release, including some new classes of devices like ROMs, and many newly supported logic chips. This will make it substantially easier to emulate arcade games which used discrete TTL logic, and as a test of this new functionality, the TTL video board from the Hazeltine 1500 intelligent terminal is now emulated using the netlist system. There's ongoing work in this area involving multiple developers, so look out for more exciting updates in this space. Weāve fixed some fairly significant bugs, including one preventing the debugger from working on Linux or Mac with drivers that use a dynamic recompiler core, and one that could cause MAME to crash when using BDF fonts. The internal UI should be more efficient if you're using icons now, and issues with spurious key repeats should be reduced. The Beezer driver has been rewritten and should be improved overall. There are quite a few newly dumped arcade games in this release, including Eeekk!, Simpson Junior (a Korean bootleg of J. J. Squawkers), Power Flipper Pinball Shooting (an updated version of Grand Cross), a version of Momoko 120% with English text, Miss World 2002 (an adult Qix game), and alternate versions of The NewZealand Story, Real Bout Fatal Fury, Space Dungeon, Flicky and Turbo Force. The Apricot PC and Xi are now working, further increasing MAME's coverage of DOS-based computers that aren't IBM-compatible. You can also play with the COP44L version of Entex Space Invader, and Mattel Funtronics Jacks and Red Light Green Light. There are far too many improvements to list here, including lots of fixes for graphics and flip screen issues, but you can read all about it in the whatsnew.txt file, or grab the source or Windows binaries from the download page and start playing. MAME 0.180 Hello everybody! Are you ready for the November MAME release? It's definitely ready for you, and there are lots of reasons to get excited this time around. First and foremost, a number of ARM CPU core fixes mean you can now boot to the RISC OS desktop on an emulated Acorn Archimedes, and try some of the included applications. The same bug fixes allow a number of Aristocrat Mark 5 gambling machines to boot and run in demonstration mode. There are still some issues to iron out, but things have definitely improved enormously. On the arcade front, protection on Atari Space Lords has finally been reverse-engineered making the game playable. This is an interesting space combat game for one or two players, where the second player takes on the role of the gunner/co-pilot. In another improvement that's been a long time coming, The Acclaim RAX sound board is now emulated, bringing sound to Batman Forever and NBA Jam Extreme. There are substantial improvements to the Magnet System emulation (added in last month's release) making these rare prototype bootlegs playable. David Haywood also fixed some graphical issues in Altered Beast, and Angelo Salese fixed graphical issues in The Lost Castle in Darkmist. There are some other notable improvements in computer emulation, too. Barry Rodewald has added support for IC Card (PCMCIA SRAM) storage on the FM Towns, and substantially improved LSI Octopus emulation. The Mac 128/512/Plus drivers have been modernised, and serial port support has been added to the Apple IIgs driver. Another DEC Rainbow 100 update from Bavarese fixes colours in high-resolution mode among other improvements. Newly supported systems include RC De Go (Go By RC outside Japan), newly dumped versions of 1945k III, Forgotten Worlds, Sol Divide and Vendetta, the Italian release of Mustache Boy, 286-based versions of the Intel iSBC, bootlegs of Blue Shark, Pole Position II and Ozma Wars, more Fidelity and Mephisto chess computers, and more electronic toys. @ text @d1 1 a1 1 $NetBSD: patch-scripts_genie.lua,v 1.5 2016/12/25 21:44:35 joerg Exp $ d6 1 a6 1 --- scripts/genie.lua.orig 2016-12-27 21:02:43.000000000 +0000 d8 1 a8 1 @@@@ -70,11 +70,6 @@@@ function layoutbuildtask(_folder, _name) d19 1 a19 16 function addprojectflags() @@@@ -711,12 +706,12 @@@@ if string.find(_OPTIONS["gcc"], "clang") else buildoptions_cpp { "-x c++", - "-std=c++14", + "-std=gnu++14", } buildoptions_objcpp { "-x objective-c++", - "-std=c++14", + "-std=gnu++14", } end -- this speeds it up a bit by piping between the preprocessor/compiler/assembler @ 1.5 log @Fix clang detection again. @ text @d1 1 a1 1 $NetBSD: patch-scripts_genie.lua,v 1.4 2016/09/02 12:22:46 wiz Exp $ a4 1 Detect clang correctly. d6 1 a6 1 --- scripts/genie.lua.orig 2016-10-25 23:47:23.000000000 +0000 d8 1 a8 1 @@@@ -66,11 +66,6 @@@@ function layoutbuildtask(_folder, _name) d20 1 a20 25 @@@@ -169,6 +164,11 @@@@ newoption { } newoption { + trigger = "clang_version", + description = "Clang compiler version", +} + +newoption { trigger = "CC", description = "CC replacement", } @@@@ -673,22 +673,22 @@@@ local version = str_to_version(_OPTIONS[ if string.find(_OPTIONS["gcc"], "clang") and ((version < 30500) or (_OPTIONS["targetos"]=="macosx" and (version <= 60000))) then buildoptions_cpp { "-x c++", - "-std=c++1y", + "-std=gnu++1y", } buildoptions_objc { "-x objective-c++", - "-std=c++1y", + "-std=gnu++1y", } d28 1 a28 1 buildoptions_objc { a34 32 @@@@ -930,9 +930,10 @@@@ end - local version = str_to_version(_OPTIONS["gcc_version"]) - if string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "pnacl") or string.find(_OPTIONS["gcc"], "asmjs") or string.find(_OPTIONS["gcc"], "android") then - if (version < 30400) then + local gcc_version = str_to_version(_OPTIONS["gcc_version"]) + local clang_version = str_to_version(_OPTIONS["clang_version"]) + if (clang_version) then + if (clang_version < 30400) then print("Clang version 3.4 or later needed") os.exit(-1) end @@@@ -944,7 +945,7 @@@@ end "-Wno-missing-braces", -- clang is not as permissive as GCC about std::array initialization "-fdiagnostics-show-note-include-stack", } - if (version >= 30500) then + if (clang_version >= 30500) then buildoptions { "-Wno-unknown-warning-option", "-Wno-extern-c-compat", @@@@ -953,7 +954,7 @@@@ end } end else - if (version < 50000) then + if (gcc_version < 50000) then print("GCC version 5.0 or later needed") os.exit(-1) end @ 1.4 log @Updated mame to 0.177. Today marks the end of the southern winter/northern summer, and time for the hotly anticipated August MAME release. Possibly most importantly, we've fixed the issues that were causing menus to display off the edge of the screen on Windows (MT06335). We've integrated a fix for Aimtrack Dual Lightguns on windows from new contributor Pitou, and the behaviour of XAudio2 sound output should be much improved when adjusting game speed to match monitor refresh rate. Mouse behaviour on SDL builds (Linux/Mac) is also improved. Thanks very much to all the users who reported issues and helped out testing fixes. We have lots of newly working computer systems to show off: Xerox Alto-II, TeleNova Compis (a 16-bit educational computer from Sweden), Victor 9000, Wang Professional Computer (DOS-based but not IBM compatible), Atari Portfolio (of Terminator 2 fame), and Vector-06C (a mass-produced Soviet home computer). Newly working games include Namco Techno Drive, the original Japanese release of Orca's River Patrol, Korean puzzle game Intergirl, and gambling game Magical Butterfly. Speaking of gambling games, this release is a huge update for BFM, JPM and Maygay fruit machines. John Parker has created a tool that converts MFME layouts to MAME layouts and contributed layouts for hundreds of games. This should make it far easier and more rewarding to work on these drivers. MAME now includes a driver for a VGM music file player virtual machine (VGM is a popular video game music file format). This feature is primarily intended as a way for developers to test sound cores and do A/B comparisons, as it's a lot easier to just load a VGM test case than to play a game until it uses the sound chip feature you want to test, but it's also a convenient way to enjoy a wide variety of video game music. You can try it out by running mame vgmplay -bitb file.vgm or choosing "VGM player" from the list of systems and loading a VGM file in the appropriate media slot through the internal file manager. The generic serial terminal and keyboard devices have been greatly improved. This should make computers controlled via serial port far more usable. (Keyboard layout, key repeat, simultaneous keypresses, local echo, auto CR/LF and audible bell have all been improved and/or made configurable.) There are a number of improvements for MAME developers and contributors. We now allow Unicode characters in C++ and Lua source comments. This can make documentation clearer when referring to original machine labels. Source files must be encoded in UTF-8 with no initial byte order mark. Non-ASCII characters are allowed in comments, but not in most other parts of source files. Source and comments must still be written in English. We've improved build times a little, and migrated a lot of MAME-specific constructs to standard C++14 library features. A number of MAME APIs have been streamlined and modernised. The palette viewer now shows some details about the colour swatch under the mouse pointer (press F4 during gameplay to show, this may be interesting to regular users as well). Of course, this release also comes with more alternate versions of games supported (including The NewZealand Story, Metamorphic Force, Super Hang-On, Terminator 2, Golden Tee '98, Gulf Storm, and Teenage Mutant Ninja Turtles), and other fixes and improvements for machines already emulated by MAME (including Midway V-Unit outputs/layouts from Risugami and input/output improvements for gambling/medal games from AJR). @ text @d1 1 a1 1 $NetBSD: patch-scripts_genie.lua,v 1.3 2016/04/29 08:30:50 wiz Exp $ d7 1 a7 1 --- scripts/genie.lua.orig 2016-04-27 06:13:59.000000000 +0000 d9 1 a9 1 @@@@ -65,11 +65,6 @@@@ function layoutbuildtask(_folder, _name) d21 13 a33 1 @@@@ -692,22 +687,22 @@@@ local version = str_to_version(_OPTIONS[ d60 32 @ 1.3 log @Updated mame to 0.173. It's the end of another month, and time for a new MAME release. This time there are more improvements for capabilities we have added in previous versions. MAME now includes ports of some popular shaders for the BGFX renderer, including the EAGLE, HQx and xBR scaling effects. Please be aware that the BGFX renderer is still a work in progress, and you may experience some stability issues when using it. This release introduces a new cheat engine based on the Lua scripting language. This opens the door to exciting new possibilities. One of the most significant improvements is better support for systems with banked memory, including many 8-bit home computers like the Apple II family. MAME's archive file handling has been improved in a number of ways. ZIP64 format is now supported, allowing MAME to archives over 4GiB in size. This mean that, for example, large flyer collections don't need to be unzipped for use with the internal UI. 7zip support has been updated for the latest 7zip release, including new archive features and many bug fixes. We've also fixed a number of bugs in the internal file browser. Of course this release also includes many other improvements from the MAME team and external contributors. @ text @d1 1 a1 1 $NetBSD: patch-scripts_genie.lua,v 1.2 2016/04/14 21:47:07 wiz Exp $ a47 44 @@@@ -950,7 +945,17 @@@@ end local version = str_to_version(_OPTIONS["gcc_version"]) - if string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "pnacl") or string.find(_OPTIONS["gcc"], "asmjs") or string.find(_OPTIONS["gcc"], "android") then + if _OPTIONS["clang_version"] == "" then + if (version < 40900) then + print("GCC version 4.9 or later needed") + os.exit(-1) + end + buildoptions { + "-Wno-unused-result", -- needed for fgets,fread on linux + -- array bounds checking seems to be buggy in 4.8.1 (try it on video/stvvdp1.c and video/model1.c without -Wno-array-bounds) + "-Wno-array-bounds", + } + else if (version < 30400) then print("Clang version 3.4 or later needed") os.exit(-1) @@@@ -963,7 +968,6 @@@@ end "-Wno-inline-new-delete", "-Wno-constant-logical-operand", "-Wno-deprecated-register", - "-fdiagnostics-show-note-include-stack", } if (version >= 30500) then buildoptions { @@@@ -977,16 +981,6 @@@@ end "-Wno-tautological-undefined-compare", } end - else - if (version < 40900) then - print("GCC version 4.9 or later needed") - os.exit(-1) - end - buildoptions { - "-Wno-unused-result", -- needed for fgets,fread on linux - -- array bounds checking seems to be buggy in 4.8.1 (try it on video/stvvdp1.c and video/model1.c without -Wno-array-bounds) - "-Wno-array-bounds", - } end end @ 1.2 log @Update mame to 0.172. It's with great pleasure that we announce the release of MAME 0.172. This release includes several notable things above and beyond the usual assortment of new systems, new features, and bug fixes. Most importantly, this is the first release of MAME since the change to a proper open-source licensing scheme as announced earlier this month. From this release onward, MAME will be distributed under a GPL-2.0+ license, with the bulk of code being covered under a 3-clause BSD license. MAME now has an up-to-date set of documentation! You can find it under the "Documentation" drop-down at the top of this site, or go to http://docs.mamedev.org/ to check it out. Due to the large number of configuration changes made in this version, we strongly advise all users to delete their existing INI configuration files and re-create them using the "-cc" option. In case you are just overwriting previous release files note that you better remove plugin folder first For those of you running MAME on authentic CRT monitors, MAME now incorporates a number of scaling-related features from GroovyMAME, thanks to its author being brought on board the team, which should help reduce user fragmentation. Please note: If you have issues with MAME 0.172's graphics output, please ensure that "unevenstretch" is set to 1 in your MAME configuration. MAME 0.172 will also introduce a new high-score saving system using Lua scripting. The feature is still experimental, but it's something to keep an eye on for interesting future developments! This version additionally marks the creation of a cross-platform data-driven shader system via the BGFX renderer, which allows you to apply shader effects per-screen, and more. @ text @d1 1 a1 1 $NetBSD: patch-scripts_genie.lua,v 1.1 2016/04/04 17:32:17 joerg Exp $ d3 2 a5 1 Use GNU version of the C++ standard to avoid trouble with alloca on NetBSD. d7 1 a7 1 --- scripts/genie.lua.orig 2016-03-30 09:03:03.000000000 +0000 d9 13 a21 1 @@@@ -672,22 +672,22 @@@@ local version = str_to_version(_OPTIONS[ d48 1 a48 1 @@@@ -933,7 +933,17 @@@@ end d67 9 a75 1 @@@@ -959,16 +969,6 @@@@ end @ 1.1 log @Don't introduce target specific flags for Clang. Fix clang handling in the Lua build script and avoid alloca issues on NetBSD. @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- scripts/genie.lua.orig 2016-04-04 07:47:22.946297308 +0000 d8 1 a8 1 @@@@ -692,12 +692,12 @@@@ local version = str_to_version(_OPTIONS[ d22 5 a26 9 if _OPTIONS["targetos"]=="os2" then @@@@ -708,13 +708,13 @@@@ else else buildoptions_cpp { "-x c++", - "-std=c++14", + "-std=gnu++14", } end d35 1 a35 1 @@@@ -955,7 +955,17 @@@@ end d39 1 a39 1 - if string.find(_OPTIONS["gcc"], "clang") then d45 5 a49 5 + buildoptions { + "-Wno-unused-result", -- needed for fgets,fread on linux + -- array bounds checking seems to be buggy in 4.8.1 (try it on video/stvvdp1.c and video/model1.c without -Wno-array-bounds) + "-Wno-array-bounds", + } d54 1 a54 1 @@@@ -981,16 +991,6 @@@@ end d70 1 a70 1 @