comparison java/src/com/aurellem/gb/Gb.java @ 107:ad96e9464d6a

working on the start of the bootstrap program; expanded register array to 29 elements
author Robert McIntyre <rlm@mit.edu>
date Thu, 15 Mar 2012 03:24:05 -0500
parents 3a60bb14a64a
children 893c753f8088
comparison
equal deleted inserted replaced
106:3a60bb14a64a 107:ad96e9464d6a
95 95
96 public static final int RAM_SIZE = 0x8000; 96 public static final int RAM_SIZE = 0x8000;
97 97
98 public static final int ROM_SIZE = 0x100000; 98 public static final int ROM_SIZE = 0x100000;
99 99
100 public static final int NUM_REGISTERS = 28; 100 public static final int NUM_REGISTERS = 29;
101 101
102 public static final int GB_MEMORY = 0x10000; 102 public static final int GB_MEMORY = 0x10000;
103 103
104 public static native void getMemory(int[] store); 104 public static native void getMemory(int[] store);
105 105