Mercurial > vba-clojure
comparison 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 |
comparison
equal
deleted
inserted
replaced
61:dc8b383ecefa | 62:4699c7bab77d |
---|---|
58 | 58 |
59 public static final int WRAM_SIZE = 0x8000; | 59 public static final int WRAM_SIZE = 0x8000; |
60 | 60 |
61 public static final int VRAM_SIZE = 0x4000; | 61 public static final int VRAM_SIZE = 0x4000; |
62 | 62 |
63 public static final int NUM_REGISTERS = 27; | |
64 | |
63 public static native void getRAM(int[] store); | 65 public static native void getRAM(int[] store); |
64 | 66 |
65 public static native void getROM(int[] store); | 67 public static native void getROM(int[] store); |
66 | 68 |
67 public static native void getWRAM(int[] store); | 69 public static native void getWRAM(int[] store); |
68 | 70 |
69 public static native void getVRAM(int[] store); | 71 public static native void getVRAM(int[] store); |
70 | 72 |
73 public static native void getRegisters(int[] store); | |
71 } | 74 } |