make a branch for the work on the gameboy emulator


git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@51952 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
add a directory for the gameboy emulator


git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@51955 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
Initial commit. Created directory and file structre.



git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52186 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
started implementation of the cartridge module, moved all constants into constans.py (which may be a mistake, we'll see)



git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52356 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
converted java files to python.
starting to implement the tests


git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52366 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
fixed some compiler errors, ported gameboy.py


git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52368 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
minor refactoring of timer, video, sound, cartridge and joypad
cartridge has been introduced to inheritance, needs a lot more of work to be done there



git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52406 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
(cami, tverwaes) cutting and cleaning... doens't work yet though.


git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52443 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
Using constants from file



git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52445 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
more constants


git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52446 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
use if anyway... too much space wasted otherwise


git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52447 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
heavy refactoring of op-code methods. prepared non-working op-code list.



git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52568 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
non-working version. reduced loc to under 1000. POP-Code mapping still unimplemented. double checked the cycle lengths with the original java file. ready to implement tests for cycles 


git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52570 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
fixed a small bug in gameboy.py. dropped some empty lines in sound.py and video.py.


git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52571 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
cami started to code the opCode tables. need to split up into 2 tables due to overlapping opCodes. introduced the fetchExecute method, which should use the FetchExecuteOpCode table



git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52572 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
implemented test..



git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52608 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
added test file templates. 
added "unfinished" CPU Cycles test
fixed minor number assignement bug in DoubleRegister



git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52611 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
added getter test


git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52615 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
fix a test


git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52617 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
fixing import (fixing test)


git-svn-id: http://codespeak.net/svn/pypy/branch/gameboy-emulator@52619 fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada