summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2022-08-26 20:46:15 +0300
committerOxore <oxore@protonmail.com>2022-08-26 20:46:15 +0300
commitc1b9fead37e32be1b2f97d5be2d8254fdc16d307 (patch)
treeadc582d632b75cd4ff5380c6ef754a7534017c74
parent96c3e7de19b8e524dfd6166e5841552b5a0d7bff (diff)
Add README.md and licensing information
-rw-r--r--CMakeLists.txt2
-rw-r--r--README.md19
-rw-r--r--UNLICENSE24
-rw-r--r--bus.c3
-rw-r--r--bus.h3
-rw-r--r--emulator.c3
6 files changed, 54 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c1261b1..c94615b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Unlicense
+
cmake_minimum_required(VERSION 3.16)
project(emulator)
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..0ea7cf7
--- /dev/null
+++ b/README.md
@@ -0,0 +1,19 @@
+# Emulator
+
+> Run SEGA Mega Drive (Genesis) games under GDB
+
+Mediocre implementation of SEGA Mega Drive emulator with GDB support.
+
+## Meta
+
+Authors:
+- Vladimir Novikov – oxore@protonmail.com
+
+This is free and unencumbered software released into the public domain. See
+``UNLICENSE`` for more information.
+
+Parts of this project are licensed under the MIT license.
+
+
+<!-- Markdown link & img dfn's -->
+[readme-template]: https://github.com/dbader/readme-template
diff --git a/UNLICENSE b/UNLICENSE
new file mode 100644
index 0000000..68a49da
--- /dev/null
+++ b/UNLICENSE
@@ -0,0 +1,24 @@
+This is free and unencumbered software released into the public domain.
+
+Anyone is free to copy, modify, publish, use, compile, sell, or
+distribute this software, either in source code form or as a compiled
+binary, for any purpose, commercial or non-commercial, and by any
+means.
+
+In jurisdictions that recognize copyright laws, the author or authors
+of this software dedicate any and all copyright interest in the
+software to the public domain. We make this dedication for the benefit
+of the public at large and to the detriment of our heirs and
+successors. We intend this dedication to be an overt act of
+relinquishment in perpetuity of all present and future rights to this
+software under copyright law.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+For more information, please refer to <http://unlicense.org/>
diff --git a/bus.c b/bus.c
index 9e23586..64a8ac9 100644
--- a/bus.c
+++ b/bus.c
@@ -1,3 +1,6 @@
+/* SPDX-License-Identifier: Unlicense
+ */
+
#include "bus.h"
#include <assert.h>
diff --git a/bus.h b/bus.h
index 4be9527..baa65be 100644
--- a/bus.h
+++ b/bus.h
@@ -1,3 +1,6 @@
+/* SPDX-License-Identifier: Unlicense
+ */
+
#pragma once
#define ROM_START (0)
diff --git a/emulator.c b/emulator.c
index bd16f76..21b9c94 100644
--- a/emulator.c
+++ b/emulator.c
@@ -1,3 +1,6 @@
+/* SPDX-License-Identifier: Unlicense
+ */
+
#include "bus.h"
#include <stdio.h>