Template project repository for developing PlayStation 2 applications using Visual Studio Code. Requires one of the following toolchain host containers:
ps2ded-oss
for use with the Open Source PlayStation 2 SDKps2ded-sce
for use with the Sony PlayStation 2 SDK
The devcontainer is configured for running on a Windows host (workaround applied).
Before running this container, edit the configuration files in .devcontainer
to match your setup, i.e. match the PS2IP
with your target's IP address, and select the PS2DED image variant.
File | Setting |
---|---|
devcontainer.json |
Edit PS2IP env variable to match your target |
Dockerfile |
Select one of the PS2DED variants |
- Open the repo folder in VS Code
- Remote Explorer tab, select Containers in the combo box
- Click on "reopen the current folder in a container"
- Select cpptools configuration (EE or IOP) for your SDK in the lower right corner
Demo for Sony SDK: if using the Sony SDK, run the Makefile in the src
subdirectory.
start_dsnetm
cd src
make run
Demo for open-source SDK: if using the open-source SDK, copy the "cube" sample into the working directory. Run the Makefile to build the ELF-executable, and upload it to the target using dsedb
.
cp -r $PS2SDK/samples/draw/cube .
cd cube
make all
start_dsnetm
dsedb -nr run cube.elf