2003/09/04 08:28:16
[org.ibex.core.git] / src / org / xwt / Main.java
index 92d0b77..c61bcf1 100644 (file)
@@ -31,8 +31,14 @@ public class Main {
     /** don't check if all surfaces are gone (and quit) until this is true */
     public static boolean doneInitializing = false;
 
+    public static void main(String[] args) throws Exception {
+       org.xwt.imp.MIPSInterpreter interpreter = new org.xwt.imp.MIPSInterpreter();
+       System.out.println("exit code: " +
+                          interpreter.run(new String[] { "build/mips/freetype.mips", "padua.ttf" }));
+    }
+
     /** common entry point */
-    public static void main(String[] args) {
+    public static void main_(String[] args) {
         try {
             int startargs = 0;
             while (true) {