Licenses and copyright notices
1. Summary
lynxcc is the Lynx Game Development SDK: a complete toolkit for building Atari Lynx games. Its toolchain — the C compiler, macro assembler, linker, librarian and related utilities — is derived from cc65 and forms one component of the SDK. The SDK also ships the runtime and the optional subsystem libraries, and will grow to include additional tools and libraries over time. The whole package is distributed under the cc65 license, a zlib-style permissive license reproduced in section 2.
The cc65-derived components carry the cc65 copyright (Copyright ©
1998–2012 Ullrich von Bassewitz and contributors) and keep their existing
zlib-style notices. On top of that baseline the SDK applies a
per-component licensing pattern to the parts this project has
authored: the fork's own new toolchain, runtime, library and tool sources are
licensed under the Mozilla Public License 2.0 (section 5);
the example games and project templates under the MIT License
(section 6); and the documentation under Creative Commons
Attribution 4.0 (section 7). Every source file carries an
SPDX-License-Identifier tag recording which of these applies, so the
per-file scope is machine-checkable. Inherited cc65 files, the bundled
third-party headers, and vendored external tools under tools/extern/
(e.g. the Apache-2.0 sprpck, section 4.3) are not
relicensed — they keep their own notices, exactly as the Mozilla Public
License's per-file scope intends. The full policy and the exact file mapping live
in design/LYNX_LICENSE_POLICY_DESIGN.md.
Where a page on this site (notably this one) reproduces a third party's license verbatim, that quoted text remains under its own terms; the documentation license in section 7 covers each page's own prose, not the licenses it quotes.
Two further notices apply to specific parts and are reproduced in full below: the original Atari 8-bit compiler copyright by John R. Dunning (section 3), which still covers small parts of the C preprocessor and main parser, and the notices for the bundled decompression components (section 4).
This page is the canonical registry for license and copyright notices in the
SDK documentation; as new tools and libraries are added, their notices are
recorded here. The same notices also appear in the top-level LICENSE
file and in the headers of the individual source files they cover; consolidating
them here does not remove them from any source file, and the per-file notices
remain in place as required by the license.
2. cc65 license (applies to the package)
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
-
The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
-
Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
-
This notice may not be removed or altered from any source distribution.
3. Original compiler copyright (John R. Dunning)
Small parts of the compiler (parts of the preprocessor and main parser) are still covered by this copyright. It is reproduced here verbatim:
--------------------------------------------------------------------------
-*- Mode: Text -*-
This is the copyright notice for RA65, LINK65, LIBR65, and other
Atari 8-bit programs. Said programs are Copyright 1989, by John R.
Dunning. All rights reserved, with the following exceptions:
Anyone may copy or redistribute these programs, provided that:
1: You don't charge anything for the copy. It is permissable to
charge a nominal fee for media, etc.
2: All source code and documentation for the programs is made
available as part of the distribution.
3: This copyright notice is preserved verbatim, and included in
the distribution.
You are allowed to modify these programs, and redistribute the
modified versions, provided that the modifications are clearly noted.
There is NO WARRANTY with this software, it comes as is, and is
distributed in the hope that it may be useful.
This copyright notice applies to any program which contains
this text, or the refers to this file.
This copyright notice is based on the one published by the Free
Software Foundation, sometimes known as the GNU project. The idea
is the same as theirs, ie the software is free, and is intended to
stay that way. Everybody has the right to copy, modify, and re-
distribute this software. Nobody has the right to prevent anyone
else from copying, modifying or redistributing it.
--------------------------------------------------------------------------
4. Bundled third-party components
The SDK bundles some code it did not author. The decompression components in
sections 4.1–4.2 ship inside the runtime library under the same
zlib-style terms as section 2; the vendored external tools in
sections 4.3–4.4 each keep their own, different terms — one under
Apache-2.0, one with no declared licence at all. Section 4.5 covers
a fourth case: a derived port of Osman Celimli's HandyMusic tool, brought
in under the author's own “free to use and modify” grant rather than a
standard SPDX licence. None of these are
relicensed: each carries the copyright notice shown here, and the full notice
also remains in the source files it covers (include/lynx/zlib.h,
include/lynx/lz4.h, the corresponding libraries/ sources,
the tools/extern/ subtrees, and tools/hmcc/).
4.1. zlib / inflate decompression
The inflatemem / zlib decompression support in
libraries/compress/ and include/lynx/zlib.h:
(C) 2000-2015 Piotr Fusik <fox@scene.pl> This file is based on the zlib.h from 'zlib' general purpose compression library, version 1.1.3, (C) 1995-1998 Jean-loup Gailly and Mark Adler. Jean-loup Gailly Mark Adler jloup@gzip.org madler@alumni.caltech.edu
4.2. lz4 decompression
The lz4 decompression routine declared in include/lynx/lz4.h:
(C) 2017 Mega Cat Studios
Both components are provided under the zlib-style license in section 2: free for any purpose including commercial use, alterable and redistributable, provided the origin is not misrepresented, altered versions are marked as such, and the notice is not removed from any source distribution.
4.3. sprpck — Lynx Sprite Packer (Apache-2.0)
The sprpck sprite/bitmap converter is a third-party host tool
vendored under tools/extern/sprpck/ as a pristine
git subtree. It is
never modified and is not relicensed under the
SDK's Mozilla Public License; it keeps its upstream Apache License,
version 2.0:
Lynx Sprite Packer
(C) 1997..2021 42Bastian Schick
Matthias Domin
Contributions from Karri Kaksonen and LordKraken
The full, verbatim Apache-2.0 text ships with the tool as
tools/extern/sprpck/LICENSE; the canonical licence is published at
https://www.apache.org/licenses/LICENSE-2.0.
Because the vendored sources are kept byte-identical to upstream, no
“changed the files” notice under Apache §4(b) is required;
the project-owned build glue that compiles the tool into bin/sprpck
lives outside the vendored tree (tools/Makefile,
tools/extern/README.md) and does not alter it. See
design/LYNX_EXTERN_TOOLS_DESIGN.md for the vendoring policy.
4.4. lynxdir — Lynx ROM Builder (no declared licence)
The lynxdir ROM builder is a third-party host tool vendored under
tools/extern/lynxdir/ as a pristine
git subtree. It assembles a
bootable cartridge ROM from a list of files and an encrypted loader, driven by a
.mak config file. Like every vendored tool it is never
modified and is not relicensed under the SDK's Mozilla
Public License. Its copyright notice is:
LYNXDIR - Lynx ROM Builder, Version 1.9 (c) Björn Spruck 2010-2017
Important licence caveat. Unlike sprpck,
lynxdir ships no licence file and its upstream
repository declares no open-source licence — only the copyright line above.
Under default copyright law that means all rights are reserved
by the author. The tool is vendored here byte-identical to upstream and used
as-is, pending an explicit licence grant from Björn Spruck; no
grant of redistribution or modification rights should be inferred from its
inclusion. Anyone redistributing this SDK should resolve the tool's licensing
with the upstream author first, or omit tools/extern/lynxdir/ and
its bin/lynxdir output. The project-owned build glue that compiles
the tool into bin/lynxdir lives outside the vendored tree
(tools/Makefile, tools/extern/README.md) and does not
alter it. See design/LYNX_EXTERN_TOOLS_DESIGN.md for the vendoring
policy.
4.5. HandyMusic / hmcc — author's grant (derived port)
Two parts of the SDK are derived ports of Osman Celimli's
HandyMusic, from the HandyMusic_v1-40cx+ package: the
hmcc script compiler in tools/hmcc/ (ported from the
Win32 “HMCC” tool), and the runtime sound driver in
libraries/audio/handymusic/ (handymusic.s,
hm-instr.inc, hm-mus.inc) with its C surface
include/lynx/handymusic.h (ported from Celimli's lyxass/BLL driver to
ca65). Unlike the vendored tools
in sections 4.3–4.4, it is not a
tools/extern/ subtree: HandyMusic ships as a zip with no upstream git
repository, and the tool had to be modified to build outside Windows
(its Win32 file I/O and CRT debug scaffolding were replaced with portable C; the
script-compiler logic is otherwise unchanged). It therefore follows the
first-party abccc/abcrom precedent — lynxcc-authored
build glue around ported logic — while still crediting the original author
and preserving the original grant. It is not relicensed under the
SDK's Mozilla Public License. Its copyright and grant are:
HandyMusic (driver, HMCC script compiler and samples)
(C) Osman Celimli
"HandyMusic is completely free to use and modify in your own projects."
— HandyMusic Programmer's Manual
The grant above is reproduced verbatim from the HandyMusic Programmer's Manual
and is accepted as-is; no standard SPDX licence is sought as a precondition for
shipping. The ported sources under tools/hmcc/ carry that same
author's-grant notice in their file headers instead of an
SPDX-License-Identifier tag, the same way the SDK's other derived
files retain their original notices; the ported driver under
libraries/audio/handymusic/ and include/lynx/handymusic.h
carry the same notice. There is no upstream repository to pin as a
git subtree, so the provenance is recorded by package name and version
(HandyMusic_v1-40cx+) rather than a subtree commit. See
design/LYNX_HANDYMUSIC_DESIGN.md §7 for the licensing
rationale and the port plan.
5. SDK toolchain — Mozilla Public License 2.0
The source files this fork has authored from scratch — the Suzy
hardware-math routines, the static joypad read (joy-read.s), the
compact bitmap-font modules of the static Lynx graphics text system
(gfx-setfont/font5x5/text5x5/textvar/fontvar.s), the
<lynx/suzymath.h> header, the
lnx cartridge tool, the SDK build orchestration, and the test
harness — are licensed under the Mozilla Public License,
version 2.0. Each such file carries
SPDX-License-Identifier: MPL-2.0 and the standard MPL source-form
notice. The MPL is file-scoped: it applies only to the files that carry its
notice, so inherited cc65 sources (zlib-style) and bundled third-party sources
keep their own notices and are unaffected.
In particular, the static Lynx graphics modules and the ComLynx serial modules
were extracted and adapted from Karri Kaksonen's cc65 Lynx drivers
(the lynx-160-102-16 TGI driver and the lynx-comlynx
serial driver). As derived cc65 work they keep his copyright and an extraction
note, and remain under the cc65 package license (root LICENSE) —
they are not relicensed under the MPL.
The full, verbatim MPL-2.0 text ships with the distribution as
LICENSE-MPL-2.0.txt at the repository root. The per-file source-form
notice, reproduced verbatim from the license's Exhibit A, is:
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
The canonical license is published by the Mozilla Foundation at https://mozilla.org/MPL/2.0/.
6. Example games and templates — MIT License
The programs under examples/ and the project starters under
templates/ are licensed under the MIT License so
that you can copy starter code into your own Atari Lynx games with no copyleft
reach. Each directory ships a LICENSE file with this text, and each
source file carries SPDX-License-Identifier: MIT. The SDK toolchain,
runtime and libraries the examples build against are licensed separately
(sections 2 and 5); only the example and template sources are
MIT-licensed.
MIT License Copyright (c) 2026 the lynxcc Lynx Game Development SDK authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 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 OR COPYRIGHT HOLDERS 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.
7. Documentation — Creative Commons Attribution 4.0
The documentation — the doc/*.html manuals and the
design/*_DESIGN.md source-of-truth notes that feed them — is
licensed under the Creative Commons Attribution 4.0 International
license (CC BY 4.0). Each documentation file carries
SPDX-License-Identifier: CC-BY-4.0. You are free to share and adapt
the material for any purpose, including commercially, provided you give
appropriate credit to the lynxcc Lynx Game Development SDK authors, link to the
license, and indicate if changes were made.
The full, verbatim CC-BY-4.0 legal code ships with the distribution as
doc/LICENSE. The canonical license is published by Creative Commons
at https://creativecommons.org/licenses/by/4.0/;
the disclaimer of warranties and limitation of liability in its Section 5
apply.