#jsmess 2018-02-20,Tue

↑back Search

Time Nickname Message
13:03 🔗 SketchCow I asked db48x to look into recompiling DOSBOX in WASM
13:04 🔗 SketchCow I should find out about pce in WASM as well
13:04 🔗 SketchCow I think SAE is only javascript from the ground up, not a compile
13:06 🔗 SketchCow I'll ping Moogz about sourcecode
13:06 🔗 SketchCow (for the possible MAME fixup)
18:57 🔗 db48x has joined #jsmess
18:57 🔗 db48x /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 🔗 db48x '__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 🔗 db48x --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 🔗 db48x /src/mame/mamea2600_wasm.js
18:59 🔗 SketchCow HEY azakai
18:59 🔗 SketchCow db48x just pasted that, that's our build line now.
19:00 🔗 SketchCow Any options we're missing or should take away?
19:00 🔗 SketchCow DFJustin: Thoughts on a way to change out media in a running system with a single keystroke
19:05 🔗 azakai SketchCow: db48x: looks good to me. only suggestion is maybe experiment with -Os vs -O3 (might be smaller)
19:11 🔗 DFJustin mame really needs aggressive optimization I think
19:12 🔗 azakai yeah, that makes sense
19:12 🔗 DFJustin particularly inlining
19:13 🔗 DFJustin changing media with one keystroke would need new code, either in mame or maybe it could be done with a lua script
19:19 🔗 db48x the lua route is most appealing to me
19:19 🔗 db48x though I suppose I should write the lua script and try it out in mame before I do all the work
19:19 🔗 DFJustin 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)

irclogger-viewer