From 2bcb97cade32e4781135ff4c1500b95fcf351889 Mon Sep 17 00:00:00 2001 From: dweller Date: Wed, 26 Mar 2025 20:47:55 +0200 Subject: add LICENSE(s) + README --- sources/bits.c | 8 ++++++++ sources/chip8.c | 8 ++++++++ sources/log.c | 8 ++++++++ sources/main.c | 8 ++++++++ sources/meta/disasm.c | 7 +++++++ sources/meta/exec.c | 8 ++++++++ sources/meta/undef.c | 8 ++++++++ 7 files changed, 55 insertions(+) (limited to 'sources') diff --git a/sources/bits.c b/sources/bits.c index ba52f4f..0197436 100644 --- a/sources/bits.c +++ b/sources/bits.c @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2025 dwlr + * + * BSD 3-Clause License (BSD-3-Clause) + * See LICENSE for details + */ + + #define iota __COUNTER__ #define lengthof(x) (sizeof(x) / sizeof((x)[0])) diff --git a/sources/chip8.c b/sources/chip8.c index f5a28a8..1c5f907 100644 --- a/sources/chip8.c +++ b/sources/chip8.c @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2025 dwlr + * + * BSD 3-Clause License (BSD-3-Clause) + * See LICENSE for details + */ + + #define C8_RESET_VECTOR 0x200 #define C8_CYCLES_PER_FRAME 1000 diff --git a/sources/log.c b/sources/log.c index ba0aa86..b289939 100644 --- a/sources/log.c +++ b/sources/log.c @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2025 dwlr + * + * BSD 3-Clause License (BSD-3-Clause) + * See LICENSE for details + */ + + typedef enum log_kind { LK_DEBUG, diff --git a/sources/main.c b/sources/main.c index 2036b73..5bc1c42 100644 --- a/sources/main.c +++ b/sources/main.c @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2025 dwlr + * + * BSD 3-Clause License (BSD-3-Clause) + * See LICENSE for details + */ + + #define _DEFAULT_SOURCE #include #include diff --git a/sources/meta/disasm.c b/sources/meta/disasm.c index 82e715e..841a455 100644 --- a/sources/meta/disasm.c +++ b/sources/meta/disasm.c @@ -1,3 +1,10 @@ +/* + * Copyright (C) 2025 dwlr + * + * BSD 3-Clause License (BSD-3-Clause) + * See LICENSE for details + */ + #define X_C8_PRELUDE #define X_C8_EPILOGUE diff --git a/sources/meta/exec.c b/sources/meta/exec.c index a39aef2..b5aaba4 100644 --- a/sources/meta/exec.c +++ b/sources/meta/exec.c @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2025 dwlr + * + * BSD 3-Clause License (BSD-3-Clause) + * See LICENSE for details + */ + + #define BEGIN do{ #define END }while(0) diff --git a/sources/meta/undef.c b/sources/meta/undef.c index 01ce25f..dc538c1 100644 --- a/sources/meta/undef.c +++ b/sources/meta/undef.c @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2025 dwlr + * + * BSD 3-Clause License (BSD-3-Clause) + * See LICENSE for details + */ + + #undef X_C8_PRELUDE #undef X_C8_EPILOGUE -- cgit v1.2.3