Mercurial > vba-clojure
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/java/src/com/aurellem/gb/Gb.java Tue Mar 06 21:53:31 2012 -0600 1.3 @@ -0,0 +1,23 @@ 1.4 +package com.aurellem.gb; 1.5 + 1.6 +import java.nio.ByteBuffer; 1.7 + 1.8 + 1.9 +public class Gb { 1.10 + 1.11 + 1.12 + public Gb(){} 1.13 + 1.14 + 1.15 + /** 1.16 + * Hello World! This is just to test the native interface. 1.17 + */ 1.18 + public native void sayHello(); 1.19 + 1.20 + /** 1.21 + * Run the emulator on a given rom 1.22 + * @param rom - the name of the rom. 1.23 + */ 1.24 + public native void startEmulator(String rom); 1.25 + 1.26 +}