diff clojure/com/aurellem/gb/gb_driver.clj @ 191:893c753f8088

added function to set ROM
author Robert McIntyre <rlm@mit.edu>
date Thu, 22 Mar 2012 20:10:09 -0500
parents 3a3bb2197b7f
children d5dddf33543c
line wrap: on
line diff
     1.1 --- a/clojure/com/aurellem/gb/gb_driver.clj	Thu Mar 22 16:34:10 2012 -0500
     1.2 +++ b/clojure/com/aurellem/gb/gb_driver.clj	Thu Mar 22 20:10:09 2012 -0500
     1.3 @@ -201,6 +201,9 @@
     1.4  (def write-registers!
     1.5    (write-cpu-data Gb/NUM_REGISTERS #(Gb/writeRegisters %)))
     1.6  
     1.7 +(def write-rom!
     1.8 +  (write-cpu-data Gb/ROM_SIZE #(Gb/writeROM %)))
     1.9 +
    1.10  ;;;;;  Registers  ;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1.11  
    1.12  (defmacro gen-get-set-register [name index]