GBDK 2020 Docs  4.3.0
API Documentation for GBDK 2020
types.h
Go to the documentation of this file.
1 
5 #ifndef ASM_MOS6502_TYPES_INCLUDE
6 #define ASM_MOS6502_TYPES_INCLUDE
7 
8 #ifndef __PORT_mos6502
9  #error mos6502 only.
10 #endif
11 
12 #ifdef __SDCC
13 
14 #define NONBANKED __nonbanked
15 #define BANKED __banked
16 #define REENTRANT __reentrant
17 #define NO_OVERLAY_LOCALS __no_overlay_locals
29 #define CRITICAL __critical
30 
41 #define INTERRUPT __interrupt
42 
43 #endif
44 
47 typedef signed char INT8;
50 typedef unsigned char UINT8;
53 typedef signed int INT16;
56 typedef unsigned int UINT16;
59 typedef signed long INT32;
62 typedef unsigned long UINT32;
63 
64 #ifndef __SIZE_T_DEFINED
65 #define __SIZE_T_DEFINED
66 typedef unsigned int size_t;
67 #endif
68 
72 typedef unsigned int clock_t;
73 
74 #endif
unsigned long UINT32
Definition: types.h:62
signed int INT16
Definition: types.h:53
signed long INT32
Definition: types.h:59
unsigned int size_t
Definition: types.h:66
signed char INT8
Definition: types.h:47
unsigned int UINT16
Definition: types.h:56
unsigned char UINT8
Definition: types.h:50
unsigned int clock_t
Definition: types.h:72