2011-08-06 20:55:33 +00:00
|
|
|
ApplePy - an Apple ][ emulator in Python
|
|
|
|
========================================
|
|
|
|
|
|
|
|
by James Tauber / http://jtauber.com/
|
|
|
|
|
|
|
|
Originally written 2001, updated 2011
|
|
|
|
|
|
|
|
Apple ][ ROM available from http://www.easy68k.com/paulrsm/6502/index.html
|
|
|
|
|
|
|
|
|
2011-08-07 10:52:20 +00:00
|
|
|
Credits
|
|
|
|
-------
|
|
|
|
|
2011-08-13 13:30:39 +00:00
|
|
|
Some 6502 code came from contributions from Christiaan Kelly in 2007.
|
|
|
|
|
|
|
|
Greg Hewgill provided significant fixes and improvements to the 2011 version
|
|
|
|
(see the commit log for details).
|
|
|
|
|
|
|
|
The character generator bitmaps were entered by hand from visual inspection
|
|
|
|
of http://www.sbprojects.com/projects/apple1/terminal.php
|
2011-08-07 10:52:20 +00:00
|
|
|
|
|
|
|
|
2011-08-06 20:55:33 +00:00
|
|
|
Status
|
|
|
|
------
|
|
|
|
|
2011-08-13 13:30:39 +00:00
|
|
|
With original Apple ][ ROM it boots to the monitor, most monitor commands
|
|
|
|
work and you can go into Integer BASIC (with E000G or Ctrl-B RETURN) and
|
|
|
|
write and run programs. With an Apple ][+ ROM it boots to Applesoft Basic and
|
|
|
|
runs all the programs I've tried so far.
|
2011-08-06 20:55:33 +00:00
|
|
|
|
2011-08-13 13:30:39 +00:00
|
|
|
The only I/O supported is the keyboard and screen but 40-column text, LORES
|
|
|
|
and HIRES graphics are all supported.
|
2011-08-06 20:55:33 +00:00
|
|
|
|
2011-08-18 23:37:00 +00:00
|
|
|
ApplePy currently requires Pygame (although there is a minimal applepy_curses.py
|
2012-07-23 08:18:42 +00:00
|
|
|
that uses curses to display text mode only) and numpy (just for an array for
|
|
|
|
speaker sounds)
|
2012-07-23 08:18:55 +00:00
|
|
|
|
2013-03-08 12:00:00 +00:00
|
|
|
Here's how I set up the dependencies (on Mac OS X 10.8):
|
|
|
|
|
|
|
|
pip install numpy
|
|
|
|
brew install sdl sdl_image sdl_mixer sdl_ttf portmidi hg
|
|
|
|
pip install hg+http://bitbucket.org/pygame/pygame
|
|
|
|
|
2012-07-23 08:18:55 +00:00
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
This code is made available under an MIT License. See LICENSE.
|