Blade Libs + MIPSGCC + Jum SDK

Post a topic about yourself to let others know your skills, hobbies, etc.
Post Reply
User avatar
gwald
Verified
1997 Yaroze Enthusiast
1997 Yaroze Enthusiast
Posts: 262
Joined: Sep 18, 2013
I am a: programmer/DBA
PlayStation Model: Net Yaroze
Location: Australia
Contact:

Blade Libs + MIPSGCC + Jum SDK

Post by gwald » November 7th, 2018, 3:22 pm

Continuing from viewtopic.php?f=62&t=1630
I didn't want to take that thread so off topic,
Shadow wrote: November 7th, 2018, 12:19 pm The Blade libs were way before the PSXSDK. They are very old. Off the top of my head, I think Rob Withey coded them in the mid-nineties. People would usually use "Blade Libs + MIPSGCC + Jum SDK", but everyone these days just uses Psy-Q.
As much as I like the Net Yaroze stuff :roll:, I'd like to get away from the Sony stuff.
PSXSDK is fine for 2D but I like 3D which is missing, so blade + Jum (SPU) libs is interesting to me.

I found Blade Libs here: http://www.candu.co.uk/psx/
The 3d.c looks interesting, it even has it's own GS implementation and libps.a!
Anyone tried it out?

And, I found Jum's site:
http://jum.pdroms.de/

Shadow, do you know where to get the mipsgcc toolchain?
I guess it's the same as PSXSDK's right?

User avatar
brill
Verified
Active PSXDEV User
Active PSXDEV User
Posts: 46
Joined: Apr 30, 2013
PlayStation Model: SCPH-7502
Location: Ukraine, Odessa
Contact:

Post by brill » November 8th, 2018, 3:18 am

mipsgcc

Mirror by PSXDEV.NET: http://psxdev.net/downloads/mipsgcc.zip (edited in and added by Shadow)
Dev console: SCPH-7502 + Xplorer with CAETLA 0.37
Dev PC: Windows 98 SE, Celeron at 633MHz, 128MB RAM, 20GB HDD

User avatar
gwald
Verified
1997 Yaroze Enthusiast
1997 Yaroze Enthusiast
Posts: 262
Joined: Sep 18, 2013
I am a: programmer/DBA
PlayStation Model: Net Yaroze
Location: Australia
Contact:

Post by gwald » November 8th, 2018, 8:56 am

brill wrote: November 8th, 2018, 3:18 am mipsgcc
excellent! thank you!

User avatar
brill
Verified
Active PSXDEV User
Active PSXDEV User
Posts: 46
Joined: Apr 30, 2013
PlayStation Model: SCPH-7502
Location: Ukraine, Odessa
Contact:

Post by brill » November 10th, 2018, 2:49 am

gwald, bladesdk is pretty buggy
it can't run PS-EXE directly from burned disk on ps1 (but work on ps2, yeah, strange glitch)
you will need to use a loader, after which the main.exe is launched
I warned!

bladesdk v1.2 full

loader search here - http://www.candu.co.uk/psx/
Candu's BladeLib Launcher
Dev console: SCPH-7502 + Xplorer with CAETLA 0.37
Dev PC: Windows 98 SE, Celeron at 633MHz, 128MB RAM, 20GB HDD

User avatar
gwald
Verified
1997 Yaroze Enthusiast
1997 Yaroze Enthusiast
Posts: 262
Joined: Sep 18, 2013
I am a: programmer/DBA
PlayStation Model: Net Yaroze
Location: Australia
Contact:

Post by gwald » November 11th, 2018, 11:10 pm

Cool, strange 'bug', thanks for the info!
Hopefully I'll have time to look at it in some detail next week.

Xavi92
Verified
C Programming Expert
C Programming Expert
Posts: 149
Joined: Oct 06, 2012

Post by Xavi92 » November 16th, 2018, 3:50 pm

Actually, thanks to Kannagi's LMP3D, PSXSDK has some preliminary 3D support. I encourage you to check it out before discarding it.

Also, Blade libs are old, unmantained and broken. Even if not under heavily active development, nextvolume releases some updates for PSXSDK from time to time. I even created my own fork as well, where I included some experimental features e.g.: multi-thread support.

User avatar
gwald
Verified
1997 Yaroze Enthusiast
1997 Yaroze Enthusiast
Posts: 262
Joined: Sep 18, 2013
I am a: programmer/DBA
PlayStation Model: Net Yaroze
Location: Australia
Contact:

Post by gwald » November 16th, 2018, 5:56 pm

I haven't discarded PSXSDK!!! lol
I actually downloaded your repo and compiled it with the old psxsdk/msy compiler at the start of the week.
A bit busy at the moment doing a few things, but I'm looking forward to looking into it more.
Saying that the blade 3D coding looks really impressive to me.. it's very GsLib with TMD primitives, of cause I don't know what works and what doesn't.

I didn't know about LMP3D thanks for that, pretty ambitious too!

User avatar
brill
Verified
Active PSXDEV User
Active PSXDEV User
Posts: 46
Joined: Apr 30, 2013
PlayStation Model: SCPH-7502
Location: Ukraine, Odessa
Contact:

Post by brill » October 29th, 2020, 5:07 pm

Finally, I got to the my DevStation and was able to figure out the reason for the hang when directly loading an executable file from disk (without a bootloader). So far I have only tested it on the XEBRA emulator without burning, but I think that there will be no problems with this. All that was required was to call the ResetEntryInt(); function at the beginning of the main() function.

It's strange that none of the many examples mentions this.
Dev console: SCPH-7502 + Xplorer with CAETLA 0.37
Dev PC: Windows 98 SE, Celeron at 633MHz, 128MB RAM, 20GB HDD

Xavi92
Verified
C Programming Expert
C Programming Expert
Posts: 149
Joined: Oct 06, 2012

Post by Xavi92 » October 31st, 2020, 1:59 pm

I'm glad you finally found the issue. But, after two years, new and better SDKs have been created. You should probably use one of them instead of Blade Libs. I have listed them on this thread.

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2558
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » November 4th, 2020, 3:09 pm

I'm so surprised to see these libs still being used, but if they work and you're comfortable with them then it's okay :)
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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest