From fecc0948c9266aaee8620d856da620c1d127be8f Mon Sep 17 00:00:00 2001 From: Samuel Walker Date: Thu, 27 Mar 2025 15:39:51 -0600 Subject: [PATCH] Initialize Project --- .gitignore | 1 + CMakeLists.txt | 4 ++++ main.c | 16 ++++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 100644 main.c diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d163863 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build/ \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..162e404 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,4 @@ +cmake_minimum_required(VERSION 3.10) +set(MAKE_TOOLCHAIN_FILE $PS2SDK/ps2dev.cmake) +project(helloworld) +add_executable(helloworld.elf main.c) \ No newline at end of file diff --git a/main.c b/main.c new file mode 100644 index 0000000..1abd0bb --- /dev/null +++ b/main.c @@ -0,0 +1,16 @@ +#include +#include +#include +#include +#include + + + +int main() { + sceSifInitRpc(0); + init_scr(); + scr_printf("test"); + sleep(5); + + return 0; +} \ No newline at end of file