A question for the greats....

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
Unafilliated
Posts: 7
Joined: Thu May 26, 2005 7:40 am

A question for the greats....

Post by Unafilliated »

Hi, Im new at ps2dev and had just one question. I wanted to mod someones program.(Naturally i got their permission) and was wondering if there was any source level debuggers for r5900 MIPS. I found a MIPS r3000 REC. But I havent come across one for the ps2. Any Ideas? This would be greatly appreciated.
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

There really aren't many choices for debugging on the PS2.

You can use printf to debug your software.

There is also a port of gdb, however I've been told it's quite slow (I haven't used it personally).

The majority of people here do debugging on PS2 via printf ;)
Shoot Pixels Not People!
Makeshift Development
Unafilliated
Posts: 7
Joined: Thu May 26, 2005 7:40 am

Post by Unafilliated »

1. Would this be a source level debug?
2. How would i go about doing this? Either of the two ways u posted would be great.
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

1. They are virtually the only two debugging methods so I listed them both with no regard to the exact type of debugging they are. There isn't a large selection of programs in order for you to be picky about the exact style of debugging.

2. PS2Link will redirect all output from printf to the PC.
Shoot Pixels Not People!
Makeshift Development
Unafilliated
Posts: 7
Joined: Thu May 26, 2005 7:40 am

Post by Unafilliated »

Thanks for thet help. Now all I would need to do is get a usb to usb cable.
Oobles
Site Admin
Posts: 347
Joined: Sat Jan 17, 2004 9:49 am
Location: Melbourne, Australia
Contact:

Post by Oobles »

The other choice is an official ps2 ethernet adapter. ps2link uses ethernet. If you wish to use a usb to usb cable then you would be using naplink. Each have their advantages, however, I would suggest the ethernet adapter over the usb cable.

Oobles.
Unafilliated
Posts: 7
Joined: Thu May 26, 2005 7:40 am

Post by Unafilliated »

Wow, thanks oobles. That solves alot of my problems. I really appreciate that. You guys have helped me alot to accomplish one of my first goals of mine in ps2dev. Thanks again :)

-Unafilliated
Post Reply