summaryrefslogtreecommitdiff
path: root/src/sim86/libs/reference_decoder/sim86.h
diff options
context:
space:
mode:
authorRaymaekers Luca <luca@spacehb.net>2025-11-12 18:52:38 +0100
committerRaymaekers Luca <luca@spacehb.net>2025-11-12 18:52:38 +0100
commitd4f6774c172ac1e7c193fc4e89230c873d179c2b (patch)
tree049b855ac7b68482dc9e1e35b339f5b4d18d675b /src/sim86/libs/reference_decoder/sim86.h
parente20d69ffb1f5676bb7960ac4d71c1013e4582149 (diff)
checkpoint
Diffstat (limited to 'src/sim86/libs/reference_decoder/sim86.h')
-rw-r--r--src/sim86/libs/reference_decoder/sim86.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/sim86/libs/reference_decoder/sim86.h b/src/sim86/libs/reference_decoder/sim86.h
new file mode 100644
index 0000000..b065a0e
--- /dev/null
+++ b/src/sim86/libs/reference_decoder/sim86.h
@@ -0,0 +1,27 @@
+/* ========================================================================
+
+ (C) Copyright 2023 by Molly Rocket, Inc., All Rights Reserved.
+
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+
+ Please see https://computerenhance.com for more information
+
+ ======================================================================== */
+
+typedef char unsigned u8;
+typedef short unsigned u16;
+typedef int unsigned u32;
+typedef long long unsigned u64;
+
+typedef char s8;
+typedef short s16;
+typedef int s32;
+typedef long long s64;
+
+typedef s32 b32;
+
+#define ArrayCount(Array) (sizeof(Array) / sizeof((Array)[0]))
+
+static u32 const SIM86_VERSION = 4;