-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relicense snes-test-roms under the zlib License
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
1 parent
a7c3dcb
commit 028f92e
Showing
117 changed files
with
2,451 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
Oops, something went wrong.