News for hackers. Stuff that matters.
Re:Run Windows 1.01 in your browser by mambodog on Sunday October 27, 2013 @11:30PM (#6624945)
As there seems to be a lot of interest in emulators in the browser, here's my effort: I ported an emulator for classic Mac and IBM PC to the browser.

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.

Re:Run Windows 1.01 in your browser by mbrubeck on Monday October 28, 2013 @12:59AM (#6625246)
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.
Re:Run Windows 1.01 in your browser by mambodog on Monday October 28, 2013 @01:52AM (#6625408)
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.
Re:Run Windows 1.01 in your browser by tanzam75 on Monday October 28, 2013 @09:52PM (#6631326)
> 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.
Re:Run Windows 1.01 in your browser by benjy1 on Monday October 28, 2013 @12:21AM (#6625122)
Pretty cool, any chance they might end up on Github?
Re:Run Windows 1.01 in your browser by mambodog on Monday October 28, 2013 @01:24AM (#6625329)
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
Re:Run Windows 1.01 in your browser by ximeng on Monday October 28, 2013 @01:46AM (#6625393)
Awesome, can play gorillas in qbasic :D