https://github.com/islandcontroller/ps2ded-vscode
VS Code Devcontainer template for PS2DED
https://github.com/islandcontroller/ps2ded-vscode
homebrew playstation-2 ps2sdk vscode-devcontainer
Last synced: 5 months ago
JSON representation
VS Code Devcontainer template for PS2DED
- Host: GitHub
- URL: https://github.com/islandcontroller/ps2ded-vscode
- Owner: islandcontroller
- License: mpl-2.0
- Created: 2020-09-10T20:50:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-10T10:39:39.000Z (about 5 years ago)
- Last Synced: 2025-04-07T12:52:05.164Z (10 months ago)
- Topics: homebrew, playstation-2, ps2sdk, vscode-devcontainer
- Language: Makefile
- Homepage:
- Size: 75.2 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PlayStation 2 DevEnv for Docker – VS Code Template

Template project repository for developing PlayStation 2 applications using Visual Studio Code. Requires one of the following toolchain host containers:
* [**`ps2ded-oss`**](https://github.com/islandcontroller/ps2ded-oss) for use with the Open Source PlayStation 2 SDK
* [**`ps2ded-sce`**](https://github.com/islandcontroller/ps2ded-sce) for use with the Sony PlayStation 2 SDK
The devcontainer is configured for running on a Windows host (workaround applied).
## Configuration
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 |
## Usage
1. Open the repo folder in VS Code
2. *Remote Explorer* tab, select *Containers* in the combo box
3. Click on "reopen the current folder in a container"
4. 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