diff clojure/com/aurellem/gb_driver.clj @ 66:43d4fb2a6fc2

resets now work correctly
author Robert McIntyre <rlm@mit.edu>
date Wed, 07 Mar 2012 23:23:15 -0600
parents 60c768964937
children 8cb500493ec2
line wrap: on
line diff
     1.1 --- a/clojure/com/aurellem/gb_driver.clj	Wed Mar 07 21:04:55 2012 -0600
     1.2 +++ b/clojure/com/aurellem/gb_driver.clj	Wed Mar 07 23:23:15 2012 -0600
     1.3 @@ -3,12 +3,12 @@
     1.4    (:import java.io.File)
     1.5    (:import (java.nio IntBuffer ByteOrder)))
     1.6  
     1.7 +(Gb/loadVBA)
     1.8  
     1.9  (def yellow-rom-image
    1.10    (File. "/home/r/proj/pokemon-escape/roms/yellow.gbc"))
    1.11  
    1.12  (defn vba-init []
    1.13 -  (Gb/loadVBA)
    1.14    (future
    1.15      (Gb/startEmulator (.getCanonicalPath yellow-rom-image))))
    1.16  
    1.17 @@ -43,6 +43,8 @@
    1.18     :u         0x0040
    1.19     :d         0x0080
    1.20  
    1.21 +   :0         0x0000
    1.22 +   
    1.23     :select    0x0004
    1.24     :start     0x0008
    1.25     :restart   0x0800})