Commit Graph

643 Commits

Author SHA1 Message Date
Miodrag Milanovic
61fced67f6 deps are fixed remove includes (nw) 2016-04-23 12:32:30 +02:00
Miodrag Milanovic
c6a9773e15 move vector to video devices (nw) 2016-04-23 12:21:53 +02:00
Miodrag Milanovic
9a3b5d9a75 mode devices to proper library (nw) 2016-04-23 12:18:05 +02:00
Miodrag Milanovic
1c726824f2 Split UI and frontend part from core [Miodrag Milanovic] 2016-04-23 11:26:47 +02:00
Miodrag Milanovic
4c9c6c8c16 Added file for mame depended handling of opts (nw) 2016-04-22 09:09:39 +02:00
Miodrag Milanovic
0d980951c9 set GIT_VERSION only where it is used (nw) 2016-04-21 15:50:15 +02:00
etabeta78
057eefd060 neogeo.cpp: more accurate implementation of contollers
through slot devices. If you want to launch janshin in the
multislot driver (neogeo) you shall now prescribe
        -edge "" -ctrl1 mahjong
and set accordingly the dipswitch. The janshin driver already
comes pre-configured in the proper way, instead. [Fabio Priuli]
2016-04-21 09:29:33 +02:00
Miodrag Milanovic
8318d85597 Isolate CLI part (nw) 2016-04-20 09:50:13 +02:00
Michael Zapf
c7aeff7d6d ti99: Again one indirection less; dropped the videowrp and moved the v9938 on the EVPC board. 2016-04-19 22:03:27 +02:00
Miodrag Milanovic
c47bd3a937 Added generic latch to replace soundlatch in driver_device (nw) 2016-04-18 14:08:54 +02:00
Brad Hughes
ef4f80b4a4 Create diagnostic module for profiling and crash diagnostics 2016-04-17 16:22:51 -04:00
therealmogminer@gmail.com
250a5cc805 Add AVI writing to bgfx, nw 2016-04-17 19:16:14 +02:00
mahlemiut
74dd3287e5 Added ImGui based debugger. [Barry Rodewald]
Note: Currently only works with the BGFX renderer.  Anyone who wishes to
      write a ImGui backend for other renderers are welcome to do so.
2016-04-17 23:50:50 +12:00
Miodrag Milanovic
3e8559ad7b Always rebuild version.cpp when there is git version change (nw) 2016-04-16 17:18:17 +02:00
Miodrag Milanovic
932fb5a668 Revert "Pass explicit -qt5 to all moc and qmake calls."
This reverts commit 3176347abc.
2016-04-16 15:20:42 +02:00
Miodrag Milanović
0876691a6f Merge pull request #813 from jmallach/qt5-build
Pass explicit -qt5 to all moc and qmake calls.
2016-04-16 08:57:01 +02:00
Miodrag Milanovic
37c94e3373 Update windows to use platform independent watchdog implementation (nw) 2016-04-15 16:01:35 +02:00
Miodrag Milanovic
59662e6c71 moved osdsync to root of OSD, removed osdmini (nw) 2016-04-15 15:19:24 +02:00
Sune Vuorela
3176347abc Pass explicit -qt5 to all moc and qmake calls.
Some systems like Debian, Ubuntu and other derivatives, expect qtchooser
will be used to select the appropriate Qt version, as Qt5 and Qt4 can
co-exist.

As MAME's build system does calls to moc and qmake directly, and Qt5 is
now the required version for the debugger, pass -qt5 to all moc and qmake
calls to avoid the build fail.
2016-04-15 11:43:52 +02:00
etabeta78
8a9e872224 neogeo: reworked inputs to work through the slot device interface.
you can now configure the controllers available in the multicart
driver (neogeo) with the -crtl1 and -ctrl2 options. when you run single
game drivers (e.g. mslug, or kof94, etc.), instead, a unique controller
is available and cannot be modified. [Fabio Priuli]
2016-04-14 18:36:34 +02:00
therealmogminer@gmail.com
99aa7eacd7 bgfx: Add data-driven render target clearing [Ryan Holtz] 2016-04-14 17:22:24 +02:00
etabeta78
af570db2d0 ng_aes.cpp: converted AES controllers to work through slot devices.
Also, separated more clearly the CD component by the base unit. [Fabio Priuli]
2016-04-13 23:31:07 +02:00
Miodrag Milanovic
79bfc4b153 Make support for absolute paths for debug dir (nw) 2016-04-12 16:14:02 +02:00
Miodrag Milanovic
c833268236 Added DEBUG_DIR and DEBUG_ARGS parameters, make sense right now for VS build (nw) 2016-04-12 15:43:15 +02:00
Vas Crabb
8795f92f35 Update expat to 2.1.1 for security and bug fixes 2016-04-12 20:53:04 +10:00
hap
d981b66bba sm500: start on opcodes 2016-04-11 12:43:55 +02:00
dankan1890
5347076f49 submenu: merged some options menu. (nw) 2016-04-11 03:37:51 +02:00
etabeta78
465de15885 intv: Converted controller inputs to be slot devices. [Fabio Priuli]
intvecs: Converted hand controllers, keyboard and synth to be slot devices,
by using a temporary hack to workaround the impossibility to plug the same
device into 2 different slots as these keyboard require. [Fabio Priuli]

out of whatsnew: in the long term we need to come up with a core solution
for these devices that occupy multiple slot devices at once (another one is
the VCS Compumate which plugs into both VCS control ports), because the
hack I used (a "fake" control port which acts as a passthru for the two real
control ports) is not really satisfactory. However, current solution is better
than the selectable controllers we had, which were (ab)using
PORT_CONDITIONs...
2016-04-10 17:54:51 +02:00
Miodrag Milanovic
ffbe0c66be Basic TCP server based on libuv [Inaki Baz Castillo,Miodrag Milanovic] 2016-04-10 17:03:51 +02:00
Vas Crabb
0c502775b6 remove ui/ui.h dependency from emu.h (for couriersud) 2016-04-10 17:48:38 +10:00
Branimir Karadžić
cceb3a32b7 Update to latest BGFX (nw) 2016-04-10 09:16:09 +02:00
couriersud
5f6e20d6a6 Fix SDL build on linux:
- removed inclusion of SDL headers in all headers.
- replaced those by forward declarations and in one case by a wrapper
class (for a typedef struct).
- added -Wno-strict-prototypes to 7z build (gmake target)
2016-04-09 22:21:58 +02:00
Miodrag Milanovic
50071f4451 Fix windows compile (nw) 2016-04-09 15:22:25 +02:00
Miodrag Milanovic
a14994c6c0 Added skeleton for network output (nw) 2016-04-09 15:19:43 +02:00
Miodrag Milanovic
2f974586d6 Added none and console output providers (nw) 2016-04-09 15:19:43 +02:00
Miodrag Milanovic
39c9c8c5dc Remove os dependant output handling (nw) 2016-04-09 15:19:43 +02:00
Vas Crabb
e925c494fe Update LZMA SDK to 15.14 2016-04-09 21:52:08 +10:00
Dirk Best
4f1ffa851e vtech1: Add support for the "Dick Smith VZ-200/300 RTTY Cartridge"
Appears to work fine, except we don't have a generic RTTY interface yet.
2016-04-08 19:55:09 +02:00
Miodrag Milanovic
2a0c7a0f0b renamed memory.* to emumem.* (nw) 2016-04-08 10:15:48 +02:00
Miodrag Milanovic
dff2f2517a separate mpeg audio as device, made building separate model3 possible (nw) 2016-04-07 18:15:07 +02:00
therealmogminer@gmail.com
4f66357f9e Pull a bunch of screen chain code from drawbgfx to chainmanager where it belongs, nw 2016-04-06 17:02:31 +02:00
Olivier Galibert
69f5a2dcc8 Revert "bgfx fix for osx (nw)"
This reverts commit 9d99398208.

Not needed anymore with my previous change.
2016-04-06 09:58:00 +02:00
Miodrag Milanovic
9d99398208 bgfx fix for osx (nw) 2016-04-06 08:35:01 +02:00
Miodrag Milanovic
06415edd9e Added some more files to bgfx build and initialize imgui (nw) 2016-04-05 15:50:08 +02:00
Miodrag Milanovic
6f231bb61b added missing files in build (nw) 2016-04-05 14:50:17 +02:00
hap
10cadefbe2 sm500 file placeholders 2016-04-05 11:33:05 +02:00
Brad Hughes
3dd8afd6c0 Hybrid DirectInput/XInput module 2016-04-04 22:01:00 -04:00
cracyc
817f19fcc1 luaengine: add plugin options menu [Carl] 2016-04-04 18:17:18 -05:00
Branimir Karadžić
e63f379a0e Update BGFX to latest (nw) 2016-04-04 13:52:25 +02:00
Olivier Galibert
cdc04a9b7c screen: POC||GTFO of svg rendering from inside the rom. [O. Galibert]
It's damn slow, ~50ms/frame on cdkong.  Caching and/or hw accel will
solve that easily.  It doesn't look very good, nanosvg need better
anti-aliasing.  It also doesn't do texturing very well and images not
at all, so some of our current svgs won't look good.  But all that's
fixable.
2016-04-04 11:33:34 +02:00
Miodrag Milanovic
bad2e6199e Not needed anymore after move to C++11 features (nw) 2016-04-03 19:47:44 +02:00
Miodrag Milanovic
e0ea593f6d Make it cleaner (nw) 2016-04-03 19:14:44 +02:00
Miodrag Milanovic
cea094a3a3 moved aueffectutil to tools (nw) 2016-04-03 19:06:06 +02:00
Miodrag Milanovic
5e80a732aa move clipboard handling on proper place (nw) 2016-04-03 17:55:10 +02:00
Miodrag Milanovic
d8aa889edf merge main.cpp for windows platform (unicode) (nw) 2016-04-03 17:55:10 +02:00
Miodrag Milanovic
796f890450 removed testkeys (nw) 2016-04-03 17:19:41 +02:00
Miodrag Milanovic
bab5d21cef moved windows resources (nw) 2016-04-03 17:19:41 +02:00
Miodrag Milanovic
bd0abfd004 moved emscripten resources (nw) 2016-04-03 17:19:41 +02:00
Jeffrey Clark
ca3e65e35f refactor miscmenu and add adv menu (nw) 2016-04-03 07:02:38 +00:00
Miodrag Milanovic
731abe8ba0 Fixed joystick on Android preventing application to crash, cleanup init for SDL in total (nw) 2016-04-02 15:37:08 +02:00
Peter Ferrie
829a06b966 fix the MSVC build (nw)
I wonder how it could have ever worked.  emu lacked zlib.h reference,
super80.cpp lacked UINT8 declaration.
2016-04-01 23:18:04 -07:00
Michael Zapf
13fce89d59 ti99_8: Chipset low-level emulation; ti99_4x: using new GROMs 2016-03-31 23:55:50 +02:00
Michael Zapf
ee6684ac85 New GROM implementation (TMC0430) with (almost) precise clock behavior 2016-03-30 23:50:39 +02:00
dankan1890
0bab931a80 Visual Studio 2015 netlist fix. (nw) 2016-03-30 19:09:40 +02:00
Miodrag Milanovic
b055af8907 Fix ldplayer issue (nw) 2016-03-29 10:17:19 +02:00
Miodrag Milanovic
9b3788035c scrclean on lua scripts (nw) 2016-03-29 08:49:47 +02:00
Miodrag Milanovic
3fb7f61cfc Fix building tools (nw) 2016-03-29 08:43:20 +02:00
Miodrag Milanovic
953d0f9b17 fix typo (nw) 2016-03-29 08:26:11 +02:00
Miodrag Milanovic
ee3edd0e2b Add missing include (nw) 2016-03-29 08:24:17 +02:00
Jeffrey Clark
c3397ae4a9 fix include dirs (nw) 2016-03-29 00:45:53 -07:00
Jeffrey Clark
9d9c8fad6a Extend system library support (nw)
Extend USE_SYSTEM_LIB_* to support providing the library name and include directory.
To link against system specific lib names and header path: (ref #711)

USE_SYSTEM_LIB_LUA=lua5.3:/usr/include/lua5.3
2016-03-28 22:26:52 -05:00
Justin Kerk
f26ce9ee1d Emscripten update (nw) 2016-03-28 21:50:41 +00:00
dankan1890
68ebc2b0e5 Visual Studio compile fix. (nw) 2016-03-28 22:57:35 +02:00
Miodrag Milanovic
2e3670efba Small issues fix (nw) 2016-03-27 21:09:15 +02:00
Miodrag Milanovic
158c90cf11 Initial work to make MAME work on Android [Miodrag Milanovic] 2016-03-27 17:35:23 +02:00
couriersud
9d2f61ee92 netlist:
- more code optimization
- hide matrix_solver_t implementation
- use netlist_time for time deltas
2016-03-27 15:41:42 +02:00
arbee
c9bd18a22d apple2: start reverse-engineering the AE PC Transporter card [R. Belmont] 2016-03-26 21:04:15 -04:00
Justin Kerk
1bd63ee7ed Emscripten: include shadow-mask.png (nw) 2016-03-26 04:28:54 +00:00
Dirk Best
37a32099cd svi318: preliminary support for the sv603 coleco game adapter
lacks controller support
2016-03-25 17:47:33 +01:00
Miodrag Milanovic
315612190b Added parsing of plugin json files for machine_manager (nw) 2016-03-24 21:07:39 +01:00
Miodrag Milanovic
3bd130ebce Change BGFX_CONFIG_MAX_FRAME_BUFFERS on proper way (nw) 2016-03-24 09:40:29 +01:00
couriersud
489e2919db Netlist: code maintenance
- rename netlist_analog_t to analog_t 
- straighten object model
- reduce access to member variables
- use pvector<analog_net_t::list_t> for groups.
- simple coverity fixes.
2016-03-23 22:03:26 +01:00
Justin Kerk
62d1e88e98 Update bgfx paths for Emscripten (nw) 2016-03-23 18:59:02 +00:00
therealmogminer@gmail.com
ba0a1d8d52 Merge bgfx_shader into master, nw 2016-03-23 17:55:55 +01:00
Justin Kerk
b961152eee Allow command-line errors to work in Emscripten (nw) 2016-03-23 04:52:13 +00:00
therealmogminer@gmail.com
a99df78801 Merge with master 2016-03-21 08:27:06 +01:00
therealmogminer@gmail.com
825d575195 Fix lots of issues with bgfx 2016-03-21 03:43:02 +01:00
Miodrag Milanovic
be38f0515b Now shader compile tools are built on host machine (nw) 2016-03-20 16:50:14 +01:00
Dirk Best
6c9aaf6979 svi318: add the sv602 single slot expander 2016-03-20 14:23:41 +01:00
Dirk Best
55ebe70ca9 svi318: add centronics interface card (sv802) 2016-03-20 14:23:27 +01:00
Miodrag Milanovic
593803fb48 Fixed issue with internal font (nw) 2016-03-20 09:31:04 +01:00
cracyc
8fc8fc5ca3 pcat_dyn: add sound and mark toursol working [Carl] 2016-03-19 21:13:00 -05:00
Brad Hughes
9328fa9028 Fix VS Build issue for WRL ComPtr 2016-03-19 21:43:27 -04:00
Miodrag Milanovic
95a2e4c2c6 compile BGFX for RPI as well (nw) 2016-03-19 16:09:34 +01:00
therealmogminer@gmail.com
1226b243a2 Make JSON error checking a lot more verbose 2016-03-19 05:44:38 +01:00
Ted Green
b79020559e Added files to build and fixed override functions 2016-03-18 15:34:57 -06:00
balr0g
0e76e679c7 Rename 'tests' to 'mametests' to avoid name clash (nw) 2016-03-18 09:24:43 -04:00
Miodrag Milanovic
45f20a43c7 added attotime test for balrog (nw) 2016-03-18 14:00:16 +01:00
Vas Crabb
100fa28671 * Remove confusing method from vectorstreams that hide base_ios method (fixes disassembly view)
* Allow std::string to pass through core_file unmolested (reduces temporary allocations)
* Make zip/7z instances of same class with uniform interface
* zippath browsing is broken at the moment

This is another step towards transparent archive support.  It's now
possible to access zip and 7z archives with the same code.  Nothing is
taking advantage of it yet.  There's now some very similar code in
fileio.cpp and clifront.cpp that could be folded at some point.
2016-03-18 19:32:10 +11:00
Dirk Best
de0d79e5e9 svi318: add support for the rs232 interface (sv805) 2016-03-17 23:57:04 +01:00
Dirk Best
776bfad1c1 svi318: add support for the 80 column card (sv806) 2016-03-17 03:06:00 +01:00
Justin Kerk
d0ce8784a7 Build more of font_sdl.cpp with Emscripten since there is an SDL2_ttf port now (nw) 2016-03-17 01:42:48 +00:00
Dirk Best
59a41ff1d7 svi318: rewrite banking, add expander bus, add svi601 super expander and
slot modules for the sv801 disk controller, sv803 16k memory epansion
and the sv807 64k memory expansion
2016-03-16 22:05:43 +01:00
hap
d76a9644cf tms1k: split part 3, done 2016-03-16 02:59:29 +01:00
hap
1a479042cf tms1k: split part 2, renamed folder tms0980 to tms1000 2016-03-16 01:33:56 +01:00
hap
ce5cb07631 tms1k: split part 2, renamed files 2016-03-16 01:26:37 +01:00
therealmogminer@gmail.com
b212e5dc2e Add most of the rest of the D3D HLSL chain, nw 2016-03-15 05:17:38 +01:00
Vas Crabb
fc87913612 Fix SDL Windows build 2016-03-14 19:32:17 +11:00
Vas Crabb
42fbb9c396 Make osd_file a polymorphic class that's held with smart pointers
Make avi_file a class that's held with smart pointers, encapsulate various AVI I/O structures
Make zip_file and _7z_file classes rather than having free functions everywhere
Hide zip/7z class implementation behind an interface, no longer need to call close() to send back to the cache
Don't dump as much crap in global namespace
Add solaris PTY implementation
Improve variable expansion for SDL OSD - supports ~/$FOO/${BAR} syntax
Rearrange stuff so the same things are in file module for all OSDs
Move file stuff into its own module

7z/zip open and destruct are still not thread-safe due to lack of interlocks around cache access
Directory functions still need to be moved to file module
SDL OSD may not initialise WinSock on Windows
2016-03-14 18:55:00 +11:00
Miodrag Milanovic
5fc2774703 Clang 3.8.0 supports -municode (nw) 2016-03-14 07:55:17 +01:00
therealmogminer@gmail.com
cd8f796df6 Add bgfx command line options, major shakeup of organization, nw 2016-03-13 15:51:19 +01:00
therealmogminer@gmail.com
ad1e6ef899 Add dynamic skipping of shader chain passes, nw 2016-03-13 15:51:17 +01:00
therealmogminer@gmail.com
3172371fcd More work on bgfx data-driven shaders, nw 2016-03-13 15:51:15 +01:00
Julian Sikorski
d0f99d22a7 Added ability to build using system libuv (1.8.0 or higher required) 2016-03-12 13:07:14 +01:00
Miodrag Milanovic
2bf46f72ed Update to use with latest android nkd (nw) 2016-03-11 20:24:20 +01:00
Miodrag Milanovic
679574e965 With latest package from MSYS of clang 3.8.0 build at least compile fine on windows (nw)
Strange crashing while executing
2016-03-11 15:00:29 +01:00
Miodrag Milanovic
de04399afa Fixed osdmini building for android and pnacl (nw) 2016-03-08 15:46:20 +01:00
Miodrag Milanovic
858c1002d1 compile with latest bgfx,bx (nw) 2016-03-08 12:58:10 +01:00
Miodrag Milanovic
98f0e800f4 Fixed arcade build and merged libbus with liboptional due to circular dependencies (nw) 2016-03-06 09:09:18 +01:00
Justin Kerk
af0a67c0f7 Restore uismall.png for now so that Emscripten menus work (nw) 2016-03-05 22:22:21 +00:00
Brad Hughes
854fe5592f Fix Visual Studio build 2016-03-05 16:08:02 -05:00
cracyc
c049a91f4a pcxt: use pc motherboard device and banking (nw) 2016-03-05 15:02:29 -06:00
Brad Hughes
88412da862 Make XAudio2 available in all Windows OSD builds, plus use 2.9 if available, plus code cleanup. 2016-03-05 15:02:52 -05:00
Miodrag Milanovic
626a13ae1a Fixing issue compiling on GCC 4.9 till 5.1 (nw) 2016-03-05 14:12:51 +01:00
Miodrag Milanovic
298ce35d64 Added missing xaudio2 header from WINE that is free to use (nw) 2016-03-05 08:59:39 +01:00
Miodrag Milanovic
24276fc7db removed Apache 2 licensed library since it is not possible to mix with GPL2 (nw) 2016-03-04 20:18:47 +01:00
Miodrag Milanovic
aa3f554b1e Fix tools building on windows (nw) 2016-03-03 10:11:31 +01:00
Brad Hughes
ad6aaa81a9 link ole32 on Windows. Needed for CoInitializeEx() 2016-03-02 16:23:08 -05:00
Brad Hughes
39964e6b38 Merge branch 'master' of https://github.com/mamedev/mame.git 2016-03-02 14:14:47 -05:00
Brad Hughes
8803de248e Add DirectWrite font support module 2016-03-02 14:13:53 -05:00
Curt Coder
99ba45ff75 newbrain: Dumped the COP internal ROM. [Chris Despinidis]
newbrain: Rewrote the driver to modern standards. [Curt Coder]
cop400: Implemented the MICROBUS interface. [Curt Coder]
2016-03-02 20:54:32 +02:00
Miodrag Milanovic
b489eb202c made sources build use info from mame.lst (nw) 2016-03-02 14:21:26 +01:00
Miodrag Milanovic
8a84dd2232 Added mame.lst as main list, it is now generated, and should be updated manually (nw)
Filtering for subtargets are done by flt files now
2016-03-02 12:49:37 +01:00
Miodrag Milanovic
3baa2e6e81 update for osdmini (nw) 2016-03-01 21:17:34 +01:00
Miodrag Milanovic
d9510ed04d Used std::thread and std::condition_variable (nw) 2016-03-01 20:52:56 +01:00
Brad Hughes
630edadf9c Dynamically load xinput 2016-03-01 11:08:05 -05:00
Brad Hughes
3b0d8b1efb Merge branch 'xinput_local_temp1' of E:\mame\bradhugh.mame\mame 2016-02-29 21:59:56 -05:00
Brad Hughes
5cc9973a0a Add XInput support for Windows OSD 2016-02-29 21:48:14 -05:00
Vas Crabb
a830ea7627 * Support *n conversion in stream_format/string_format
* Make stream_format return characters printed
* Add iostreams with std::vector storage
* Move to type-safe templates for logerror and popmessage
* Remove now-unnecessary I64FMT from calls to logerror/popmessage
* Put some lib/util stuff in util:: namespace
* Some fixes to Japanese translation
2016-03-01 06:52:36 +11:00
Miodrag Milanovic
23c28c48af Build SDL2 for Android (nw) 2016-02-29 16:20:51 +01:00
Miodrag Milanovic
4224b67779 cleanup (nw) 2016-02-29 08:52:04 +01:00
Brad Hughes
f68ad66131 Merge input modules work. 2016-02-28 14:56:54 -05:00
Miodrag Milanovic
912598030e added compiling SDL2 for Android (nw) 2016-02-28 20:28:42 +01:00
Brad Hughes
7dfb578559 Refactor OSD input into modules 2016-02-28 14:25:10 -05:00
Miodrag Milanovic
1adc64573f compiles but crash on OSX with bundled one (nw) 2016-02-28 15:07:43 +01:00
Miodrag Milanovic
a17d1385c4 Separated windows only part in SDL2 build and prepared osx one (nw) 2016-02-28 12:58:04 +01:00
Miodrag Milanovic
adfae5ffe5 make possible to select if bundled SDL2 is used, made mingw and vs compile so far (nw) 2016-02-27 18:48:03 +01:00
Miodrag Milanovic
ea6b854844 Made Visual Studio use by default bundled SDL2 (nw) 2016-02-27 16:53:49 +01:00
therealmogminer@gmail.com
64135e73f9 Cleaned up sliders a bit in d3dhlsl, nw 2016-02-27 16:11:01 +01:00
Miodrag Milanovic
5951df437e Added NotoSans-Bold as backup font for platforms that do not have default system fonts exposed (nw) 2016-02-27 11:52:11 +01:00