how you people know all this stuff anyway?

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

Moderators: cheriff, Herben

Post Reply
webbs
Posts: 1
Joined: Wed Jul 07, 2004 11:04 pm

how you people know all this stuff anyway?

Post by webbs »

I was just wondering how the people who wrote the first tutorials at ps2dev learnt how to program for the ps2? did they get documentation for each of the processors and piece all the information together? or did someone buy an official ps2dev kit from sony and share the information with everyone else?
blackdroid
Posts: 564
Joined: Sat Jan 17, 2004 10:22 am
Location: Sweden
Contact:

Post by blackdroid »

I cant speak for everyone, but the pdf's that came with ps2linux helped alot.
Kung VU
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

Presumably the people who wrote the first tutorials found on the web used an illegal copy of the official SDK as their reference. I'm referring mostly to information on the vector units and GS, where there was no other information besides the official SDK documentation. Other areas of the PS2 were discovered by reverse engineering PS2 games. This was long before the PS2Linux Kit arrived in Japan.
mr bob
Posts: 15
Joined: Mon Jan 26, 2004 12:11 pm

Post by mr bob »

I was wondering why older versions of ps2lib often had the prefix of sce on many functions. Is this at all related to what mrbrown was saying? I'm not implying that anything is directly ripped out, but its possible that wherever the knowledge came from (including reverse engineering PS2 games) originally used sony libs. Things seem to have built up naturally (and legally) after knowledge from napalm, soopadoopa, and dreamtime was shared.
blackdroid
Posts: 564
Joined: Sat Jan 17, 2004 10:22 am
Location: Sweden
Contact:

Post by blackdroid »

I actually dont remember where gustavo got his info from, but I do remember that at one time someone wanted the sce prefixes so ps2lib could serve as a replacement for sony's.
Kung VU
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

I was one of the main ones (can't remember who else) who advocated using the sce prefixes for functions that are direct replacements of sce functions. The reason was that the functions were 1:1 replacements, so what was the point of changing the name? If there was a legal issue, the issue would be with the code used, not the name. This was especially true in projects like ps2drv, where all we are doing is writing import libraries :).

AFAIK, the original ps2lib was reversed from one or more game and demo disks that shipped with full debug symbols. I don't believe gustavo used anything from any official SDKs - simply because it wasn't necessary when Sony libs shipped with debug symbols. About the use of the official SDK, I was responding to the question about tutorials, where for example one of those tuturials had listings of VU instruction mnemonics and other pieces of info that couldn't be found in any game or public website.
Post Reply