uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 608b9d4f1f3b7b078eba049e1a0fa7575d560bb1
parent 0981074d63024feea48a4be04d62029347310dfe
Author: neauoire <aliceffekt@gmail.com>
Date:   Mon,  8 Feb 2021 12:17:50 -0800

*

Diffstat:
Mcpu.c | 18+++++++++---------
Mcpu.h | 11+++++++++++
2 files changed, 20 insertions(+), 9 deletions(-)

diff --git a/cpu.c b/cpu.c @@ -1,14 +1,5 @@ #include <stdio.h> -#define FLAG_HALT 0x01 -#define FLAG_SHORT 0x02 -#define FLAG_SIGN 0x04 -#define FLAG_COND 0x08 - -#include "cpu.h" - -Computer cpu; - /* Copyright (c) 2021 Devine Lu Linvega @@ -20,6 +11,15 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE. */ +#include "cpu.h" + +#define FLAG_HALT 0x01 +#define FLAG_SHORT 0x02 +#define FLAG_SIGN 0x04 +#define FLAG_COND 0x08 + +Computer cpu; + #pragma mark - Helpers void diff --git a/cpu.h b/cpu.h @@ -1,5 +1,16 @@ #include <stdio.h> +/* +Copyright (c) 2021 Devine Lu Linvega + +Permission to use, copy, modify, and distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE. +*/ + typedef unsigned char Uint8; typedef unsigned short Uint16;