Yaroze SDK on WinXP+

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
Post Reply
User avatar
gwald
1997 Yaroze Enthusiast
1997 Yaroze Enthusiast
Posts: 256
Joined: September 18th, 2013, 8:44 am
I am a: programmer/DBA
PlayStation Model: Net Yaroze
Location: Australia
Contact:

Yaroze SDK on WinXP+

Post by gwald » January 18th, 2016, 11:54 am

The Yaroze SDK works fine in http://www.dosbox.com/ 0.74
I had to add CWSDPMI.exe (attached) from http://www.delorie.com in NY-root/gnu/bin and NY-root/psx/bin for the win95 exe's
The com stuff works very well, in your dosbox setting file (in USERPROFILE/Local settings/applications/DosBox/dosbox.74.conf )replace

Code: Select all

serial2=dummy 
with

Code: Select all

serial1=directserial realport:com1
To use dosbox you have to run (not 100% correct, but it works for me):

Code: Select all

mount c C:\c_disk

c:

cd yarozeSDK

djgsetup.bat
This can be written in your dosbox config in the autoexec section so it done automatically.
I also don't like the autolocking of the mouse:

Code: Select all

autolock=false

This is the best solution so far that I've found, even the yaroze debugger works :clap
Attachments
CWSDPMI.EXE.zip
(12.72 KiB) Downloaded 170 times
Last edited by gwald on January 18th, 2016, 5:34 pm, edited 3 times in total.

User avatar
Shadow
Admin / PSXDEV
Admin / PSXDEV
Posts: 2232
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

Re: Yaroze SDK on WinXP+

Post by Shadow » January 18th, 2016, 2:25 pm

Can you take a screenshot of the Yaroze Debugger please?
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

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

Re: Yaroze SDK on WinXP+

Post by gwald » January 18th, 2016, 5:04 pm

Shadow wrote:Can you take a screenshot of the Yaroze Debugger please?
ha.. i'll do ya a video ;)
hopefully tonight.. if i have time

it's just gnu gdb using hss.exe, from the yaroze CD, to remote tty debugger..
It's always been buggy tho, but good to have it for logic bugs.
I have the src if you want it ftp'ed up somewhere.. it's gnu :ugeek:

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

Re: Yaroze SDK on WinXP+

Post by gwald » January 18th, 2016, 10:53 pm

http://www.youtube.com/watch?v=oHNGQHPZRSU
I'm running winXP on a newish Dell computer :dance the drivers arent 100%
I need install win7 and try again, the PC kept locking up maybe from the recording..

Better on Linux dosbox
http://www.youtube.com/watch?v=UVD1Slg45j0

User avatar
Shadow
Admin / PSXDEV
Admin / PSXDEV
Posts: 2232
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

Re: Yaroze SDK on WinXP+

Post by Shadow » January 26th, 2016, 12:07 am

That is so overly tedious. The Net Yaroze makes it a real pain to develop on the PSX, but at least you can debug decently, so it's a good trade-off. The H2000 debugger is much nicer though. We will/someone will have to try and port it somehow for use with CAETLA one day.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

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

Re: Yaroze SDK on WinXP+

Post by gwald » January 26th, 2016, 2:03 pm

Shadow wrote:That is so overly tedious. The Net Yaroze makes it a real pain to develop on the PSX, but at least you can debug decently, so it's a good trade-off. The H2000 debugger is much nicer though. We will/someone will have to try and port it somehow for use with CAETLA one day.
yip, It is a pain.. using dosbox in winXP :/
I compiled gdb (from original NY src) and it runs on native winXP, but it didn't test well, too many coms issues :shrug
A NY member compiled g++ which works fine on winxp, I can upload it.

So, my NY setup works native in winXP (VirtualBox), except for siocons/gdb, which I use dosbox in linux because VirtualBox com1 isn't 100%.
I haven't tried VMare

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests