comparison clojure/com/aurellem/gb_driver.clj @ 63:c44cf1f5954c

java/c++ framework more or less complete
author Robert McIntyre <rlm@mit.edu>
date Wed, 07 Mar 2012 20:37:46 -0600
parents 4699c7bab77d
children 02bca9640f3f
comparison
equal deleted inserted replaced
62:4699c7bab77d 63:c44cf1f5954c
12 (Gb/getRAM ram-store) 12 (Gb/getRAM ram-store)
13 ram-store)) 13 ram-store))
14 14
15 (defn get-rom [] 15 (defn get-rom []
16 (let [rom-store (int-array (Gb/getROMSize))] 16 (let [rom-store (int-array (Gb/getROMSize))]
17 (Gb/getRAM rom-store) 17 (Gb/getR0M rom-store)
18 rom-store)) 18 rom-store))
19 19
20 (defn get-working-ram [] 20 (defn get-working-ram []
21 (let [ram-store (int-array Gb/WRAM_SIZE)] 21 (let [ram-store (int-array Gb/WRAM_SIZE)]
22 (Gb/getWRAM ram-store) 22 (Gb/getWRAM ram-store)