Wow, awesome! For the Mac one with mouse support, you might want to add ".emscripten { cursor: none; }" to your stylesheet so the host cursor doesn't cover up the emulated one.
Thanks for that, I'd assumed that would run afoul of some kind of click-jacking protection but fortunately it seems I was wrong :)
Re:Run Windows 1.01 in your browser
by allochthon on Sunday October 27, 2013 @11:44PM
(#6624993)
The Mac is great -- just as I remember it when I was a little kid. Actually, not exactly -- the emulator seems faster than the Mac we had. Also, I tried to get it to crash but wasn't able to.
> The Mac is great -- just as I remember it when I was a little kid. Actually, not exactly -- the emulator seems faster than the Mac we had. Also, I tried to get it to crash but wasn't able to.
You really shouldn't see a crash on a fresh install of the operating system. A lot of crashes on Mac OS Classic were caused by software that hooked itself deeply into the system and corrupted state. Not so different from Windows, actually ...
As software became ever more complex in the 9.x era, Option-OpenApple-Reset became as familiar as Ctrl-Alt-Delete.
Re:Run Windows 1.01 in your browser
by ErsatzVerkehr on Tuesday October 29, 2013 @07:30AM
(#6633258)
Cooperative multitasking and a lack of protected memory does not really lead to a robust system.
Pretty cool, any chance they might end up on Github?
Yeah, I'll put it up on GitHub once I've had time to clean up the build process to separate the new code from the dependencies (which I've had to hack extensively). In the meantime here's a dump of the source: http://jamesfriend.com.au/pce-js/pcejs20131028.zip
Mac System 7 Demo: http://jamesfriend.com.au/pce-js/
Windows 3.0 Demo: http://jamesfriend.com.au/pce-js/ibmpc-win/
IBM PC doesn't have mouse support... Yet. For Mac OS it's writing the mouse position directly into memory, but I've yet to add that hack for Windows.