Justin Kerk
7809e9005d
Better Emscripten parameter handling, & update docs (nw)
2018-07-21 22:05:45 +00:00
Justin Kerk
38df7f4219
Update WebAssembly parameters for current Emscripten (nw)
2018-07-15 04:17:09 +00:00
Justin Kerk
50c373be6f
Fixed issues with CHD loading under Emscripten. [Justin Kerk]
2018-03-28 04:35:34 +00:00
Justin Kerk
1f80e58a10
Disable multithreading on the Emscripten target as it is not currently supported. Fixes e.g. drivers using discrete audio components. [Justin Kerk]
2018-03-06 07:39:05 +00:00
Björn Moser
71074fe126
VS Compile Fix
2018-01-08 22:29:19 +00:00
Miodrag Milanovic
3917627494
Updated GENie, BGFX, BX, added BIMG since it is separated now, updated all shader binaries and MAME part of code to support new interfaces [Miodrag Milanovic]
2017-12-01 13:22:27 +01:00
npwoods
3d553eda60
Attempted to sanitize/rationalize how we access UTF-8 command line arguments ( #2532 )
...
Specifically, this creates a call osd_get_command_line() that returns UTF-8 command line arguments as std::vector<std::string>. On non-Windows platforms, this does nothing more than build the vector. On Windows, this invokes GetCommandLineW() and CommandLineToArgvW(). This also attempts to unwind usage of wmain()/_tmain() on Windows, which is not standard.
Related to this, this fixes a bug in Imgtool; specifically, non-7 bit ASCII was not being handled correctly in Windows.
This is really an admission that the way that Windows handles Unicode and command line arguments sucks, and it is my belief that having a wmain() or _tmain() declaration specific for Windows is a worse solution. C'est la vie.
I'm very open to the idea that src/osd/osdcore.[cpp|h] is not the best place to do this. Let me know if I should move it.
2017-09-18 20:28:53 -04:00
James Baicoianu
785e6f2fc9
Export soft_reset, hard_reset, exit, load, and save functions for Emscripten builds
2017-07-15 15:17:29 +10:00
James Baicoianu
15c2bb0c08
Fix save/load states in Emscripten build ( #2470 )
...
* Fix save/load states in Emscripten build
* Simplified Emscripten integration points
* Moved standalone JS functions to be static member functions of running_machine
* Improved Emscripten main loop
* Use convenience functions for cleaner code
As an added bonus, this now allows for proper shutdown of the running machine when running in the Emscripten environment - previously, attempts to exit the program were just being ignored.
2017-07-15 14:00:09 +10:00
cracyc
4ebc18aeec
linenoise: replace linenoise-ng with a different port that is simpler and uses a different UTF8 parser [Carl]
...
plugins/console: better completions [Carl]
2017-05-13 16:57:47 -05:00
Miodrag Milanovic
00ad4ab0ae
Update build scripts, BX is now static library (nw)
2017-02-05 14:15:25 +01:00
inte alls
cd03a64284
Initial PortAudio backend with build script changes to support library version 20161030
2017-01-11 20:24:00 +01:00
Nathan Woods
5be1b8e6e0
Introduced utf8proc and created wrapper code to expose a prettier API
2016-12-31 11:17:07 -05:00
Miodrag Milanovic
124f30dbbc
Enable building projects that are separate of MAME but use same core and lives in separate git tree (nw)
2016-12-08 11:46:15 +01:00
Vas Crabb
7238415d1f
srcclean (nw)
2016-11-27 09:56:49 +11:00
Miodrag Milanovic
dbbd5e9c98
As promised, removing this part of code since it is used for compilers check, no need for this to be in release (nw)
2016-11-23 08:37:05 +01:00
Miodrag Milanovic
b73126e85a
added OPTION_HOMEPATH to point to read/write folder,for now used by LUA scripts (nw)
...
Copied all needed files so plugins could be started under UWP
2016-11-12 15:27:22 +01:00
Miodrag Milanovic
46fa51e60e
move asset files to proper place
2016-11-11 09:43:42 +01:00
Miodrag Milanovic
a18497e7a2
Some more work on UWP (nw)
2016-11-10 13:13:51 +01:00
Miodrag Milanovic
cddd8bbe7a
Add more UWP support (nw)
2016-11-09 15:44:44 +01:00
Miodrag Milanovic
cf4a8b9e03
resurected sqlite3 and lsqlite3 (nw)
2016-11-07 16:12:06 +01:00
Miodrag Milanovic
e2d2355352
Trying to do link fix (nw)
2016-11-07 14:47:17 +01:00
Justin Kerk
4efc19b68a
Update bgfx shader path for Emscripten build (nw)
2016-11-01 06:11:18 +00:00
Justin Kerk
b99be73f2d
Experimental support for compiling to WebAssembly using Emscripten (not yet working) (nw)
2016-10-29 06:00:45 +00:00
Miodrag Milanovic
3c4c4e08ed
Initial work on console interface (nw)
...
Use Ctrl-Z to close console on any OS. To start use -console parameter
2016-10-09 14:38:41 +02:00
Miodrag Milanovic
c0a5494de5
Replaced code usage of libuv with asio library (nw)
2016-10-07 14:15:01 +02:00
Vas Crabb
234e91f9fb
Add Lua-cleaning ability to srcclean
2016-08-30 14:57:38 +10:00
Miodrag Milanovic
4f84793a05
made proper formats compiled only if needed (nw)
2016-08-12 18:27:54 +02:00
Miodrag Milanovic
b966180061
Compile netlist and lua only if used (nw)
2016-08-12 15:03:45 +02:00
Vas Crabb
93cd0cd40b
Fix git version [Vas Crabb]
...
* git version is set by top-level make, not just when GENie runs
* can set IGNORE_GIT=1 for make to ignore git
* git ignored/unavailable uses "unknown" in version string
* mark modified trees as dirty
* note that version now comes from makefile
2016-06-10 00:36:29 +10:00
Miodrag Milanovic
e8cb3e06d0
Updated GENie to latest (nw)
2016-06-08 20:42:23 +02:00
Miodrag Milanovic
d04f921034
removed not used libraries, and commented portaudio that will be used but no need for now (nw)
2016-05-31 20:03:39 +02:00
Justin Kerk
141e1c7770
Emscripten tweaks (nw)
2016-05-29 08:27:55 +00:00
Justin Kerk
41cb858a35
Emscripten options cleanup (nw)
2016-05-14 08:25:57 +00:00
Miodrag Milanovic
175084897e
Added ability to create standalone emulators, added zexall as example (nw)
2016-05-08 19:07:18 +02:00
James Baicoianu
af6ad75a04
Export SDL_SendKeyboardKey function to allow scancode injectiony
2016-05-05 00:55:38 -07:00
Justin Kerk
34ccb1ae66
Update function signatures for Emscripten (nw)
2016-04-26 05:29:56 +00: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
0d980951c9
set GIT_VERSION only where it is used (nw)
2016-04-21 15:50:15 +02: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
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
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
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
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
Miodrag Milanovic
2e3670efba
Small issues fix (nw)
2016-03-27 21:09:15 +02:00