diff java/src/com/aurellem/gb/Gb.java @ 62:4699c7bab77d

added code to retrieve CPU registers
author Robert McIntyre <rlm@mit.edu>
date Wed, 07 Mar 2012 20:10:21 -0600
parents ef59aee6d715
children d7c38ce83421
line wrap: on
line diff
     1.1 --- a/java/src/com/aurellem/gb/Gb.java	Wed Mar 07 19:53:39 2012 -0600
     1.2 +++ b/java/src/com/aurellem/gb/Gb.java	Wed Mar 07 20:10:21 2012 -0600
     1.3 @@ -60,6 +60,8 @@
     1.4  
     1.5      public static final int VRAM_SIZE = 0x4000;
     1.6  
     1.7 +    public static final int NUM_REGISTERS = 27;
     1.8 +
     1.9      public static native void getRAM(int[] store);
    1.10  
    1.11      public static native void getROM(int[] store);
    1.12 @@ -67,5 +69,6 @@
    1.13      public static native void getWRAM(int[] store);
    1.14  
    1.15      public static native void getVRAM(int[] store);
    1.16 -
    1.17 +    
    1.18 +    public static native void getRegisters(int[] store);
    1.19  }