For some of those problems you can check whether some of my sokol headers 
fit your needs:

https://github.com/floooh/sokol

One problem with the established POSIX / CRT APIs is that they don't map 
particularly well to how things work in the browser runtime, so I tried to 
create simple alternative C APIs which better map to the web world but 
still work on native platforms.


On Friday, 8 November 2019 19:20:43 UTC+1, Joel Longanecker wrote:
>
> Hello emscripten users!
>
> I am planning on building a tool for doing homebrew gameboy development in 
> the web browser. I am hoping to be able to get a compiler and an emulator 
> working to do live reload when a user changes a file, and a bunch of other 
> neat stuff.
>
> Anyways, I feel like the first big thing I need to be able to do is port 
> RGBDS or GBDK over to web assembly. 
>
> https://github.com/rednex/rgbds
>
> https://sourceforge.net/projects/gbdk/files/gbdk/2.96/
>
> This is mostly straight up C, nothing too tricky, no fancy libraries or 
> flags. It might take me a bit to make these forks work nicely, but I am 
> more concerned how to invoke them and use them from the browser.
>
> * How do I invoke these tools so I can pass them command line arguments?
>
> * How do I read from stderr / stdout?
>
> Thanks
>
> -Joel
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/2e7c39e0-0cbe-4685-b4ea-463f64bb2f56%40googlegroups.com.

Reply via email to