Can Visual Studio Code be used to write code for the PocketStation on Windows 10?
- B_Studios
- What is PSXDEV?
- Posts: 3
- Joined: Aug 06, 2020
- I am a: Artist and beginner programmer
- PlayStation Model: SCPH-5001
Can Visual Studio Code be used to write code for the PocketStation on Windows 10?
Does anybody know if it is possible to use Microsoft's Visual Studio Code to write code for the PocketStation? Although the official PS1 and PocketStation were designed to work with older OSs like Windows XP, couldn't the PocketStation SDK be used on Windows 10 since the PocketStation is a simpler device than the PS1 and there are extensions for Visual Studio Code that are widely available as well as other programming languages. I'm not an expert on what is required to use these SDKs on modern systems so please correct me if I'm wrong or if both the PS1 SDK and PocketStation SDK have to be used in tandem on a modern or older OS.
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2691
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
You can use the GUI from Visual Studio to write the C code, but you can't compile for it from there. You still need to use the old compiler from Sony for the PocketStation to produce the machine code.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
- danhans42
- /// PSXDEV | ELITE ///
- Posts: 332
- Joined: Nov 28, 2012
- I am a: Hardware Person
- Motto: Baddadan
- Location: 127.0.0.1
Depends on the definition of SDK.
Pocketstation aside, there has been work on converting the PsyQ libs for use with a modern GCC, which would then allow the use of VScode, which is what I am using at the moment.
The original project was psyq2elf - here http://www.psxdev.net/forum/viewtopic.php?f=62&t=3582
However, there are some issues that were found with that project. Grumpycoder has been busy with an alternative and the results are very promising - that project is psyq parser.
I am currently using the PsyQ 4.7 libs with gcc 9 and VScode and its working great. Not everything has been tested so far but its looking good.
Alternatively you have PSn00bsdk from Lameguy64 - open source and uses GCC 7.5something.. you can also use that in VScode.
Another thing to add is sjefcoder is working on or has finished a gdb stub, so you can have debugging too
Pocketstation though, if you wanted to do that as Shadow said youd have to stick with the official tools, or see if there are any other tools you could use to develop. I think Orion on here did some development on the PocketStation
Pocketstation aside, there has been work on converting the PsyQ libs for use with a modern GCC, which would then allow the use of VScode, which is what I am using at the moment.
The original project was psyq2elf - here http://www.psxdev.net/forum/viewtopic.php?f=62&t=3582
However, there are some issues that were found with that project. Grumpycoder has been busy with an alternative and the results are very promising - that project is psyq parser.
I am currently using the PsyQ 4.7 libs with gcc 9 and VScode and its working great. Not everything has been tested so far but its looking good.
Alternatively you have PSn00bsdk from Lameguy64 - open source and uses GCC 7.5something.. you can also use that in VScode.
Another thing to add is sjefcoder is working on or has finished a gdb stub, so you can have debugging too

Pocketstation though, if you wanted to do that as Shadow said youd have to stick with the official tools, or see if there are any other tools you could use to develop. I think Orion on here did some development on the PocketStation
- B_Studios
- What is PSXDEV?
- Posts: 3
- Joined: Aug 06, 2020
- I am a: Artist and beginner programmer
- PlayStation Model: SCPH-5001
Thank you very much for the advice! I'll look into those for working with the PS1! I have also seen what Orion has done for the PocketStation and I'll look into his tools he has available!danhans42 wrote: ↑August 28th, 2020, 1:07 am Depends on the definition of SDK.
Pocketstation aside, there has been work on converting the PsyQ libs for use with a modern GCC, which would then allow the use of VScode, which is what I am using at the moment.
The original project was psyq2elf - here http://www.psxdev.net/forum/viewtopic.php?f=62&t=3582
However, there are some issues that were found with that project. Grumpycoder has been busy with an alternative and the results are very promising - that project is psyq parser.
I am currently using the PsyQ 4.7 libs with gcc 9 and VScode and its working great. Not everything has been tested so far but its looking good.
Alternatively you have PSn00bsdk from Lameguy64 - open source and uses GCC 7.5something.. you can also use that in VScode.
Another thing to add is sjefcoder is working on or has finished a gdb stub, so you can have debugging too
Pocketstation though, if you wanted to do that as Shadow said youd have to stick with the official tools, or see if there are any other tools you could use to develop. I think Orion on here did some development on the PocketStation

- B_Studios
- What is PSXDEV?
- Posts: 3
- Joined: Aug 06, 2020
- I am a: Artist and beginner programmer
- PlayStation Model: SCPH-5001
Thank you very much for the advice, glad to know that code can be written in Visual Studio!

- danhans42
- /// PSXDEV | ELITE ///
- Posts: 332
- Joined: Nov 28, 2012
- I am a: Hardware Person
- Motto: Baddadan
- Location: 127.0.0.1
I use some open libraries that are called nugget, with that I can use an off the shelf gcc-mips and all that comes with it.
https://github.com/JonathanDotCel/hello ... ppycredits
if you want to use the official tools, you are stuck back in DOS/Windows
Also, there is the psyqparser solution, and psn00b
https://github.com/JonathanDotCel/hello ... ppycredits
if you want to use the official tools, you are stuck back in DOS/Windows
Also, there is the psyqparser solution, and psn00b
Who is online
Users browsing this forum: No registered users and 9 guests