4 ms·
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 Sys
by mambodog 13y ago
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/ http://jamesfriend.com.au/pce-js/
Windows 3.0 Demo: http://jamesfriend.com.au/pce-js/ibmpc-win/ 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.
- allochthon 13y agoThe 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.
- tanzam75 13y ago> 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.
- ErsatzVerkehr 13y agoCooperative multitasking and a lack of protected memory does not really lead to a robust system.
- benjy1 13y agoPretty cool, any chance they might end up on Github?
- mambodog 13y agoYeah, 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 http://jamesfriend.com.au/pce-js/pcejs20131028.zip
- mbrubeck 13y agoWow, 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.
- mambodog 13y agoThanks for that, I'd assumed that would run afoul of some kind of click-jacking protection but fortunately it seems I was wrong :)
- ximeng 13y agoAwesome, can play gorillas in qbasic :D