Recompile Yaroze Source

Need help for the Yaroze SDK? Ask a question or look for an answer here. For programming questions or anything else, please see the PlayStation 1 section since the Yaroze has the exact same hardware as a normal PlayStation
ChrisRx
What is PSXDEV?
What is PSXDEV?
Posts: 2
Joined: January 6th, 2019, 10:16 am

Re: Recompile Yaroze Source

Post by ChrisRx » January 7th, 2019, 4:28 am

I started working on a cross compiler toolchain recently so I could do Net Yaroze programming on Linux, and I figured I would share my progress if anyone is interested:

https://github.com/ChrisRx/mipsel-ecoff-toolchain

I have built this on Arch Linux and in a docker container with Debian and successfully built out a toolchain that compiled the sample/check program provided by the SDK without errors (and the object dump looked correct as far as I can tell also). I ended up stepping down versions of GCC until I got to the one mentioned in the `Net Yaroze For Linux` document mentioned in this thread. I am working on getting it transfered to the Net Yaroze to make sure it actually works at the moment. Just wanted to say thanks to the information everyone has provided here, it was incredibly helpful and I look forward to (hopefully) finally doing some programming on my Net Yaroze!

User avatar
gwald
1997 Yaroze Enthusiast
1997 Yaroze Enthusiast
Posts: 251
Joined: September 18th, 2013, 8:44 am
I am a: programmer/DBA
PlayStation Model: Net Yaroze
Location: Australia
Contact:

Re: Recompile Yaroze Source

Post by gwald » January 11th, 2019, 9:36 am

Welcome Chris!!!
... you are a brave man!
Good work... thanks for sharing!

ChrisRx
What is PSXDEV?
What is PSXDEV?
Posts: 2
Joined: January 6th, 2019, 10:16 am

Re: Recompile Yaroze Source

Post by ChrisRx » January 13th, 2019, 5:09 am

So good news, it appears to be valid since I can run it in an emulator! The bad new though is that I can't seem to get it transferred over unfortunately. I'm running into errors where it says "SYNC ERROR (FFFFFFFF)" and aborts the transfer everytime (this is using siocons compiled in linux). The "Net Yaroze for Linux" document seems to reference a better utility for loading it called hssutils, but I can't seem to find that anymore. Does anyone know if that is available anywhere to download still, or possibly has it download locally and would be willing to provide it?

User avatar
danhans42
Extreme PSXDEV User
Extreme PSXDEV User
Posts: 174
Joined: November 28th, 2012, 11:51 pm
I am a: Interested Geek
IRC: danhans42
PlayStation Model: SCPH-7502
Want to Find: Inspiration
Looking to: build, hack, play
Location: Wesy Yorkshire, UK
Contact:

Re: Recompile Yaroze Source

Post by danhans42 » January 13th, 2019, 7:56 am

If you can't get that working try dosbox.. not ideal but at least you can try the DOS tools.

Siocons in Linux works fine for me on amd64 and on my raspberrypi, just not at slow speeds.. try changing the baud rate if you are using 9600bps
♥ PSX - http://psx0.wordpress.com

My collection - SCPH-102/SCPH-7502, Yaroze Modded PSone, PocketStation (Clear), 2x Xplorer Carts, 2x Xplorer Pro, 2x AR Carts (1 with Ezoray), GS Pro 3, ISA Comms Link Card. Various USB serial devices, Gameshark Sharklink, Kentai Eddy, iMode Cable & other bits and bobs.

User avatar
danhans42
Extreme PSXDEV User
Extreme PSXDEV User
Posts: 174
Joined: November 28th, 2012, 11:51 pm
I am a: Interested Geek
IRC: danhans42
PlayStation Model: SCPH-7502
Want to Find: Inspiration
Looking to: build, hack, play
Location: Wesy Yorkshire, UK
Contact:

Re: Recompile Yaroze Source

Post by danhans42 » March 12th, 2019, 1:36 am

Hi Chris,

Did you manage to test the output from your setup on real hardware at all? I have a nice linux machine setup for this and was going to give it a try.
♥ PSX - http://psx0.wordpress.com

My collection - SCPH-102/SCPH-7502, Yaroze Modded PSone, PocketStation (Clear), 2x Xplorer Carts, 2x Xplorer Pro, 2x AR Carts (1 with Ezoray), GS Pro 3, ISA Comms Link Card. Various USB serial devices, Gameshark Sharklink, Kentai Eddy, iMode Cable & other bits and bobs.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest