GBDK 2020 Docs  4.1.1
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
15 #define BANKED
16 #define REENTRANT __reentrant
28 #define CRITICAL __critical
29 
40 #define INTERRUPT __interrupt
41 
42 #endif
43 
46 typedef signed char INT8;
49 typedef unsigned char UINT8;
52 typedef signed int INT16;
55 typedef unsigned int UINT16;
58 typedef signed long INT32;
61 typedef unsigned long UINT32;
62 
63 #ifndef __SIZE_T_DEFINED
64 #define __SIZE_T_DEFINED
65 typedef unsigned int size_t;
66 #endif
67 
71 typedef unsigned int clock_t;
72 
73 #endif
unsigned long UINT32
Definition: types.h:61
signed int INT16
Definition: types.h:52
signed long INT32
Definition: types.h:58
unsigned int size_t
Definition: types.h:65
signed char INT8
Definition: types.h:46
unsigned int UINT16
Definition: types.h:55
unsigned char UINT8
Definition: types.h:49
unsigned int clock_t
Definition: types.h:71