comparison 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
comparison
equal deleted inserted replaced
59:3ce48d803e74 60:ef59aee6d715
1 package com.aurellem.gb; 1 package com.aurellem.gb;
2 2
3 import java.nio.ByteBuffer; 3 import java.nio.ByteBuffer;
4 import java.nio.IntBuffer;
4 import java.nio.ByteOrder; 5 import java.nio.ByteOrder;
5 6
6 public class Gb { 7 public class Gb {
7 8
8 9
57 58
58 public static final int WRAM_SIZE = 0x8000; 59 public static final int WRAM_SIZE = 0x8000;
59 60
60 public static final int VRAM_SIZE = 0x4000; 61 public static final int VRAM_SIZE = 0x4000;
61 62
63 public static native void getRAM(int[] store);
62 64
65 public static native void getROM(int[] store);
63 66
67 public static native void getWRAM(int[] store);
68
69 public static native void getVRAM(int[] store);
64 70
65 } 71 }