Forum: Official GS Mode Selector Forum - Discuss GS Mode Selector in this forum.


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

Like Tree175Likes

Thread: GS Mode Selector: Development & Feedback
  

Page 3 of 274 FirstFirst 1 2 3 4 5 13 53 103 ... LastLast
Results 21 to 30 of 2732
  1. #21  
    doctorxyz's Avatar
    doctorxyz is offline I'm just a modest sorcerer's apprentice!
    Join Date
    May 2007
    Posts
    1,092
    Downloads
    2
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    7 Thread(s)
    Likes Given
    126
    Likes Received
    206
    Hello everybody,

    Master PM some hints... So as a limited sorcerer's apprentice I am studying them (respecting my time and skill limits)... Well, patience is everything!

    -x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x

    I opened PS2ZoneLoader's "bootmaster.elf" on PS2DIS and discovered n useful labels.

    So I picked up opcodes from some labeled functions and looked similar for hex sequences into HDLoader ELF file.

    I was surprised that MIPS assembly source code from both (PS2ZoneLoader and HDLoader) are identical in some functions - for instance, "memcpy" and "findSyscallTable". Note that using these HDLoader's functions could make my code smaller.

    I intend to mod "installPNSelector", "installDebugExceptionHandler", "myGsSetCrt" functions from PS2ZoneLoader, and inject them some address on HDLoader ELF.

    But I still do not know where is the best place.

    Maybe I need to sacrifice some HDLoader GUI message data area to put those. Or maybe not. It depends on the result of my research.

    Suggestions are welcome!
    Last edited by doctorxyz; 08-08-2009 at 10:42 AM. Reason: English language corrections, more info
    doctorxyz's PS2 & PS3 stuff: (http://psx-scene.com/forums/f257/doctorxyzs-ps2-ps3-stuff-101348/)
    Reply With Quote  

  2. #22  
    jepjepjep is offline Registered User
    Join Date
    Jul 2009
    Posts
    2
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    I really hope you get this to work doctorxyz. Since I can't be of any technical help, I just thought I would post to cheer you on.
    Reply With Quote  

  3. #23  
    dlanor is offline Member
    Join Date
    Sep 2004
    Location
    Sweden
    Posts
    10,107
    Downloads
    5
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    2 Thread(s)
    Likes Given
    0
    Likes Received
    126
    Quote Originally Posted by doctorxyz View Post
    I was surprised that MIPS assembly source code from both (PS2ZoneLoader and HDLoader) are identical in some functions - for instance, "memcpy" and "findSyscallTable".
    There's really nothing surprising about it.

    Though HDLoader eventually became a commercial project, it started out as any other homebrew project, and I assume that Sjeep used the standard ps2dev.org libs throughout, except for those sections he had to code entirely himself, as being unique to HDL needs.

    Standard functions like those you mentioned here will be fully identical for all homebrews using the same generation of ps2dev libs, except for minor deviations in compile-time register assignments (also affected by optimization settings).

    Best regards: dlanor
    Reply With Quote  

  4. #24  
    doctorxyz's Avatar
    doctorxyz is offline I'm just a modest sorcerer's apprentice!
    Join Date
    May 2007
    Posts
    1,092
    Downloads
    2
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    7 Thread(s)
    Likes Given
    126
    Likes Received
    206
    @all
    Work in progress... I embeed PS2ZoneLoader core into a byte array and I trying to make my testing ELF install and activate it, letting user decide to force NTSC/PAL/VGA modes before launch uLE from mc. If this test succeed, I go further to launch HDL from mc (of course, without destroying my force GS Mode routine).

    @jepjepjep
    Quote Originally Posted by jepjepjep View Post
    I just thought I would post to cheer you on.
    Thanks for your encouragement words.

    @dlanor
    Quote Originally Posted by dlanor View Post
    Though HDLoader eventually became a commercial project, it started out as any other homebrew project, and I assume that Sjeep used the standard ps2dev.org libs throughout, except for those sections he had to code entirely himself, as being unique to HDL needs.
    I found this on Net
    "(...) About 5% of the HDLoader code is made up of open source code from ps2dev.org including ps2lib, libhdd, ps2drv etc
    (all of which I have had a part in the development of anyway) (...)"
    Source: "Hdloader - The Real Story"(by malloc) -> http://www.maxconsole.net/?mode=news&newsid=3249
    Last edited by doctorxyz; 08-12-2009 at 10:58 AM. Reason: More info
    doctorxyz's PS2 & PS3 stuff: (http://psx-scene.com/forums/f257/doctorxyzs-ps2-ps3-stuff-101348/)
    Reply With Quote  

  5. #25  
    doctorxyz's Avatar
    doctorxyz is offline I'm just a modest sorcerer's apprentice!
    Join Date
    May 2007
    Posts
    1,092
    Downloads
    2
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    7 Thread(s)
    Likes Given
    126
    Likes Received
    206
    Friends,
    I got it!!! Now I must make some improvement and clean up on code. Soon I will post more info here.
    BR,
    doctorxyz's PS2 & PS3 stuff: (http://psx-scene.com/forums/f257/doctorxyzs-ps2-ps3-stuff-101348/)
    Reply With Quote  

  6. #26  
    TnA's Avatar
    TnA
    TnA is offline Member
    Join Date
    Apr 2005
    Location
    Germany
    Posts
    4,580
    Downloads
    0
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    12
    Likes Received
    30
    Wow. That was fast.
    You got InGame-V-Mode-Force to work??

    Btw.: The V-Mode-Patch (in HDL) for other modes than PAL & NTSC alone, is worth a new patch.
    PS2 V7/DMS3 V2 (FW:2.4b7); Seagate Baracuda 200GB
    PS2 V7/CC1.0 (FW:34 hacked v2 BM:2.1.6); Maxtor DiamondMAX9 PLUS 160GB
    PS2 SCPH-30004R; NoMod+NoLaser

    3xSony BBA
    3xSony MC 8MB
    MAX/Datel 16MB with Boot-CD
    MAX/Datel 32MB&64MB

    Custom FMCB 1.8b+ Beta-Build, my AIO 0.5, Sony&xRhino-Linux
    Reply With Quote  

  7. #27  
    doctorxyz's Avatar
    doctorxyz is offline I'm just a modest sorcerer's apprentice!
    Join Date
    May 2007
    Posts
    1,092
    Downloads
    2
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    7 Thread(s)
    Likes Given
    126
    Likes Received
    206
    Quote Originally Posted by TnA View Post
    You got InGame-V-Mode-Force to work??
    Last night I got GT4 start on HDTV 1080p 30 Hz mode (since it was just a proof of technology test, I was not worried about interlace on/off and field/frame parameters... I was worried abot that this stuff work!)

    Quote Originally Posted by TnA View Post
    Btw.: The V-Mode-Patch (in HDL) for other modes than PAL & NTSC alone, is worth a new patch.
    Certainly. But in HDL I first most unterstand how to hook setupthread correctly. Because should force GS mode only after boot games, and not before that. The ideal situation was that I could select specific parameters for each game in HDL GUI (like a compatibility mode). But I am afraid I cannot all this stuff alone.

    -x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-

    Quotes originally from http://www.psx-scene.com/forums/show...6&postcount=13

    Quote Originally Posted by TnA View Post
    It would be interesting for the OSD first.
    -Configureable x&y-axis
    -Configurable Stretching
    -Configurable Interleacing, or at least a mode-choice for all vga and hdtv-modes would be cool and possible.
    Yes, I would like evolve my OSD part, using PAD buttons to setup
    -x&y-axis -> DX and DY
    -Stretching -> MAGH and MAGV
    -Interlacing -> Interlace on/off
    -Frame/Field -> Frame/Field -> Frames Per Second has twice Hz frequency than Field ones (I suppose)
    - GS Modes (all possible)

    Quote Originally Posted by TnA View Post
    Or at least a mode-choice for all vga and hdtv-modes would be cool and possible.
    A set of pre-defined choices could be a good idea. Since many people do not understand all these parameters settings... Me, for example... ;-)

    Quote Originally Posted by TnA View Post
    I donīt know if it will still match the loader with the current compression (with NRL it should match and I didnīt saw any strange results, while my loader-tests with it...).
    What does "NRL" stands for?

    Quote Originally Posted by TnA View Post
    The other way around, there is only the choice for a bigger dvdelf (but for an official FMCB-release, there MUST be a small loader available so a choice in the installer for big or small-loader must be there, IF it would need a bigger dvdelf...
    (If I understood you well) I think the core part is not so much bigger.
    Since I am not a good coder and new into psx-scene, it could be a much more better idea share my sources to some of FCMB contributors to inject GS Force Mode code in a better way to FCMB.

    Quote Originally Posted by TnA View Post
    Simple idea: If the dvdelf, which the installer found [be it in ROM, or from INJECT-Folder] offers enough space to embed the big-loader, it request wether to install the big, or the small loader after the user selected one of both installer-options [multi- or normal-install].).
    I did not undertand so much what you wrote above... Are those all FCMB's terminologies? Would you mind to give a complementary explanation?

    Quote Originally Posted by TnA View Post
    Btw.: I hope your thread/project continues, so we can have perfect fullscreen and "high-res" for games, homebrew and maybe other stuff... on most if not all possible combinations of console-/cable-/tv-sets.
    I would be very happy to acomplish that...! But it is hard, due to my restrictions of time - I have a family and a job ;-) - and knowledge - I am just trying to learn the answers for my questions.
    doctorxyz's PS2 & PS3 stuff: (http://psx-scene.com/forums/f257/doctorxyzs-ps2-ps3-stuff-101348/)
    Reply With Quote  

  8. #28 Sharing some thoughts and ideas 
    doctorxyz's Avatar
    doctorxyz is offline I'm just a modest sorcerer's apprentice!
    Join Date
    May 2007
    Posts
    1,092
    Downloads
    2
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    7 Thread(s)
    Likes Given
    126
    Likes Received
    206
    Hi,

    I want to accomplish at least PHASE 1 from my TO DO" list (could be changed), before launch a minimal and acceptable release.

    PHASE 1
    a) Make my own myGsSetCrt function (let's call it "ModdedSetGsCrt"), based on original one from PS2ZoneLoader:
    --> Add Interlace, Mode and Field input parameters directly on its opcodes.
    --> Re-compile it.
    --> Take its opcodes.
    --> Put this function into a byte array on a C specific file.

    b) Improve InstallGSModeSelector
    --> Copy ModdedSetGsCrt to Kernel RAM Area, right after PS2ZoneLoader core
    --> Store Interlace, Mode and Field input parameters directy into ModdedSetGsCrt opcodes.

    PHASE 2
    Test yposHandler "as is" with many values, in order to have sure that ypos fix really work.

    PHASE 3
    a) Make my own yposHandler function (let's call it "DisplayHandler"), based on original one from PS2ZoneLoader:
    - Add DX, DY, MAGH and MAGV input parameters directly on its opcodes.

    b) Improve InstallGSModeSelector
    --> Copy DisplayHandler to Kernel RAM Area, right after PS2ZoneLoader core and ModdedSetGsCrt.
    --> Store DX, DY, MAGH and MAGV parameters directy into DisplayHandler opcodes.

    PHASE 4
    Improve DisplayHandler
    a) Add automatic fix for MAGH and MAGV values, based on
    ----> DW and DH ones (these are also trapped by handler, so we can use it)
    ----> Interlace, Mode and Field input parameters (previously stored on ModdedSetGsCrt opcodes)

    PHASE Z (Alternate / Advanced)

    From a set of pre-defined and/or custom list, choiced by users on a GUI (like Xploder HDTV Player, but better), give Magic Numbers to setup parameters to ModdedSetGsCrt (Interlace, Mode and Field) and DisplayHandler (DX, DY, MAGH and MAGV).

    Maybe, on the future I can use some of precious hints from ffgriever (hook setupthread, etc.) to activate patch only after an game be selected from HDL list.
    I already compiled some documentation about how do it, but I am not prepared to do it yet... It is much information to my limited mind... ;-)
    doctorxyz's PS2 & PS3 stuff: (http://psx-scene.com/forums/f257/doctorxyzs-ps2-ps3-stuff-101348/)
    Reply With Quote  

  9. #29  
    TnA's Avatar
    TnA
    TnA is offline Member
    Join Date
    Apr 2005
    Location
    Germany
    Posts
    4,580
    Downloads
    0
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    12
    Likes Received
    30
    Quote Originally Posted by doctorxyz View Post
    Last night I got GT4 start on HDTV 1080p 30 Hz mode (since it was just a proof of technology test, I was not worried about interlace on/off and field/frame parameters... I was worried abot that this stuff work!)
    I hope to see your efforts there.
    May the project continue.

    Certainly. But in HDL I first most unterstand how to hook setupthread correctly. Because should force GS mode only after boot games, and not before that. The ideal situation was that I could select specific parameters for each game in HDL GUI (like a compatibility mode). But I am afraid I cannot all this stuff alone.


    -x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-

    Quotes originally from http://www.psx-scene.com/forums/show...6&postcount=13
    Hm,... The HDL-Patches might gave some examples how to add such an extra-button in compatibility-Menu.
    But even cooler would be a global option, which can be changed at any time (while in HDL-GUI/Game-List), but maybe even harder.

    But I like the idea very much.
    Iīm sure, there are more people interested in it out there two,...

    Stretching-Capabilities and special V-modes, like PAL60, or 576p would be cool if possible.
    x&y-position also.

    I think many people would like playing their games in high-res (not limited to internal HD, but also USB-HD, or ESR-Discs).
    All efforts here can improve some stuff&projects in the scene.


    Yes, I would like evolve my OSD part, using PAD buttons to setup
    -x&y-axis -> DX and DY
    -Stretching -> MAGH and MAGV
    -Interlacing -> Interlace on/off
    -Frame/Field -> Frame/Field -> Frames Per Second has twice Hz frequency than Field ones (I suppose)
    - GS Modes (all possible)


    A set of pre-defined choices could be a good idea. Since many people do not understand all these parameters settings... Me, for example... ;-)
    That is like it is yet, but a "configurable word" like "PAL", "NTSC" or "AUTO" could be "MANUAL", which let the loader/cnf-parser search for manually defined options.

    What does "NRL" stands for?
    NRL-Packer from Neureal is an ELF-Packer for PS2 64K-Intros.
    It showed some strange results, if tools like uLE where compressed with it.

    The FMCB 1.8-Loader compressed with NRL didnīt gave me any strange results.
    Maybe because FMCB tries to start in a clear state, or because the compressed loader is smaller than 64k, or whatever reasons it have.
    No new issues (which werenīt there with the old compression) to report there yet.

    (If I understood you well) I think the core part is not so much bigger.
    Since I am not a good coder and new into psx-scene, it could be a much more better idea share my sources to some of FCMB contributors to inject GS Force Mode code in a better way to FCMB.
    You can send it to someone, or attach it here simply.
    If I remember correctly, this part of code is identical to FMCB 1.7, but Iīm not sure about it (didnīt looked at it yet).

    I did not undertand so much what you wrote above... Are those all FCMB's terminologies? Would you mind to give a complementary explanation?
    Yes they are.

    The dvdelf.bin is the encrypted DVD-Player from PS2s ROM.
    It is used to generate a valid KELF-Header.
    So we are limited to the filesize of this file and how many code could be injected into a dvdelf.bin.
    Old "FAT" PS2s usually have bigger dvdelfs, while smalls have the 75KB-Mini-DVDPLx (DVDELFs, which are only ~74KB in size and only 60,9KB could be injected...)

    The NRL-Packer packs the normal loader down to 43,4KB, much better than PS2-Packer but how it can conflict with software isnīt known (at least I didnīt had the reported problems, when I only compressed the FMCB-Loader with it... ).

    If the loader which should be embedded crosses the mark of 60,9KB, a bigger DVDELF simply must be used.
    This is wasting space and loading-time on mc, but also gives a huge freedom to expand the loader or embed big ELFs.

    Sorry, to be that short on this part.
    dlanor explained it a few time in detail here and also neme postet some very detailed posts, also how the xoring of the injected code works to create a valid MC-KELF.

    KELF=Krypto ELF (the OSD- or DVD-Player-Upgrades normally...).

    I would be very happy to acomplish that...! But it is hard, due to my restrictions of time - I have a family and a job ;-) - and knowledge - I am just trying to learn the answers for my questions.
    Iīm sure, there are a few people out there willing to help ya and contribute.


    Edit: You "beat" me,... 1 minute.
    Last edited by TnA; 08-14-2009 at 05:53 PM.
    PS2 V7/DMS3 V2 (FW:2.4b7); Seagate Baracuda 200GB
    PS2 V7/CC1.0 (FW:34 hacked v2 BM:2.1.6); Maxtor DiamondMAX9 PLUS 160GB
    PS2 SCPH-30004R; NoMod+NoLaser

    3xSony BBA
    3xSony MC 8MB
    MAX/Datel 16MB with Boot-CD
    MAX/Datel 32MB&64MB

    Custom FMCB 1.8b+ Beta-Build, my AIO 0.5, Sony&xRhino-Linux
    Reply With Quote  

  10. #30  
    urbigbro's Avatar
    urbigbro is offline \m/=(⎝⏠⏝⏠⎠)=\m/
    Join Date
    Apr 2006
    Location
    The beach with great weather year round.
    Posts
    948
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    3
    Alright! Call the doctor, he's got the cure

    Here's another possibility, perhaps Ragnarok could integrate this into the "Dash" functionality he is working on. I haven't seen him on here since the last time this forum went down thought

    Thanks for doing this project doc xyz, hopefully some more of the "big gun" programmers see you efforts and help you out!
    V3, V7, V9 PS2s FMCB 1.8/W custom FREEMCB.CNF , ULE+ICON GUI, HDL .8b childsafe, ESR, OPL beta, Misc. 3.5, & 2.5" HDDs
    PSP 1000
    PS3 60 GB BC compatible

    I Mod Fighting Sticks!!
    My PS2 Mods
    Network Games working w/HDL .8b
    Reply With Quote  

Page 3 of 274 FirstFirst 1 2 3 4 5 13 53 103 ... LastLast
Tags for this Thread

View Tag Cloud

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