Skip to content

Commit

Permalink
Relicense snes-test-roms under the zlib License
Browse files Browse the repository at this point in the history
I am the sole author of this code, as confirmed by
`git shortlog --summary --numbered --email --all`.

I am also the sole author the code that was imported from the following
projects:
 * untech-engine
 * unnamed-snes-game

This commit also adds SPDX-License-Identifier tags.
  • Loading branch information
undisbeliever committed Sep 7, 2024
1 parent a7c3dcb commit 028f92e
Show file tree
Hide file tree
Showing 117 changed files with 2,451 additions and 151 deletions.
35 changes: 18 additions & 17 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
The MIT License (MIT)
zlib License

Copyright (c) 2019, Marcus Rowe <[email protected]>
Copyright © 2016 Marcus Rowe <[email protected]>

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:
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.

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the 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:

1. 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.

2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.

3. This notice may not be removed or altered from any source distribution.

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.
22 changes: 21 additions & 1 deletion resources/example-backgrounds/bricks-tilemap.asm
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@
// A brick pattern tile map
//
// SPDX-FileCopyrightText: © 2020 Marcus Rowe <[email protected]>
// Distributed under The MIT License: https://opensource.org/licenses/MIT
// SPDX-License-Identifier: Zlib
//
// Copyright © 2020 Marcus Rowe <[email protected]>
//
// 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:
//
// 1. 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.
//
// 2. Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.

// 32x32 tilemap
// 8x8 px tiles
Expand Down
22 changes: 21 additions & 1 deletion resources/example-backgrounds/clouds-tilemap.asm
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@
// A clouds pattern tile map
//
// SPDX-FileCopyrightText: © 2020 Marcus Rowe <[email protected]>
// Distributed under The MIT License: https://opensource.org/licenses/MIT
// SPDX-License-Identifier: Zlib
//
// Copyright © 2020 Marcus Rowe <[email protected]>
//
// 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:
//
// 1. 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.
//
// 2. Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.


// 32x32 tilemap
Expand Down
22 changes: 21 additions & 1 deletion resources/example-backgrounds/obj-oam.asm
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@
// OAM for the `obj-4bpp-tiles.png` sprite image
//
// SPDX-FileCopyrightText: © 2020 Marcus Rowe <[email protected]>
// Distributed under The MIT License: https://opensource.org/licenses/MIT
// SPDX-License-Identifier: Zlib
//
// Copyright © 2020 Marcus Rowe <[email protected]>
//
// 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:
//
// 1. 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.
//
// 2. Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.

constant tileSize = 32

Expand Down
22 changes: 21 additions & 1 deletion resources/inidisp_extend_vblank/bg1-tilemap.asm
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@
// A simple 2x2 repeating tile pattern tilemap
//
// SPDX-FileCopyrightText: © 2021 Marcus Rowe <[email protected]>
// Distributed under The MIT License: https://opensource.org/licenses/MIT
// SPDX-License-Identifier: Zlib
//
// Copyright © 2021 Marcus Rowe <[email protected]>
//
// 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:
//
// 1. 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.
//
// 2. Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.


// 32x32 tilemap
Expand Down
22 changes: 21 additions & 1 deletion resources/inidisp_extend_vblank/spinning-logo-oam.asm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,27 @@
// Assumes small sprites are 16x16 px.
//
// SPDX-FileCopyrightText: © 2022 Marcus Rowe <[email protected]>
// Distributed under The MIT License: https://opensource.org/licenses/MIT
// SPDX-License-Identifier: Zlib
//
// Copyright © 2022 Marcus Rowe <[email protected]>
//
// 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:
//
// 1. 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.
//
// 2. Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.


constant X_OFFSET = (256 - 192) / 2
Expand Down
22 changes: 21 additions & 1 deletion src/_common/assert.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,27 @@
//
//
// SPDX-FileCopyrightText: © 2016 Marcus Rowe <[email protected]>
// Distributed under The MIT License: https://opensource.org/licenses/MIT
// SPDX-License-Identifier: Zlib
//
// Copyright © 2016 Marcus Rowe <[email protected]>
//
// 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:
//
// 1. 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.
//
// 2. Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.


// Asserts than an expression is true
Expand Down
22 changes: 21 additions & 1 deletion src/_common/cpu.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,27 @@
//
//
// SPDX-FileCopyrightText: © 2016 Marcus Rowe <[email protected]>
// Distributed under The MIT License: https://opensource.org/licenses/MIT
// SPDX-License-Identifier: Zlib
//
// Copyright © 2016 Marcus Rowe <[email protected]>
//
// 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:
//
// 1. 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.
//
// 2. Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.


variable __CPU__.aSize = 0
Expand Down
22 changes: 21 additions & 1 deletion src/_common/enum.inc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,27 @@
//
//
// SPDX-FileCopyrightText: © 2016 Marcus Rowe <[email protected]>
// Distributed under The MIT License: https://opensource.org/licenses/MIT
// SPDX-License-Identifier: Zlib
//
// Copyright © 2016 Marcus Rowe <[email protected]>
//
// 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:
//
// 1. 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.
//
// 2. Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.


inline createEnum(start, increment) {
Expand Down
22 changes: 21 additions & 1 deletion src/_common/functiontable.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,27 @@
//
//
// SPDX-FileCopyrightText: © 2016 Marcus Rowe <[email protected]>
// Distributed under The MIT License: https://opensource.org/licenses/MIT
// SPDX-License-Identifier: Zlib
//
// Copyright © 2016 Marcus Rowe <[email protected]>
//
// 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:
//
// 1. 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.
//
// 2. Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.


// Automatically builds the function table from a given struct
Expand Down
22 changes: 21 additions & 1 deletion src/_common/memory.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,27 @@
//
//
// SPDX-FileCopyrightText: © 2016 Marcus Rowe <[email protected]>
// Distributed under The MIT License: https://opensource.org/licenses/MIT
// SPDX-License-Identifier: Zlib
//
// Copyright © 2016 Marcus Rowe <[email protected]>
//
// 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:
//
// 1. 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.
//
// 2. Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.


namespace MEMORY_MAP {
Expand Down
22 changes: 21 additions & 1 deletion src/_common/print.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,27 @@
//
//
// SPDX-FileCopyrightText: © 2016 Marcus Rowe <[email protected]>
// Distributed under The MIT License: https://opensource.org/licenses/MIT
// SPDX-License-Identifier: Zlib
//
// Copyright © 2016 Marcus Rowe <[email protected]>
//
// 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:
//
// 1. 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.
//
// 2. Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.


// Prints a decimal integer number with padding
Expand Down
22 changes: 21 additions & 1 deletion src/_common/registers.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,27 @@
//
//
// SPDX-FileCopyrightText: © 2016 Marcus Rowe <[email protected]>
// Distributed under The MIT License: https://opensource.org/licenses/MIT
// SPDX-License-Identifier: Zlib
//
// Copyright © 2016 Marcus Rowe <[email protected]>
//
// 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:
//
// 1. 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.
//
// 2. Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.


// a Data Bank that can access the registers.
Expand Down
Loading

0 comments on commit 028f92e

Please sign in to comment.