Mercurial > vba-clojure
diff java/src/com/aurellem/gb/Gb.java @ 60:ef59aee6d715
added function to retrieve main RAM
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 07 Mar 2012 19:29:51 -0600 |
parents | 3ce48d803e74 |
children | 4699c7bab77d |
line wrap: on
line diff
1.1 --- a/java/src/com/aurellem/gb/Gb.java Wed Mar 07 17:40:00 2012 -0600 1.2 +++ b/java/src/com/aurellem/gb/Gb.java Wed Mar 07 19:29:51 2012 -0600 1.3 @@ -1,6 +1,7 @@ 1.4 package com.aurellem.gb; 1.5 1.6 import java.nio.ByteBuffer; 1.7 +import java.nio.IntBuffer; 1.8 import java.nio.ByteOrder; 1.9 1.10 public class Gb { 1.11 @@ -59,7 +60,12 @@ 1.12 1.13 public static final int VRAM_SIZE = 0x4000; 1.14 1.15 + public static native void getRAM(int[] store); 1.16 1.17 + public static native void getROM(int[] store); 1.18 1.19 + public static native void getWRAM(int[] store); 1.20 + 1.21 + public static native void getVRAM(int[] store); 1.22 1.23 }