summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/defs.h')
-rw-r--r--apps/plugins/rockboy/defs.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/apps/plugins/rockboy/defs.h b/apps/plugins/rockboy/defs.h
new file mode 100644
index 0000000..4c520ef
--- /dev/null
+++ b/apps/plugins/rockboy/defs.h
@@ -0,0 +1,36 @@
+
+
+
+#ifndef __DEFS_H__
+#define __DEFS_H__
+
+#include "rockmacros.h"
+
+#ifdef LITTLE_ENDIAN
+#define LO 0
+#define HI 1
+#else
+#define LO 1
+#define HI 0
+#endif
+
+
+typedef unsigned char byte;
+
+typedef unsigned char un8;
+typedef unsigned short un16;
+typedef unsigned int un32;
+
+typedef signed char n8;
+typedef signed short n16;
+typedef signed int n32;
+
+typedef un16 word;
+typedef word addr;
+
+
+
+
+
+#endif
+