comparison java/src/com/aurellem/gb/Gb.java @ 93:4c60ebca1a9d

added function to get all the GB's memory.
author Robert McIntyre <rlm@mit.edu>
date Sun, 11 Mar 2012 20:16:09 -0500
parents 1ff2c546f5ad
children cb487c4ce5c0
comparison
equal deleted inserted replaced
92:1ff2c546f5ad 93:4c60ebca1a9d
91 91
92 92
93 public static final int WRAM_SIZE = 0x8000; 93 public static final int WRAM_SIZE = 0x8000;
94 94
95 public static final int VRAM_SIZE = 0x4000; 95 public static final int VRAM_SIZE = 0x4000;
96
97 public static final int RAM_SIZE = 0x8000;
98
99 public static final int ROM_SIZE = 0x100000;
96 100
97 public static final int NUM_REGISTERS = 27; 101 public static final int NUM_REGISTERS = 27;
102
103 public static final int GB_MEMORY = 0x10000;
104
105 public static native void getMemory(int[] store);
98 106
99 public static native void getRAM(int[] store); 107 public static native void getRAM(int[] store);
100 108
101 public static native void getROM(int[] store); 109 public static native void getROM(int[] store);
102 110