Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: cpmemu
Upstream-Contact: Aaron Wohl <xdeb@awohl.com>
Source: https://github.com/avwohl/cpmemu
Comment:
 The upstream release tarball holds tests/cpm-test as an empty directory: it
 is a git submodule (https://github.com/skx/cpm-test), and GitHub's tag
 archives leave submodules out.

Files: *
Copyright: 2025-2026 Aaron Wohl
License: GPL-3+

Files:
 src/qkz80.cc
 src/qkz80_reg_set.cc
 docs/archive/TNYLPO_ANALYSIS.md
 docs/archive/FLAG_DEBUG_PROGRESS.md
 docs/archive/FLAG_DEBUG_STATUS.md
Copyright:
 2025-2026 Aaron Wohl
 2019 Georg Brein
License: GPL-3+ and BSD-3-clause
Comment:
 The DAA instruction in src/qkz80.cc, and add8_bitwise, sub8_bitwise,
 add16_bitwise and sub16_bitwise in src/qkz80_reg_set.cc, are adapted from
 cpu.c of tnylpo by Georg Brein (https://gitlab.com/gbrein/tnylpo), under
 the BSD 3-Clause license.  The rest of each source file is GPL-3+.
 The three notes in docs/archive quote parts of that code.  NOTICE in the
 upstream tree lists the same files.

Files: tests/8080/*
Copyright:
 1994 Frank D. Cringle
 2009 Ian Bartholomew
License: GPL-2+
Comment:
 Frank D. Cringle's Z80 instruction exerciser and preliminary tests, changed
 to exercise an 8080 by Ian Bartholomew in February 2009, as copied from
 https://github.com/superzazu/8080 (cpu_tests).  The headers of the .mac files
 carry Cringle's copyright notice and name Bartholomew as the author of the
 changes; Bartholomew's changes carry no separate notice.  8080exm has one
 more change, by Mike Douglas: see the next stanza.  These are test programs
 that run under the emulator.  The .com files are copied, not built here; the
 .prn files are their Microsoft MACRO-80 3.44 listings.

Files:
 tests/8080/8080exm.com
 tests/8080/8080exm.mac
 tests/8080/8080exm.prn
Copyright:
 1994 Frank D. Cringle
 2009 Ian Bartholomew
 2013 Mike Douglas
License: GPL-2+
Comment:
 Mike Douglas changed 8080exm in May 2013.  It holds the CRCs that the
 8080/8085 CPU Exerciser web site (http://www.idb.me.uk/sunhillow/8080.html)
 gives for a correct 8080, and it shows the CRC when a test passes.  His note
 is in the headers of 8080exm.mac and 8080exm.prn.  8080exm.com, the program
 assembled from that source, has the change too.  His change carries no
 separate notice or licence: it is a change to a GPL-2+ file, under the terms
 of that file.

Files: tests/8080/README.md
Copyright: 2025-2026 Aaron Wohl
License: GPL-3+
Comment:
 The upstream author's notes on the test programs in tests/8080.  This file
 is not one of the copied files.

Files:
 tests/zexdoc.com
 tests/zexdoc.mac
 tests/zexall.com
 tests/zexall.mac
Copyright: 1994 Frank D. Cringle
License: GPL-2+
Comment:
 Frank D. Cringle's Z80 instruction set exerciser, from YAZE-AG 2.51.3, as
 published at https://github.com/agn453/ZEXALL.  The .com files are copied
 byte-identical from that repository; the .mac files say to assemble them with
 Hector Peraza's ZSM4.  No other copyright notice is in the files.

Files: debian/*
Copyright: 2026 Aaron Wohl <xdeb@awohl.com>
License: GPL-3+

License: GPL-3+
 This program is free software: you can redistribute it and/or modify it
 under the terms of the GNU General Public License as published by the Free
 Software Foundation, either version 3 of the License, or (at your option)
 any later version.
 .
 This program is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 more details.
 .
 You should have received a copy of the GNU General Public License along
 with this program.  If not, see <https://www.gnu.org/licenses/>.
 .
 On Debian systems, the complete text of the GNU General Public License
 version 3 can be found in "/usr/share/common-licenses/GPL-3".

License: GPL-2+
 This program is free software; you can redistribute it and/or modify it
 under the terms of the GNU General Public License as published by the Free
 Software Foundation; either version 2 of the License, or (at your option)
 any later version.
 .
 This program is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 more details.
 .
 On Debian systems, the complete text of the GNU General Public License
 version 2 can be found in "/usr/share/common-licenses/GPL-2".

License: BSD-3-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
 .
 1. Redistributions of source code must retain the above copyright notice,
    this list of conditions and the following disclaimer.
 .
 2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
 .
 3. Neither the name of the copyright holder nor the names of its
    contributors may be used to endorse or promote products derived from
    this software without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGE.
