31 typedef signed char s8;
32 typedef unsigned char u8;
33 typedef signed short s16;
34 typedef unsigned short u16;
35 typedef signed long int s32;
36 typedef unsigned long int u32;
37 typedef signed long long int s64;
38 typedef unsigned long long int u64;
40 typedef unsigned int uint;
42 typedef unsigned char Bool;
51 #define NULL ((void*)0)
59 #define INLINE __attribute__((always_inline)) inline
62 #define NOINLINE __attribute__((noinline))
65 #define WEAK __attribute__((weak))
68 #define ALIGNED __attribute__((aligned(4)))
100 #define B24 (1UL<<24)
101 #define B25 (1UL<<25)
102 #define B26 (1UL<<26)
103 #define B27 (1UL<<27)
104 #define B28 (1UL<<28)
105 #define B29 (1UL<<29)
106 #define B30 (1UL<<30)
107 #define B31 (1UL<<31)
109 #define BIT(pos) (1UL<<(pos))
111 #define BIGINT 0x40000000 // big int value
115 #define PI 3.14159265358979324
116 #define PI2 (3.14159265358979324*2)
138 extern const ALIGNED u8 FontBold8x8[2048];
139 extern const ALIGNED u8 FontBold8x14[3584];
140 extern const ALIGNED u8 FontBold8x16[4096];
141 extern const ALIGNED u8 FontBoldB8x14[3584];
142 extern const ALIGNED u8 FontBoldB8x16[4096];
143 extern const ALIGNED u8 FontGame8x8[2048];
144 extern const ALIGNED u8 FontIbm8x8[2048];
145 extern const ALIGNED u8 FontIbm8x14[3584];
146 extern const ALIGNED u8 FontIbm8x16[4096];
147 extern const ALIGNED u8 FontIbmTiny8x8[2048];
148 extern const ALIGNED u8 FontItalic8x8[2048];
149 extern const ALIGNED u8 FontThin8x8[2048];