Open lgblgblgb opened 4 years ago
NOTE: though web build of Xemu/Mega65 sounds not so sane and usable, actually it can be important to attract people for a fast look and feel on Mega65 (later even from Mega65 website!) which can cause more people to feel the need to try it out more ;)
At the current stage, maybe no emscripten complication works at all, and not so much a priority at the middle of more serious tasks / rewritings. Let's deal with it later, probably even at Xemu level, not just with MEGA65 target in Xemu.
Note to myself: it's possible that it's caused by the large memory needs of the MEGA65 emulator, thus some Emscripten magic is needed to provide more memory, or to "allow to grow" option, or something like that. Though, currently, this issue is suspended, as with the VIC-IV merge and other things, Emscripten buildability would break anyway. Also it will be questionable if Emscripten build make sense, as more accurate emulation (like VIC-IV improvements) causes much higher resource usage for emulation, which may be not so much a realistic scenario inside a browser any more.
Other comment: SDL_HINT_EMSCRIPTEN_ASYNCIFY
should be considered as general.
Xemu/C65 for example works fine inside a web browser. Xemu/Mega65 should work as well. Interestingly it compiles, but throws a Javascript Exception, which indeed, should not happen at all.
PROGRESS