#jsmess 2018-02-20,Tue

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
SketchCowI asked db48x to look into recompiling DOSBOX in WASM
I should find out about pce in WASM as well
I think SAE is only javascript from the ground up, not a compile
I'll ping Moogz about sourcecode
(for the possible MAME fixup)
[13:03]
....................................................................... (idle for 5h51mn)
***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'
'__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']
--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
/src/mame/mamea2600_wasm.js
[18:57]
SketchCowHEY azakai
db48x just pasted that, that's our build line now.
Any options we're missing or should take away?
DFJustin: Thoughts on a way to change out media in a running system with a single keystroke
[18:59]
azakaiSketchCow: db48x: looks good to me. only suggestion is maybe experiment with -Os vs -O3 (might be smaller) [19:05]
DFJustinmame really needs aggressive optimization I think [19:11]
azakaiyeah, that makes sense [19:12]
DFJustinparticularly inlining
changing media with one keystroke would need new code, either in mame or maybe it could be done with a lua script
[19:12]
db48xthe lua route is most appealing to me
though I suppose I should write the lua script and try it out in mame before I do all the work
[19:19]
DFJustinsee http://docs.mamedev.org/techspecs/luaengine.html and https://github.com/mamedev/mame/blob/master/src/frontend/mame/luaengine.cpp [19:19]
db48xdb48x nods [19:22]
................. (idle for 1h20mn)
***wdna has quit IRC (Quit: WeeChat 2.0.1) [20:42]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)