Skip to content

About

Example projects that build with ps2build.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ps2build-samples

Example projects for ps2build. Each directory is a standalone project with its own ps2.yaml; build one with ps2build build from inside it.

Sample Toolchain Demonstrates
nanoHelloWorld GCC EE program linked against the nano libc
systemTime GCC EE program reading the system time
iop-minimal-test GCC IOP module embedded in an EE ELF with embed_irx and loaded with SifExecModuleBuffer
spinning-cube-vu GCC Lit, fogged sphere using draw, graph, math3d (VU0 macro mode), packet and dma; custom IOP RPC module built with imports_lst
erlTest GCC Loading, calling and unloading a relocatable ERL module
filesystem LLVM std::filesystem on USB mass storage

Building

export PS2DEV=/opt/ps2dev
cd nanoHelloWorld
ps2build build

erlTest also needs erlTest/build-erl.sh to produce module.erl, because ps2build does not build partially linked ERL files. Run the resulting ELF with module.erl in the same directory; PCSX2 maps host: to the ELF's directory by default.

License

The samples are CC0 1.0, except nanoHelloWorld and systemTime, which keep the Academic Free License 2.0 notice from the PS2SDK samples they derive from.

About

Example projects that build with ps2build.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages