[13:03] I asked db48x to look into recompiling DOSBOX in WASM [13:04] I should find out about pce in WASM as well [13:04] I think SAE is only javascript from the ground up, not a compile [13:06] I'll ping Moogz about sourcecode [13:06] (for the possible MAME fixup) [18:57] *** db48x has joined #jsmess [18:57] /src/emsdk/emscripten/1.37.33/emcc -O3 -s USE_SDL=2 -s USE_SDL_TTF=2 --memory-init-file 0 -s ALLOW_MEMORY_GROWTH=0 -s TOTAL_MEMORY=268435456 -s DISABLE_EXCEPTION_CATCHING=2 -s EXCEPTION_CATCHING_WHITELIST='["__ZN15running_machine17start_all_devicesEv","__ZN12cli_frontend7executeEiPPc"]' -s EXPORTED_FUNCTIONS="['_main', '_malloc', '__ZN15running_machine30emscripten_get_running_machineEv', '__ZN15running_machine17emscripten_get_uiEv' [18:57] '__ZN15running_machine20emscripten_get_soundEv', '__ZN15mame_ui_manager12set_show_fpsEb', '__ZNK15mame_ui_manager8show_fpsEv', '__ZN13sound_manager4muteEbh', '_SDL_PauseAudio', '_SDL_SendKeyboardKey', '__ZN15running_machine15emscripten_saveEPKc', '__ZN15running_machine15emscripten_loadEPKc', '__ZN15running_machine21emscripten_hard_resetEv', '__ZN15running_machine21emscripten_soft_resetEv', '__ZN15running_machine15emscripten_exitEv'] [18:57] --pre-js /src/mame/src/osd/modules/sound/js_sound.js --post-js /src/mame/scripts/resources/emscripten/emscripten_post.js --embed-file /src/mame/bgfx/chains@bgfx/chains --embed-file /src/mame/bgfx/effects@bgfx/effects --embed-file /src/mame/bgfx/shaders/essl@bgfx/shaders/essl --embed-file /src/mame/artwork/slot-mask.png@artwork/slot-mask.png -s BINARYEN=1 -s EXTRA_EXPORTED_RUNTIME_METHODS='["cwrap"]' ../../../../../a2600_wasm.bc -o [18:57] /src/mame/mamea2600_wasm.js [18:59] HEY azakai [18:59] db48x just pasted that, that's our build line now. [19:00] Any options we're missing or should take away? [19:00] DFJustin: Thoughts on a way to change out media in a running system with a single keystroke [19:05] SketchCow: db48x: looks good to me. only suggestion is maybe experiment with -Os vs -O3 (might be smaller) [19:11] mame really needs aggressive optimization I think [19:12] yeah, that makes sense [19:12] particularly inlining [19:13] changing media with one keystroke would need new code, either in mame or maybe it could be done with a lua script [19:19] the lua route is most appealing to me [19:19] though I suppose I should write the lua script and try it out in mame before I do all the work [19:19] see http://docs.mamedev.org/techspecs/luaengine.html and https://github.com/mamedev/mame/blob/master/src/frontend/mame/luaengine.cpp [19:22] * db48x nods [20:42] *** wdna has quit IRC (Quit: WeeChat 2.0.1)