Skip to content

Commit

Permalink
Ps1 test
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Jun 1, 2024
1 parent 697170b commit d1ab5dd
Show file tree
Hide file tree
Showing 6 changed files with 2,279 additions and 0 deletions.
21 changes: 21 additions & 0 deletions misc/ps1/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
cmake_minimum_required(VERSION 3.21)

project(
ClassiCube
LANGUAGES C ASM
VERSION 1.0.0
DESCRIPTION "ClassiCube PS1 port"
HOMEPAGE_URL "https://classicube.net"
)

add_definitions(-DPLAT_PS1)
file(GLOB _sources ../../src/*.c)

psn00bsdk_add_executable(template GPREL ${_sources})

psn00bsdk_add_cd_image(
iso # Target name
template # Output file name (= template.bin + template.cue)
iso.xml # Path to config file
DEPENDS template system.cnf
)
26 changes: 26 additions & 0 deletions misc/ps1/CMakePresets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"displayName": "Default configuration",
"description": "Use this preset to build the project using PSn00bSDK.",
"generator": "Ninja",
"toolchainFile": "$env{PSN00BSDK_LIBS}/cmake/sdk.cmake",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"PSN00BSDK_TC": "",
"PSN00BSDK_TARGET": "mipsel-none-elf"
},
"warnings": {
"dev": false
}
}
]
}
Binary file added misc/ps1/classicube.zip
Binary file not shown.
Loading

0 comments on commit d1ab5dd

Please sign in to comment.