Learning PS2 porting techniques
Posted: Tue Aug 22, 2006 6:47 am
I have read here in several posts "just look at the source code" to see how something or other is done; and especially with regards to porting emulators, I have seen time and again, "look at the source for pSMS or pGen to see how easy it is to port XYZ emulator"... SNES9x 1.5 and HuGo 2.1 or any other TG16 emu come to mind.
maybe a dumb question but what exactly am I looking for? How is looking at the source for those items and comparing it to the original source they were ported from supposed to teach me anything useful?
-Edit- What I guess I am asking is how do I recognize what is PS2-related and what is core related when I am looking thru all this code, and is there any documentation available besides the examples on the site/in the SDK files to explain the base-level PS2 api calls and procedures so I can write my own PS2-related bits to make something work? -/Edit-
I know it's a bit of a handholding thing, but can someone who is proficient explain how to glean the necessary information to do something useful here (at your own leisure of course, despite being a noob programmer I am not expecting instant gratification here) ? I have had a couple courses in C++ and have studied C on my own, but I don't feel I understand what I am looking at (or perhaps looking FOR is a better term) .
As a side question I have read lots of posts regarding porting or simply just building SDL for the PS2, but so far no real info or links seem to have been passed around. Can someone elaborate?
Thanks in advance, and I'm sorry if some of this is redundancy, I really did pore over the board...
-Shadowhawk
----
Edited 8-22-06 for clarity
maybe a dumb question but what exactly am I looking for? How is looking at the source for those items and comparing it to the original source they were ported from supposed to teach me anything useful?
-Edit- What I guess I am asking is how do I recognize what is PS2-related and what is core related when I am looking thru all this code, and is there any documentation available besides the examples on the site/in the SDK files to explain the base-level PS2 api calls and procedures so I can write my own PS2-related bits to make something work? -/Edit-
I know it's a bit of a handholding thing, but can someone who is proficient explain how to glean the necessary information to do something useful here (at your own leisure of course, despite being a noob programmer I am not expecting instant gratification here) ? I have had a couple courses in C++ and have studied C on my own, but I don't feel I understand what I am looking at (or perhaps looking FOR is a better term) .
As a side question I have read lots of posts regarding porting or simply just building SDL for the PS2, but so far no real info or links seem to have been passed around. Can someone elaborate?
Thanks in advance, and I'm sorry if some of this is redundancy, I really did pore over the board...
-Shadowhawk
----
Edited 8-22-06 for clarity