sh2-rust Copyright (c) 2026 alewman. Licensed under the MIT licence (LICENSE). A transcription of sh2-python (MIT, the same author) at 0d61a66: its code, comments and evidence tags carried into Rust. Nothing here is copied or transcribed from GPL, LGPL, non-commercial or unlicensed sources, and no such source was opened while writing it (docs/provenance.md). MAME's GPL files, Mednafen, jgenesis, Ymir, Kronos, Yabause, PicoDrive and srg320's MiSTer RTL were neither read nor run for this repository. sh2-python's NOTICE credits the permissive material its comments cite; the same comments are carried here, so the same notice applies: 1. MAME (https://github.com/mamedev/mame), mame0285, files under the BSD 3-Clause licence, read and cited for facts and formats, nothing copied: src/devices/cpu/sh/sh7604.cpp (the DIVU register map and its mirrors; its divide results, cited as a second opinion), sh_dasm.cpp (the disassembler's number format), sh2.cpp and sh.cpp (cited behaviour). Copyright-holders: Juergen Buchmueller, R. Belmont. BSD 3-Clause License. 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 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Cited sources (manuals used for facts, through sh2-python): the Hitachi SH-1/SH-2 Programming Manual (PM), the SH7604 Hardware Manual (HM), the Renesas SH-1/SH-2/SH-DSP Software Manual (SWM). The lockstep reads, at run time and in place, sh2-python's own data (its rung-1 corpus, its rung-4 extract of Dunkley's CC-BY-4.0 CPS3 data, its tests' 32xspd loop words) and machine-local MAME traces; none of it is committed here.