Giter Club home page Giter Club logo

buri-simulator-python's Introduction

Emulator for buri, my homebrew 6502 machine

This is a work-in-progress emulator for Buri, my homebrew 6502 computer. Hardware designs and OS can be found at https://github.com/rjw57/buri.

Installation

Clone this repo and install via pip:

$ pip install git+https://github.com/rjw57/buri-simulator-python#egg=burisim

Requirements

You need a working Python. I develop on Python 3.4 but with a mind to 2.7 compatibility. If the code doesn't work on Python 2.7, it's a bug. Pull requests welcome :).

The GUI makes use of PySide which is a Python binding to the Qt library.

In addition, you'll need a working C-compiler and cffi installed in order to build the C-accelerated portions.

Running

The emulator is launched via the burisim executable. It takes a path to a Búri ROM image and a device to use for serial I/O. The socat utility can be used to create a pseudo-terminal for this device:

$ socat PTY,link=/tmp/a,raw,echo=0 PTY,link=/tmp/b,raw,echo=0
$ picocom --noinit /tmp/a

... in another terminal ...

$ burisim --serial /tmp/b /path/to/rom.bin

Acknowledgements

The core of the 6502 emulator is based on lib6502. This library has been modified to allow for clock frequency regulation and some small changes for thread-safety.

Licensing

See the COPYING file in the source repository. tl;dr: MIT license.

buri-simulator-python's People

Contributors

rjw57 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.