# Third-party notices 65816-rust is MIT licensed (LICENSE). It is a transcription of 65816-python (MIT, the same author) and contains no code from the GPL emulators the reference's documents cite (bsnes, Mesen2, srg320's P65C816 VHDL, MAME's GPL files are closed boxes; see `docs/provenance.md`). Nothing third-party is committed: the corpus, the test ROMs and the MAME traces are read in place from the reference's checkout, found through `scripts/env.sh`. ## MAME (BSD-3-Clause) `src/bin/mame_replay.rs` (the rung 4 tool, not the core) carries `burst()`, MAME 0.285's `bus_5A22_cycle_burst` from `src/devices/cpu/g65816/g65816.cpp` (`// license:BSD-3-Clause`, `// copyright-holders:Karl Stenerud`), as the reference's `tests/mame_replay.py` transcribed it: the master clocks a 5A22 read or write adds by region, which the replay needs to compare its clocks with MAME's. The file's SPDX line is `MIT AND BSD-3-Clause`. The other MAME-derived lines of that file are facts about MAME's cycle constants (`CLK_W_AX`, `CLK_W_DIY`, XBA, RTI, `JMP (a,x)`), described in comments as the reference describes them, not code. The licence of that function: ``` Copyright (c) Karl Stenerud (MAME, https://www.mamedev.org) 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. ```