GithubHelp home page GithubHelp logo

imclab / pce Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jsdf/pce

0.0 2.0 0.0 3.13 MB

PCE.js Mac Plus/IBM PC/Atari ST emulator in the browser (and PCE repo mirror)

Home Page: http://pcejs.co

License: GNU General Public License v2.0

pce's Introduction

PCE.js

PCE.js runs classic computers in the browser. It's a port of Hampa Hug's excellent PCE emulator, put together by James Friend.

PCE.js currently emulates Mac Plus, IBM PC/XT and Atari ST functionally in recent versions of Chrome and Firefox.

More info:

PCE.js Mac Plus

Pre-build package

A pre-built package is available which includes a working system for the macplus emulator: download

How to build PCE.js

Make sure you've installed node.js and Grunt

Run npm install in this directory (the source root). This should install the required node.js modules. You might want to npm install -g coffee-script http-server also.

Clone my fork of Emscripten and checkout the pcejs branch. Add it to your $PATH so you can run emcc. Similarly you should be working with my fork of PCE on the pcejs branch, but that's where you're reading this, right?

Most of the build process involves running Grunt tasks. Run grunt --help for a list of possiblities.

Make sure you've got a directory containing a working set of files for the emulator. This means: a rom file, a config file, and some media (hard disk and/or floppy images). You can use a normal build of PCE test these out eg. one obtained from the website, or your package manager of choice (in my case, homebrew).

Your config file should be named pce-config.cfg. Once you've got these together in a directory, run grunt romdir:[your directory] which will symlink the directory into the source tree at roms/. This is necessary for when the data files are packaged up for the browser.

Run grunt build:[target] to build the emulator, where [target] is macplus, ibmpc or atarist.

You'll find the built files at pce-js/ and grunt run will serve them up for your browser on http://localhost:8080/. That's it.

pce's People

Contributors

apmah avatar jsdf avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.