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 0000000000..4c520ef698
--- /dev/null
+++ b/apps/plugins/rockboy/defs.h
@@ -0,0 +1,36 @@
1
2
3
4#ifndef __DEFS_H__
5#define __DEFS_H__
6
7#include "rockmacros.h"
8
9#ifdef LITTLE_ENDIAN
10#define LO 0
11#define HI 1
12#else
13#define LO 1
14#define HI 0
15#endif
16
17
18typedef unsigned char byte;
19
20typedef unsigned char un8;
21typedef unsigned short un16;
22typedef unsigned int un32;
23
24typedef signed char n8;
25typedef signed short n16;
26typedef signed int n32;
27
28typedef un16 word;
29typedef word addr;
30
31
32
33
34
35#endif
36