Commit Graph

69058 Commits

Author SHA1 Message Date
Julian Sikorski
4470d977da Unbreak building shaders in cmd shell and add support for building them in MINGW bash shell (#5740) 2019-10-15 12:32:42 -04:00
R. Belmont
609c828890
Merge pull request #5735 from cam900/ymf278b_fmmix
ymf278b.cpp : Allow scaling for FM DO2 output
2019-10-15 12:31:47 -04:00
Ivan Vangelista
c4b430bdb4 apple2_flop_orig.xml: fixed validation (nw) 2019-10-15 17:06:42 +02:00
Ivan Vangelista
a85a111982 nmk16.cpp: added a note about the gunnailb audio CPU ROM (nw) 2019-10-15 17:03:31 +02:00
Firehawke
ef399a5cf9 Apple II update to October 14th, 2019 (#5742)
* New working software list additions

-----------------------------------

apple2_flop_orig: Whole Numbers: Multiplication (cleanly cracked), Statistics (Version 3.3) (cleanly cracked), Fractions: Basic Skills (cleanly cracked) [4am, Firehawke]

apple2_flop_clcracked: Winter Games, Apple Stellar Invaders, Ulysses and the Golden Fleece [4am, Firehawke]

* New working software list additions
-----------------------------------

apple2_flop_orig: Simultaneous Linear Equations [4am, Firehawke]

* New working software list additions
-----------------------------------

apple2_flop_clcracked: Balancing Act (cleanly cracked), Fractions: Subtraction (cleanly cracked) [4am, Firehawke]

* New working software list additions
-----------------------------------

apple2_flop_orig: The Coveted Mirror, Alibi, Reversal, The Haunted Palace, Sherlock Holmes in Another Bow, Dogfight II, The Mask of the Sun (Version 2.1), Pulsar ][ [4am, Firehawke]
2019-10-15 08:34:33 -04:00
George McMullen
4a2d4b3911 Check that m_display is not null to prevent crash (#5725)
* Check that m_display is not null to prevent crash

https://mametesters.org/view.php?id=7372

* Probe method to check if X11 is actually being used

As per: https://github.com/mamedev/mame/pull/5725#issuecomment-540004475 this will help MAME verify X11 has no inputs when X11 is not actually being used (e.g. on RetroPie where SDL display is RPI).

* Fix issue where a lightgun with no name would return nullptr

As suggested by https://github.com/mamedev/mame/pull/5725#issuecomment-539914514 , a bug in create_lightgun_device() returned nullptr if the lightgun had no name. Now it will create the device with a name using the lightgun's device index

* Change older m_display change to assert

This module can now be probed and  disabled correctly if X11 is not being used. Removed the if statements that would be called every cycle (and fail silently) in favor of asserts, as MAME does not currently handle dynamic hardware configuration changes.

* Fixing semicolons in asserts that were ifs
2019-10-15 22:13:06 +11:00
couriersud
6daeb4b4d1 netlist: Use unique_ptr where possible. (nw)
Also improve code readability.
2019-10-15 11:30:05 +02:00
AJR
d9905f3d03 sed1330: Calculate frame rate for LCD screen (nw)
pc8401a: Derive clocks from XTAL (might well be different for pc8500, so not used there) (nw)
2019-10-15 02:09:30 -04:00
Vas Crabb
0a72dcb2e0 (nw) mw8080bw.cpp: completely untangle tone generator from machine state, move more stuff out to derived state classes, reduce tag map lookups 2019-10-15 13:30:00 +11:00
algestam
1690261fef New Working clone added (#5739)
-------------
Game & Watch: Super Mario Bros. (crystal screen) [algestam, Mr Jiggles the Christmas Man]
2019-10-15 00:13:59 +02:00
MetalliC
7f49f2bb2f triforce.cpp: redumped "Triforce DIMM Updater (3.17) (GDT-0011)", prev was bad dump [MajorPBX] 2019-10-14 20:48:40 +03:00
Ivan Vangelista
5e10a491d8 New machines marked as NOT_WORKING
----------------------------------
El Dorado [Team Europe]
2019-10-14 18:23:47 +02:00
Olivier Galibert
ff61acb863 Add missing spirv shaders (nw) 2019-10-14 14:36:05 +02:00
Patrick Mackinlay
bd6b6b5e51 sgi_gr1: small steps (nw)
* fifo half-full interrupt latching
* address map banking
* conf not dip switches
* logging improvements
2019-10-14 19:12:50 +07:00
Patrick Mackinlay
84a61fd14f wtl3132: float operation condition (nw) 2019-10-14 19:10:45 +07:00
AJR
439605cee6 mess.lua: Move some drivers to more specific subtargets, including new ones (nw) 2019-10-14 08:08:17 -04:00
AJR
73c4665039 Fix BGFX build on older OS X systems (nw)
The Vulkan renderer has to be disabled on Yosemite and older because its backend depends on Metal.
2019-10-14 07:47:37 -04:00
Ivan Vangelista
0cd3ea1d19 megadriv.xml: removed double entry. Thanks to UED-Wayder for spotting this (nw) 2019-10-14 07:41:29 +02:00
cam900
f858e1650f ymf278b.cpp : Allow scaling for FM DO2 output
ymf262.cpp : Add notes
2019-10-14 10:39:35 +09:00
Vas Crabb
5e01f764ad (nw) quick fix for multi32 games with different sound hardware - state class really should be split up more 2019-10-14 10:53:34 +11:00
Julian Sikorski
335195b53f Make shaders fixes (#5730)
* Actually honor VERBOSE setting

* Current shaders build setup is not capable of parallel build
2019-10-13 17:53:26 -04:00
MooglyGuy
61b2a8afaf -bgfx: Do texture format conversion via a full-screen GPU pass. [Ryan Holtz] 2019-10-13 20:59:35 +02:00
smf-
cd6b9ac9be fix for clang 9.0.0 on windows (nw) 2019-10-13 19:56:41 +01:00
mooglyguy
c910371408 -supracan: Various changes and code cleanup. [Ryan Holtz]
* Removed sound CPU boot hack.
 * Fixed sound CPU reset/halt behavior.
 * Documented controller shift-register protocol and removed inaccurate direct port hookups.
 * Removed P3/P4 ports which don't exist on real hardware.
 * Added save state registration.
2019-10-13 20:06:06 +02:00
yz70s
7d69cbeedb Add include folder 3rdparty/bgfx/3rdparty/khronos too (nw) 2019-10-13 19:20:51 +02:00
yz70s
142d441a6f nforcepc: use a s3 virge pci video card (nw) 2019-10-13 18:27:18 +02:00
Robbbert
ac1c53d379 (nw) mess.lua: don't need this line any more 2019-10-14 02:54:40 +11:00
Robbbert
40ad7a2f40 pasopia7 : added cassette and beeper sound, and added missing keys. Patched around the sound freeze issue. Most games work fairly well. 2019-10-14 02:39:07 +11:00
Robbbert
60186cb009 pasopia : added cassette and sound. Patched around the broken keyboard problem. 2019-10-14 02:37:25 +11:00
Robbbert
269970125a (nw) fixed compile error 2019-10-14 02:34:55 +11:00
braintro
1e204e460b New working clone
New working clone
------------------
Buggy Boy/Speed Buggy (cockpit, rev. B) [pacman70, Asayuki Kizuyomina]
2019-10-13 10:21:18 -05:00
couriersud
a89b7d194d netlist: mame netlist reorganization. [Couriersud]
- moved netlists out of driver code into audio/ or machine/ as
nl_xxx.cpp files.
- identified and documented extended validation
- updated arcade, mess and nl targets
2019-10-13 16:45:30 +02:00
braintro
3812869c54 firetrap.cpp: Replaced handcrafted MCU code with actual MCU code from decapped/dump MCU for Fire Trap (US) [TeamEurope, Brian Troha, The Dumping Union] 2019-10-13 09:45:16 -05:00
hap
a086e20e8a xtal: add comment (nw) 2019-10-13 16:38:27 +02:00
hap
1a498297b5 fb01: ram address mirror, see MT7451 (nw) 2019-10-13 16:37:27 +02:00
braintro
a4b143dc81 (nw) dec8.cpp: MCU redump for Last Mission - fixes bit rot in unused area 2019-10-13 09:33:08 -05:00
Julian Sikorski
0837e7451a WIP: sync bgfx, bx and bimg with latest upstream (#5723)
* Sync with bgfx upstream revision b91d0b6

* Sync with bx upstream revision d60912b

* Sync with bimg upstream revision bd81f60

* Add astc-codec decoder

* Rename VertexDecl to VertexLayout

* Rename UniformType enum Int1 to Sampler.

* Add NVN stub

* Fix unused-const-variable error on macOS

* Drop redundant explicit language parameters
buildoptions_cpp are only applied to c++ files and buildoptions_objcpp are only
applied to objective c++ files. As such, hardcoding -x offers no benefit while
preventing overrides (such as one needed by 3rdparty/bgfx/src/renderer_vk.cpp on
macOS) from working.

* Re-introduce -x c++ in places where C code is compiled as C++ to prevent clang from throwing a warning

* Build bgfx as Objective-C++ on macOS
It is needed due to included headers

* Enable Direct3D12 and Vulkan bgfx rendering backends

* Enable building of spirv shaders

* Properly escape /c in cmd call

* Comment out dx12 bgfx renderer

* Honor VERBOSE setting during shaders build

* Only invert hlsl shader XYZ_TO_sRGB matrix for opengl

* Add spirv shaders

* OpenGL ES needs transposed matrix too

* Metal needs transposed matrix as well
2019-10-13 07:50:38 -04:00
Ivan Vangelista
c913ccb59d dec8.cpp: verified all clocks for Ghostbusters [Guru] 2019-10-13 10:47:03 +02:00
Ivan Vangelista
ef5fd67494 cashcatnz.lay: fixed error [Heihachi_73] 2019-10-13 10:43:21 +02:00
Ivan Vangelista
dcfe717148 exedexes.cpp: verified sound chips clocks [Corrado Tomaselli] 2019-10-13 10:41:06 +02:00
couriersud
777f93b083 netlist: fix issues with 1x1 matrix. [Tafoid]
- fixes gamemachine.cpp, breakout.cpp
2019-10-12 21:57:26 +02:00
couriersud
8f83e4392f netlist: code maintenance (nw)
- clang lint and pedantic fixes
- mat_cr.h: separate solving linear systems from underlying matrix
2019-10-12 19:36:50 +02:00
Ivan Vangelista
df53d0ef17 megasys1.cpp: comment update for the p47b sound system (nw) 2019-10-12 15:21:36 +02:00
Vas Crabb
499310b605 (nw) segas32.cpp: slight cleanup 2019-10-12 23:59:33 +11:00
Vas Crabb
da9645b9c8 arse 2019-10-12 23:49:45 +11:00
Ivan Vangelista
17874f6139 f1en: reworked 8792426f66 as per comments to the commit (nw) 2019-10-12 14:22:29 +02:00
Ivan Vangelista
6a85f014b8 exedexes.cpp: measured maincpu clock, audiocpu clock and vsync [Corrado Tomaselli] 2019-10-12 14:15:27 +02:00
Ivan Vangelista
76d9f9c736 lwings.cpp: measured maincpu clock and vsync on an original sectionz PCB [Corrado Tomaselli]
lwings.cpp: measured maincpu clock on a bootleg sectionza PCB [Guru]
2019-10-12 14:02:53 +02:00
algestam
353f180f9a New working machine added (#5728)
----------
Game & Watch: Manhole (gold) [algestam, Mr. Do, Sean Riddle]
2019-10-12 11:36:05 +02:00
Ivan Vangelista
7bdf4a6a0d dec8.cpp: verified ghotsb MCU clock [Guru] 2019-10-12 10:06:12 +02:00