For the folks with DESR(PSX) units at their homes...

Discussion in 'Sony Programming and Development' started by l_oliveira, Sep 1, 2013.

  1. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    At the XMB:
    [​IMG]

    Launching it:
    [​IMG]

    Open PS2 Loader splash screen:
    [​IMG]

    Game list:
    [​IMG]

    In the game:
    [​IMG]


    A few limitations apply:

    Currently the space for PS2 software on all DESR units caps at 40GB but SP193 believes it can be resized to a maximum of 120GB.
    Boot HD Loader partitions from partition information region (PATINFO) cannot be used because the cross media bar software requires that a partition has a valid PSF filesystem in it for it's resource files display. PSBBN does not require that and will show generic icons instead if it cannot read the PSF filesystem within a partition.

    The PSX cannot use ATAD with 48bit support while running PS2 software so a limit of 120GB is imposed.

    Also, regular homebrew using 48 bit ATAD drivers will not work properly with it's harddrive due to how the DVRP interface handles HDD access.

    Even with these problems, this is a win ! :very_drunk:

    So, anyone regret selling their DESR unit now ? :biggrin-new:
     
  2. sp193

    sp193 Site Soldier

    Joined:
    Mar 28, 2012
    Messages:
    2,217
    Likes Received:
    1,052
    Congratulations on this achievement! :D

    I said that I believed that the minimum is 2GB. I don't even know how high the maximum is, since the code was reverse-engineered.

    A few sizes in 512-byte sectors were observed, depending on the function used to send command 0x683A (SetMaxLba28) to dvr_hdd0:
    1. 0x00400000 (2.0GB)
    2. 0x004017C8 (~2GB)
    2. 0x04A817C8 (40.0GB)
    3. Checks a variable in the input structure, and uses the content of another variable. Probably a custom size?

    To be precise, it's because of a problem with the emulated PS2 ATA interface: It indicates that the attached disk supports 48-bit LBA, and shows the full capacity of the disk via the new 48-bit LBA capacity registers... but accesses to anything above the indicated 28-bit LBA capacity results in errors.
     
    Last edited: Sep 1, 2013
  3. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    Yesterday I got this out of my DESR harddrive:

    It clearly implies a maximum size of 120 GB. (last stuff on the model string is the HDD size)

    Since
    4A817C8x200=9502F9000 (40000000000)
    How about trying:
    DF84758x200=1BF08EB000 (120000000000)
    ?
     
    Last edited: Sep 1, 2013
  4. sp193

    sp193 Site Soldier

    Joined:
    Mar 28, 2012
    Messages:
    2,217
    Likes Received:
    1,052
    Then it's your observation, not mine (I only observed the allowable "PS2 HDD" capacities, from the code within the PSX update disc installer). Not to mention that you're looking at the report made by the HDD unit, and not how high the DVRP would allow.

    But now to think about it, it'll surely be at 137GB at most because it's a requirement anyway (HDDs larger than 137GB are to report themselves as having a 28-bit LBA capacity of 137GB). Of course, this is assuming that the DVRP would allow a setting of 137GB to be set, to begin with. If it only accepted the 40.0GB setting as the largest setting, then that'll be the highest one can set it to.

    If you can dig out more about how this thing can be operated, that'll be great. Especially if there's a way to modify and update the DVRP's firmware. The functions I have provided within the xlibhdd.c file, which comes with the PSXHDDTest project, can be used as a starting point.

    EDIT:
    Sorry, but my time for doing this is basically up, so my priorities are shifting. I wanna do the stuff that I didn't do, before I can't do anything at all.

    You can try this on your own. The code I'm referring to is in xlibhdd.c. I recorded whatever I found out in those files (xlibhdd.c and xlibhdd.h), so whatever I didn't write in there isn't known.
     
    Last edited: Sep 1, 2013
  5. superg

    superg Site Supporter 2013,2014,2015. Tape Drive Donor.

    Joined:
    May 30, 2012
    Messages:
    1,041
    Likes Received:
    345
    Good job!
    I am definitely gonna try this after I'll fix laser assembly (bought KWS-220A, looks like it's very similar to KWS-200A, same pins count, maybe I'll fit it somehow)
     
  6. TriMesh

    TriMesh Site Supporter 2013-2017

    Joined:
    Jul 3, 2008
    Messages:
    2,324
    Likes Received:
    750
    Congratulations - a very nice piece of work. Based on this, how similar is the execution environment between the PSX and the PS2?
     
  7. sp193

    sp193 Site Soldier

    Joined:
    Mar 28, 2012
    Messages:
    2,217
    Likes Received:
    1,052
    All the best to you with getting that done!

    It's supposed to be 100% compatible, in order for PlayStation 2 games to run on it. However, compatibility with homebrew applications may be a little worse, since some stuff within the boot ROM of retails (e.g. rom0:FONTM) that Sony obviously didn't intend anyone from the outside to use, are missing. It depends on what the homebrew software uses. The IOP modules used by homebrew software in general are all present, from what I remember.

    However, the PSX hardware is a little more powerful than the retail PlayStation 2. It has 64MB of EE RAM and 7MB of IOP RAM.

    The EE kernel of the PSX has got additional syscalls implemented as well, and it seems like some of the (unused?) syscalls were removed.
     
  8. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    I think it's 8MB of IOP RAM like a TOOL (4x OKI EDO RAM chips of the same kind the TOOL has on it's board)...
     
  9. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    Another discovery...

    Apparently if you catapult launching a PS2 bootable game from the HDD the unit enters in a "special PS2 mode" which COMPLETELY DISABLES AND BYPASSES the DVR laser. :stupid:

    So, with a faulty DVDR optical pickup which cannot read DVD discs at all I am installing FFXI on it right now:
    [​IMG]

    Now, ain't that exciting ?
     
  10. fresh

    fresh Spirited Member

    Joined:
    Jul 15, 2012
    Messages:
    131
    Likes Received:
    0
    Hi!

    How cool is that?
    :congratulatory:

    Nice to see you don't have wasted time.
    Keep on rocking!


    Rgds.
     
    Last edited: Sep 3, 2013
  11. tichua

    tichua Site Supporter 2012,2013,2014,2015

    Joined:
    Feb 5, 2008
    Messages:
    489
    Likes Received:
    19
    Great job, would it be possible if you create a tutorial on how to get it done l_oliveira ?
     
  12. defor

    defor Intrepid Member

    Joined:
    Feb 10, 2008
    Messages:
    629
    Likes Received:
    6
    very nice.
    now i want a psx again- any chance you can slap together (or farm out to an enterprising individual) a nice monochrome icon to match the existing xmb icons? I'd make one up if there were samples of some of the other icons i could work with...
     
  13. vash32

    vash32 Spirited Member

    Joined:
    Jun 19, 2012
    Messages:
    186
    Likes Received:
    5
    Owning a PSX just got batter then before! Mmm.. I'm sure you can also get a PSone/POPS game working the same way you got OPL on it, love to play BB3 on my PSX, XD
     
  14. Mugi

    Mugi Site Supporter 2013,2014,2015

    Joined:
    Mar 13, 2009
    Messages:
    519
    Likes Received:
    17
    you never cease to amaze me :p

    now i wish i'd have bought that DESR when i had the chance -_-
     
  15. DefectX11

    DefectX11 Familiar Face

    Joined:
    Mar 20, 2012
    Messages:
    1,237
    Likes Received:
    0
    Watch the prices go way up now.

    This is too cool. Looks like I'm gonna keep my unit and hold off on saving for a PS4 for now.


    here's a silly question, but can we get the more slightly more powerful hardware working for us in terms of screen resolution and overall game quality? Or is it just not a significant enough bump to do so?
     
  16. sp193

    sp193 Site Soldier

    Joined:
    Mar 28, 2012
    Messages:
    2,217
    Likes Received:
    1,052
    Unfortunately, we don't know yet whether it has more VRAM to allow that (There isn't a known way to determine the amount of available VRAM).

    Since it does have more EE RAM, you can do more stuff with it like buffering more data. You'll be able to store more high-quality textures without streaming the data from the IOP (Probably would have helped games like the Champions of Norrath to reduce lag, if the retail had that amount of memory that was usable).

    But no, the graphical performance won't increase much unless it does have more VRAM than a retail has.

    But either way, please take note that even though the PSX has more RAM than a retail PlayStation 2 has, no game will ever take advantage of it because they were built to assume that the console has only 32MB of EE RAM, 2MB of IOP RAM and 4MB of VRAM.
     
    Last edited: Sep 5, 2013
  17. HI_Ricky

    HI_Ricky Intrepid Member

    Joined:
    Jun 7, 2007
    Messages:
    650
    Likes Received:
    187
  18. LeHaM

    LeHaM Site Soldier

    Joined:
    May 5, 2013
    Messages:
    2,634
    Likes Received:
    292
    I would love to try this on my 5500, is it booting off an MC or HDD?
     
  19. AKuHAK

    AKuHAK Spirited Member

    Joined:
    Jul 25, 2012
    Messages:
    172
    Likes Received:
    46
    At least in theory this can speed up ps2linux. does anybody tried it (or BBNAV) on DVR?
     
  20. svotib

    svotib Site Supporter 2013, 2014

    Joined:
    Apr 3, 2012
    Messages:
    132
    Likes Received:
    10
    Great job, I'm proud of you guys!!!
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page