diff options
| author | Raymaekers Luca <luca@spacehb.net> | 2025-11-12 18:52:38 +0100 |
|---|---|---|
| committer | Raymaekers Luca <luca@spacehb.net> | 2025-11-12 18:52:38 +0100 |
| commit | d4f6774c172ac1e7c193fc4e89230c873d179c2b (patch) | |
| tree | 049b855ac7b68482dc9e1e35b339f5b4d18d675b /src/sim86/sim86.h | |
| parent | e20d69ffb1f5676bb7960ac4d71c1013e4582149 (diff) | |
checkpoint
Diffstat (limited to 'src/sim86/sim86.h')
| -rw-r--r-- | src/sim86/sim86.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/sim86/sim86.h b/src/sim86/sim86.h new file mode 100644 index 0000000..24068e2 --- /dev/null +++ b/src/sim86/sim86.h @@ -0,0 +1,15 @@ +/* date = August 13th 2025 1:51 pm */ + +#ifndef SIM86_H +#define SIM86_H + +#define internal static +#define global_variable static +#define local_persist static + +typedef size_t psize; + +#define Assert(Expression) if(!(Expression)) { __asm__ volatile("int3"); } +#define ArrayCount(Array) (sizeof(Array) / sizeof((Array)[0])) + +#endif //SIM86_H |
