From 9318a0f46cb1c8549b602bddc7bc9578694ba72c Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Sat, 9 Dec 2023 21:19:52 -0800 Subject: [PATCH] File comment and license. --- apgbpal.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/apgbpal.go b/apgbpal.go index 7b9126f..333d4a0 100644 --- a/apgbpal.go +++ b/apgbpal.go @@ -1,5 +1,26 @@ package main +// Binary apgbpal creates a 56-byte file named "test.pal" in the current working +// directory. I hope it might be an Analogue Pocket GB Palette file, but I don't +// know that for sure yet. + +// apgbpal is licensed under 0BSD. +// +// Zero-Clause BSD +// ============= +// +// Permission to use, copy, modify, and/or distribute this software for +// any purpose with or without fee is hereby granted. +// +// THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL +// WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES +// OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +// FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY +// DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN +// AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +// OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + import ( "fmt" "log"