GithubHelp home page GithubHelp logo

6502net's Introduction

This is my implementation of a 6502 CPU simulator written in C#. It simulates a basic 6502 processor and memory.
It also has an application written in WPF that functions as a test harnesss and allows you to load a program into memory
and step through the program, set break points, and watch the various registers. 

This project is now feature complete. It successfully passes all of Klaus Dormann's tests including the IRQ tests.
Feel free to submit bug requests if you find an edge case!

Version History
.0.9.9 All OP Codes Implemented.
.1.0.0 All of Klaus Dormann's Tests pass successfully.

I used the following websites during implementation as a reference
http://visual6502.org/wiki
http://homepage.ntlworld.com/cyborgsystems/CS_Main/6502/6502.htm
http://www.atariarchives.org/alp/
http://en.wikipedia.org/wiki/MOS_Technology_6502
http://www.obelisk.demon.co.uk/6502/
http://www.6502.org/tutorials/

I used the following test programs to validate the simulator.
http://2m5.de/6502_Emu/ Klaus Dormann 6502 Test Suite (GPL License)

How to Compile Tests - Go grab the AS65 Compiler
http://www.kingswood-consulting.co.uk/assemblers/

Modify the 6502_functional_test.a65
load_data_direct = 0

Run the following command to generate the bin file and lst file
as65 -l -m -w -h0  6502_functional_test.a65

In the simulator Load the test
Set the Memory Offset to be 0x0400 and the PC to be 0x0400.

Program Listing starts at 400


6502net's People

Contributors

aaronmell avatar japerr 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.