minidol: initial commit
[jump.git] / minidol / esrc / Gen.h
diff --git a/minidol/esrc/Gen.h b/minidol/esrc/Gen.h
new file mode 100644 (file)
index 0000000..9acfcf5
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef GEN_H
+#define GEN_H
+
+#include <dol.h>
+
+#define PORT_OUTPUT "0"
+
+#define LENGTH 8
+
+typedef struct _local_states {
+       int index;
+} Gen_State;
+
+void Gen_init(DOLProcess *);
+int Gen_fire(DOLProcess *);
+
+#endif