[pypy-svn] r55016 - pypy/dist/pypy/translator/goal

cami at codespeak.net cami at codespeak.net
Tue May 20 17:25:52 CEST 2008


Author: cami
Date: Tue May 20 17:25:50 2008
New Revision: 55016

Modified:
   pypy/dist/pypy/translator/goal/targetgbimplementation.py
Log:
remove old squeakminiinagetest text in the header
fixed joypaddriver
translates now correctly


Modified: pypy/dist/pypy/translator/goal/targetgbimplementation.py
==============================================================================
--- pypy/dist/pypy/translator/goal/targetgbimplementation.py	(original)
+++ pypy/dist/pypy/translator/goal/targetgbimplementation.py	Tue May 20 17:25:50 2008
@@ -7,28 +7,15 @@
 EMULATION_CYCLES = 64
 
 
-# This loads the whole mini.image in advance.  At run-time,
-# it executes the tinyBenchmark.  In this way we get an RPython
-# "image" frozen into the executable, mmap'ed by the OS from
-# there and loaded lazily when needed :-)
-
-
-# XXX this only compiles if sys.recursionlimit is high enough!
-# On non-Linux platforms I don't know if there is enough stack to
-# compile...
-#sys.setrecursionlimit(100000)
-
-
 def entry_point(argv=None):
     if len(argv) > 1:
         filename = argv[1]
     else:
         filename = ROM_PATH+"/rom9/rom9.gb"
+    print "using file: ", str(filename)
     gameBoy = GameBoyImplementation()
-    #gameBoy.load_cartridge_file(ROM_PATH+"/rom4/rom4.gb")#filename)
+    gameBoy.load_cartridge_file(ROM_PATH+"/rom4/rom4.gb")
     gameBoy.emulate(EMULATION_CYCLES)
-#    #gameBoy.load_cartridge_file(str(filename))
-    
     return 0
     
 



More information about the Pypy-commit mailing list