Skip to content
/ MC6809 Public
forked from 6809/MC6809

Implementation of the MC6809 CPU in Python (Extracted from https://github.com/jedie/DragonPy project)

License

Notifications You must be signed in to change notification settings

jerch/MC6809

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MC6809 CPU emulator written in Python

MC6809 is a Open source (GPL v3 or later) emulator for the legendary 6809 CPU, used in 30 years old homecomputer Dragon 32 and Tandy TRS-80 Color Computer (CoCo)...

Tested with Python 2.7, 3.4 and PyPy

Build Status on travis-ci.org travis-ci.org/6809/MC6809
Coverage Status on coveralls.io coveralls.io/r/6809/MC6809

A example usage can be find in: MC6809/example6809.py

There is a simple benchmark. Run e.g.:

~$ MC6809 benchmark --help

# run benchmark with default settings:
~$ MC6809 benchmark

# run with own settings:
~$ MC6809 benchmark --loops 10 --multiply 20

(MC6809 is the cli installed by setup.py)

tests

We use nose to run the tests, e.g.:

~$ cd MC6809
~/MC6809 $ python2 setup.py nosetests
~/MC6809 $ python3 setup.py nosetests

profile

To profile, e.g.:

~$ python -m cProfile -s cumulative MC6809 benchmark

TODO

  1. Update 'cpu6809_html_debug.py'
  2. Use bottle for http control server part

unimplemented OPs:

  • RESET
  • SWI / SWI2 / SWI3
  • SYNC

History

(Some of the points are related to DragonPy Emulator)

Links:

Forum http://forum.pylucid.org/
IRC #pylucid on freenode.net
Jabber pylucid@conference.jabber.org
PyPi https://pypi.python.org/pypi/MC6809
Github https://github.com/6809/MC6809

donation

About

Implementation of the MC6809 CPU in Python (Extracted from https://github.com/jedie/DragonPy project)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 91.2%
  • HTML 8.8%