view java/src/com/aurellem/gb/Gb.java @ 44:9d3769896d66

created java folder and simple build script
author Robert McIntyre <rlm@mit.edu>
date Tue, 06 Mar 2012 21:53:31 -0600
parents src/com/aurellem/gb/Gb.java@480951f6521d
children 75349da4c344
line wrap: on
line source
1 package com.aurellem.gb;
3 import java.nio.ByteBuffer;
6 public class Gb {
9 public Gb(){}
12 /**
13 * Hello World! This is just to test the native interface.
14 */
15 public native void sayHello();
17 /**
18 * Run the emulator on a given rom
19 * @param rom - the name of the rom.
20 */
21 public native void startEmulator(String rom);
23 }