Forum: PS2 Homebrew/Dev & Emu Scene - Topics relating to homebrew PS2 development and emulation. Stay current and up to date on the latest homebrew releases from the best devs on the scene.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: PCEP port to PS2
  

Results 1 to 9 of 9
  1. #1 Question PCEP port to PS2 
    ziltink is offline Registered User
    Join Date
    Nov 2006
    Posts
    13
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    How easy is it to port a PSP homebrew application to a PS2 application? I have recently tried the PCEP PC Engine emulator for the PSP and it seems to work great. I can't help thinking, this would be great on the PS2. I don't know how similar the hardware is, but it seems similar enough.

    Any ideas? I'm just dissapointed there aren't any good TG-16/TG-CD/PC-Engine emulators for the PS2...
    Reply With Quote  

  2. #2  
    SP193's Avatar
    SP193 is online now The fallen spartan...
    Join Date
    May 2009
    Location
    シンガポール
    Posts
    1,955
    Downloads
    0
    Uploads
    0
    Mentioned
    14 Post(s)
    Tagged
    3 Thread(s)
    Likes Given
    33
    Likes Received
    211
    How easy is it to port a PSP homebrew application to a PS2 application? I have recently tried the PCEP PC Engine emulator for the PSP and it seems to work great. I can't help thinking, this would be great on the PS2. I don't know how similar the hardware is, but it seems similar enough.
    Hmm... I was attempting to port gpSP 0.7 to the PS2 from the PSP.... but did not go past rewriting the low level stuff (Lack of time to commit).

    If you're interested:

    The PS2 is similar to the PSP because both share MIPS processors (Assembly code should still work, unless it relies on certain traits in the PSP's architecture).

    The PS2 has more parts, hence you need to re-write the code that interfaces with the hardware/libraries on your program. The up side of this is that you'll get better performance.

    The PS2 shares almost no similar libraries with the PSP (Linked with the above point).

    You should find out on how to program the PS2 first (Or how the hardware is programmed/initialized).

    1 more important point: The PS2's "normal" screen ratio is 4:3, while the PSP has a 16:9 screen!
    Please rewrite your program to not display anything outside the screen.

    If you need more help, please feel free to ask.

    Good Luck.
    Unmodified SCPH-77006 with SM 3.6
    SCPH-39006 with M-chip modchip, SCPH-10281 NA and refurb Seagate 80GB HDD
    SCPH-10000 v1.00 with SCPH-10190 PCMCIA NA and SCPH-20400 HDD unit
    PS2ESDL v0.823B

    やっほー 汗がひかる♪
    Reply With Quote  

  3. #3  
    ziltink is offline Registered User
    Join Date
    Nov 2006
    Posts
    13
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Where is a good place to start with PS2 coding? I am interested, but I'm unsure where to get started.

    Quote Originally Posted by SP193 View Post
    Hmm... I was attempting to port gpSP 0.7 to the PS2 from the PSP.... but did not go past rewriting the low level stuff (Lack of time to commit).

    If you're interested:

    The PS2 is similar to the PSP because both share MIPS processors (Assembly code should still work, unless it relies on certain traits in the PSP's architecture).

    The PS2 has more parts, hence you need to re-write the code that interfaces with the hardware/libraries on your program. The up side of this is that you'll get better performance.

    The PS2 shares almost no similar libraries with the PSP (Linked with the above point).

    You should find out on how to program the PS2 first (Or how the hardware is programmed/initialized).

    1 more important point: The PS2's "normal" screen ratio is 4:3, while the PSP has a 16:9 screen!
    Please rewrite your program to not display anything outside the screen.

    If you need more help, please feel free to ask.

    Good Luck.
    Reply With Quote  

  4. #4  
    protomank is offline Member
    Join Date
    Mar 2008
    Location
    Porto Alegre, RS, Brazil
    Posts
    210
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    1
    Likes Received
    5
    www.ps2dev.org

    Sometimes the site is offline, but there you'll find some demos/sources.
    Also, the forums here are very good.
    Reply With Quote  

  5. #5  
    SP193's Avatar
    SP193 is online now The fallen spartan...
    Join Date
    May 2009
    Location
    シンガポール
    Posts
    1,955
    Downloads
    0
    Uploads
    0
    Mentioned
    14 Post(s)
    Tagged
    3 Thread(s)
    Likes Given
    33
    Likes Received
    211
    Yea, and look for clues on Google.

    Unfortunately, getting certain information on programming the Playstation 2 can indeed be quite a challenge (E.g. find out where in physical memory is KSEG0 is mapped to).

    There isn't a "real" documentation for our SDK.... that's the bad part.

    Of course, you can also feel free to ask the more experienced coders for advice (Me, Dlanor and some others....).

    EDIT: This is an odd source for information... but look at the uLE source for anything you need to know.

    Somehow a lot of stuff which I had wished to know (In the past) was found (As examples) in the uLE sources.
    Unmodified SCPH-77006 with SM 3.6
    SCPH-39006 with M-chip modchip, SCPH-10281 NA and refurb Seagate 80GB HDD
    SCPH-10000 v1.00 with SCPH-10190 PCMCIA NA and SCPH-20400 HDD unit
    PS2ESDL v0.823B

    やっほー 汗がひかる♪
    Reply With Quote  

  6. #6  
    ziltink is offline Registered User
    Join Date
    Nov 2006
    Posts
    13
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Cool, thanks. I will defiantly keep all of this in mind. I've tried getting on the PS2Dev site and it does appear to go up and down.

    I haven't actually seen a place to get the PCEP source, I'll keep looking. The next best thing I've found is Hugo! TG/PCE emulator. It's SDL, which I assume is easier to port to PS2. I've tried it on Windows and Linux and it seems to work well enough. There is also a PSP port of Hugo! as well.

    Good luck to myself!

    Quote Originally Posted by SP193 View Post
    Yea, and look for clues on Google.

    Unfortunately, getting certain information on programming the Playstation 2 can indeed be quite a challenge (E.g. find out where in physical memory is KSEG0 is mapped to).

    There isn't a "real" documentation for our SDK.... that's the bad part.

    Of course, you can also feel free to ask the more experienced coders for advice (Me, Dlanor and some others....).

    EDIT: This is an odd source for information... but look at the uLE source for anything you need to know.

    Somehow a lot of stuff which I had wished to know (In the past) was found (As examples) in the uLE sources.
    Reply With Quote  

  7. #7  
    CaptainHIT's Avatar
    CaptainHIT is offline Member
    Join Date
    May 2008
    Location
    Amiga-Heaven
    Posts
    167
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Good luck to you! I hope you'll do something nice sooner or later.
    ____________________________
    PS2 30004R, FreeMC 1.8b, Maxtor 160GB Slim HDD, SMS 2.9 R4, uLaunchELF 4.42
    Reply With Quote  

  8. #8  
    SP193's Avatar
    SP193 is online now The fallen spartan...
    Join Date
    May 2009
    Location
    シンガポール
    Posts
    1,955
    Downloads
    0
    Uploads
    0
    Mentioned
    14 Post(s)
    Tagged
    3 Thread(s)
    Likes Given
    33
    Likes Received
    211
    It's SDL, which I assume is easier to port to PS2.
    Sadly, the PS2 does not have a SDL library (You need to write the SDL stubs yourself!). There was one in the works, but it got stalled, and nothing was released publicly.
    Unmodified SCPH-77006 with SM 3.6
    SCPH-39006 with M-chip modchip, SCPH-10281 NA and refurb Seagate 80GB HDD
    SCPH-10000 v1.00 with SCPH-10190 PCMCIA NA and SCPH-20400 HDD unit
    PS2ESDL v0.823B

    やっほー 汗がひかる♪
    Reply With Quote  

  9. #9  
    protomank is offline Member
    Join Date
    Mar 2008
    Location
    Porto Alegre, RS, Brazil
    Posts
    210
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    1
    Likes Received
    5
    Incorrect. There is yes a SDL ported to PS2 available in ps2dev.org, I even use it to port my megaman-like game to PS2.
    There are some problems on it, like timers and lack of sound support, but it does help for most part of code porting.
    Reply With Quote  

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •