A while ago I was pondering getting emscripten working under Wine, but
realised that it's not quite as simple as a typical program (because Wine
relies on being able to just provide a compatibility layer for syscalls, so
the compatibility layer for x86 would have to be provided by the port to
emscripten).

Seeing this post, I wondered if you'd found some cunning way around this so
downloaded the project. No, you've just gone straight ahead and implemented
an x86 emulator! Ok, but how is wine able to run on bare metal? Oh right,
you've actually implemented parts of linux, including most of the syscall
interface, your own executable loader, parts of procfs and assorted special
devices! Alright, but (as Alon asks) how does this actually render things?
Ah I see, you've implemented your own display driver in Wine which, when
methods are invoked, dispatches interrupts to the emulated CPU which then
forwards and translates the interrupt to an equivalent sdl call (with
opengl working a similar way, but with a dll)!

Wow!

I only had a quick look so I may have missed some of the detail, but that's
pretty impressive. Were there any projects you found particularly useful as
a reference when building this (particularly the kernel and x86 emulation)?
It mostly looks like original work, which seems like quite an undertaking.

On 28 October 2016 at 18:15, Alon Zakai <[email protected]> wrote:

> Wow, impressive!
>
> What does this use to render, btw?
>
> On Tue, Oct 25, 2016 at 8:02 PM, Danoon <[email protected]> wrote:
>
>> I've been experimenting with getting Wine to run in Emscripten with the
>> goal to play Win95/Win98 era games.  It has a long way to go, but I thought
>> I would share a demo of notepad running.  So far I've been pretty impressed
>> with the performance that Emscripten gives.
>>
>> http://boxedwine.sf.net/b2/boxedwine.html
>>
>> --
>> 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].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to