This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.21)
|
||||
project(LudariumPsxFixture LANGUAGES C ASM)
|
||||
|
||||
psn00bsdk_add_executable(ludarium GPREL main.c)
|
||||
psn00bsdk_add_cd_image(fixture fixture iso.xml DEPENDS ludarium system.cnf)
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"version": 3,
|
||||
"cmakeMinimumRequired": { "major": 3, "minor": 21, "patch": 0 },
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "default",
|
||||
"generator": "Ninja",
|
||||
"toolchainFile": "$env{PSN00BSDK_LIBS}/cmake/sdk.cmake",
|
||||
"binaryDir": "${sourceDir}/build",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "MinSizeRel",
|
||||
"PSN00BSDK_TC": "",
|
||||
"PSN00BSDK_TARGET": "mipsel-none-elf"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
# Original PSX browser-play fixture
|
||||
|
||||
This fixture is original Ludarium test code. It initializes the PlayStation display to a
|
||||
solid blue background and waits for vertical blank forever. It contains no Sony BIOS,
|
||||
license sector, SDK binary, retail executable or game asset.
|
||||
|
||||
Build provenance:
|
||||
|
||||
- PSn00bSDK `v0.24`, commit `06e65bea3a778b2dae5af77a7935ae3868ddd4d3`;
|
||||
- official `PSn00bSDK-0.24-Linux.zip`, SHA-256
|
||||
`5ada7c9478d795b22bde96ee23d6869290c14a740bcde3d57c01c342a26ded35`;
|
||||
- official `gcc-mipsel-none-elf-12.3.0-linux.zip`, SHA-256
|
||||
`228f031a25cf2687d8845fd1421f625bafc211fa27da428e458e80d030a726f8`;
|
||||
- PSn00bSDK `mkpsxiso`, followed by MAME `chdman` 0.264;
|
||||
- final 15,411-byte CHD SHA-256
|
||||
`58e9754dd2c868d091cbd2401182b5026e436a7b199437fb7dfab039fccb89e7`;
|
||||
- checked-in gzip SHA-256
|
||||
`7b1af8fcfcaf052d40fac4696710b1f8b17bc3d6d32f36abd04e4c564d2d0f9f`.
|
||||
|
||||
`generate-fixtures.mjs` inflates the checked-in payload and refuses to emit it when the CHD
|
||||
checksum differs. The live gate then verifies the exact 15,411-byte artifact via scoped
|
||||
Range delivery before starting the actual pinned `pcsx_rearmed` core.
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<iso_project>
|
||||
<track type="data">
|
||||
<identifiers system="PLAYSTATION" volume="LUDARIUM_FIXTURE"
|
||||
volume_set="LUDARIUM_FIXTURE" publisher="LUDARIUM"
|
||||
data_preparer="PSN00BSDK" application="PLAYSTATION" copyright="README.TXT;1" />
|
||||
<directory_tree>
|
||||
<file name="SYSTEM.CNF" type="data" source="${PROJECT_SOURCE_DIR}/system.cnf" />
|
||||
<file name="LUDARIUM.EXE" type="data" source="ludarium.exe" />
|
||||
<dummy sectors="1024" />
|
||||
</directory_tree>
|
||||
</track>
|
||||
</iso_project>
|
||||
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
#include <psxgpu.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
DISPENV display;
|
||||
DRAWENV draw;
|
||||
|
||||
ResetGraph(0);
|
||||
SetDefDispEnv(&display, 0, 0, 320, 240);
|
||||
SetDefDrawEnv(&draw, 0, 0, 320, 240);
|
||||
setRGB0(&draw, 18, 42, 96);
|
||||
draw.isbg = 1;
|
||||
PutDispEnv(&display);
|
||||
PutDrawEnv(&draw);
|
||||
SetDispMask(1);
|
||||
|
||||
for (;;)
|
||||
VSync(0);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
BOOT=cdrom:\LUDARIUM.EXE;1
|
||||
TCB=4
|
||||
EVENT=10
|
||||
STACK=801FFFF0
|
||||
Reference in New Issue
Block a user