Giter Club home page Giter Club logo

6502emulator's Introduction

6502emulator

Emulator for the 6502 chipset written with TypeScript and Angular 2.

Read a detailed explanation of building this emulator here.

Try out a working version of the emulator here.

This is a 6502 emulator written specifically to demonstrate the structure and functions of Angular 2 and TypeScript. It is not a full hardware emulator and not optimized for speed, but rather for readability. It is not completed (I do accept pull requests) because not all op codes are implemented and the binary-packed decimal tests fail, but the other tests and programs run successfully.

The emulator features a full assembler/compiler with support for labels, a disassembler, a memory dump, and enables you to debug and step through programs.

Screenshot

Getting Started

Navigate to the parent directory of the location you wish to place the project (it will create the 6502emulator folder for you).

Grab the repo:

git clone https://github.com/JeremyLikness/6502emulator.git

Navigate to the directory:

cd 6502emulator

If you want the typings (Angular 2 is fairly self-documenting, so I just included ones for Node.js) install the utility:

npm install -g typings

Then:

typings install

Now install the package dependencies:

npm install

You'll probably get a lot of noise and errors but as long as the final list shows rxjs, angular2 etc. and the final line is not an error, you should be good.

Now you can compile and run it:

npm start

That should be it! Follow the directions to load, compile, and run your first 6502 program. The display is memory-mapped, meaning you create graphics by setting a value 0 - 255 to a memory address (the globalConstants.ts contains all of the information you need).

Thanks,

Jeremy Likness @JeremyLikness

6502emulator's People

Contributors

jeremylikness avatar

Watchers

 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.