initial commit!

This commit is contained in:
2026-02-19 23:28:57 +01:00
parent b0d594a9c0
commit 2a36117c25
1558 changed files with 74163 additions and 0 deletions

26
libs/libgccvb/types.h Normal file
View File

@@ -0,0 +1,26 @@
#ifndef _LIBGCCVB_TYPES_H
#define _LIBGCCVB_TYPES_H
// quick, easy types Byte(s) Range
typedef unsigned char u8; /* 1 0 ... 255 */
typedef unsigned short u16; /* 2 0 ... 65,535 */
typedef unsigned long u32; /* 4 0 ... 4,294,967,295 */
typedef signed char s8; /* 1 -128 ... 127*/
typedef signed short s16; /* 2 -32,768 ... 32,767*/
typedef signed long s32; /* 4 -2,147,483,648 ... 2,147,483,647 */
typedef unsigned char BYTE; /* 1 0 ... 255 */
typedef unsigned short HWORD; /* 2 0 ... 65,535 */
typedef unsigned long WORD; /* 4 0 ... 4,294,967,295 */
typedef enum {false, true} bool;
// for fixed point math
#define f8 s8
#define f16 s16
#define f32 s32
#endif