In the same terminal, return to the pcejs repository. Install and activate version 1.38.48 of the SDKĬheck that running emcc -v successfully returns current Emscripten version.ĭetailed installation instructions are on the Emscripten SDK page. Required node.js tools to build the commonjs modules and run the examples. Run npm install in this directory (the source root). Presumably that's where you're reading this right now. These instructions assume you're working with my fork of PCE on the Note: I recommend instead just using the npm packages listed above, unless you want to hack on the C source of the emulators themselves (which is not necessary if you just want to get them running on a page). See each of the above links for install and usage instructions How to build PCE.js from source PCE.js is available from npm as a set of browserify compatible node packages, which also include UMD bundles. I recommend installing the native version of PCE on your computer to create your own disk images. PCE.js currently emulates Mac Plus, IBM PC/XT and Atari ST functionally in recent versions of Chrome and Firefox.
It's a port of Hampa Hug's excellent PCE emulator, put together by James Friend. PCE.js runs classic computers in the browser.