Stas Sergeev

Results 1352 comments of Stas Sergeev

dosemu2 now compiles with emscripten. But the following functions are missing during the link stage: ``` wordexp wordfree getcontext makecontext setcontext swapcontext timer_create timer_getoverrun timer_delete timer_settime sigsuspend ```

emscripten offers fibers API: https://emscripten.org/docs/api_reference/fiber.h.html We need to support that one because the ucontext functions are missing.

wordexp should be stolen from here: https://github.com/leleliu008/libwordexp

emscripten has the timer API which seems tricky. What we need is to create an sdl-based timer back-end.

sigsuspend and wordexp solved. So only timers and context-continuations remain, which are a bit more difficult.

sdl timer implemented.

https://www.youtube.com/watch?v=lAivU8bxpNw This video is about the latest developments on stack switching support is wasm. Hope it will materialize soon. This is the last missing part for dosemu2 to work. Of...

Fully buildable with emscripten now. To test use `dosemu -node`.

Unfortunately not: this only builds. One needs to get it to work eventually. You can use `dosemu -node` to try that out, and debug.

Someone with NodeJS experience: please, try this out! :) It would be cool if its eventually working.