Forum: Crystal Chip - Posts about the Crystal Chip mod go in here.


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: Video issuses - fixed with 2.0?
  

Results 1 to 9 of 9
  1. #1 Video issuses - fixed with 2.0? 
    Katagia is offline Member
    Join Date
    Jun 2006
    Posts
    54
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Hi

    With current stable release v1.9 I have video issues with some homebrew
    apps, e.g. myPS2.
    I use PAL.
    The problem is colors are wrong. Blue is orange and so on.
    I think instead of PAL NTSC is used.
    I tried all settings in bootmanager to fix those problems.

    Are there some changes in video mode handling with 2.0 so
    I have chances to get it to work?

    Cheers,
    Reply With Quote  

  2. #2  
    Jones23's Avatar
    Jones23 is offline 2 3 your mind...
    Join Date
    Jun 2005
    Location
    Germany
    Posts
    1,175
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    Strange. Never heard of such wrong colors. NTSC on a PAL tv shouldn't have any colors at all.
    Give it a try with latest release 24. Maybe it solves your prob.

    best regards Jones23
    PS2 PAL SCPH-70004 v12, HDCombo, IDE HDD 80GB
    CrystalChip 2.1, CC Software R34 modified v2
    Tutorials: CC Wiki
    Homebrew: LaunchELF v4.40, SMS 2.9(Rev.4)

    Best German Console Scene Site: ModControl.com
    Reply With Quote  

  3. #3  
    Katagia is offline Member
    Join Date
    Jun 2006
    Posts
    54
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Well I think my TV set displays the colors wrong when NTSC is used.
    So for some reason some apps use NTSC instead of PAL and the
    fix commands won't help.
    Reply With Quote  

  4. #4  
    CrystalChip's Avatar
    CrystalChip is offline Member
    Join Date
    Dec 2004
    Posts
    299
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    I assume you have a v14 console. As of v14, Sony has started using a special BIOS ROM chip which combines all regions into the same chip. The problem is that the way some homebrew applications detect the console region(and determine what video mode to use) no longer works because they always see the console as Japanese. This is not something that we can fix, you will need to hack the application itself to resolve this issue or contact the author(s).
    Reply With Quote  

  5. #5  
    Katagia is offline Member
    Join Date
    Jun 2006
    Posts
    54
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Yes, I have a V14 console. Thank you for that information.
    That explains many things.
    So when I get an application with sourcecode I can patch it
    myself and force PAL?

    Cheers,
    Reply With Quote  

  6. #6  
    CrystalChip's Avatar
    CrystalChip is offline Member
    Join Date
    Dec 2004
    Posts
    299
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Yes, in fact you can patch existing applications to force PAL if you know a bit of MIPS assembler and have a disassembler. The code, in C, will look something like: if(*(u8 *) (0x1FC7FF52) == 'E') { vmode = PAL; }

    The problem is that this byte in the BIOS at 0x1FC7FF52 is always "J".
    Reply With Quote  

  7. #7  
    Katagia is offline Member
    Join Date
    Jun 2006
    Posts
    54
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Thanl you. I've taken a look at the code of myPS2 and found
    your example code.
    Is it possible to change the bios register to "E"?

    Can you tell my a mips (dis)assembler to use?
    I use linux and I have installed the mips-linux cross compile
    package. I tried mips-linux-objdump. It was able to recognize the
    file but didn't output the assembler code.

    In the asm file I just have to find the address of the register and
    change the jump commands after it?

    /Edit

    I've downloaded ps2dis and tried to search for the mention hex address.
    I was not able to find it. Can't I just search for the hex string?
    Last edited by Katagia; 07-20-2006 at 07:30 AM.
    Reply With Quote  

  8. #8  
    CrystalChip's Avatar
    CrystalChip is offline Member
    Join Date
    Dec 2004
    Posts
    299
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    The BIOS is a ROM(Read-Only Memory) which means that you can't change anything in it.

    ps2dis should be adequate for your needs. Using the unpacked BOOT.ELF included in the uLE package you can do:

    1. Search for "52 FF"
    2. This show this line: lb v1, $1fc7ff52
    3. Look in the top hex-view window and write down the highlighted byte and the 7 that follow it.
    4. Edit Line Attributes and for command change it to: ori v1, zero, $45
    5. Look in the top hex-view window and write down the highlighted byte and the 3 that follow it.
    6. Open the ELF in a hex-editor program and search for the 8 bytes you wrote down. Change the first 4 bytes to the 4 bytes you wrote down after changing the "command".

    I hope that helps, unfortunately that's as much help as I can give you on this issue.
    Reply With Quote  

  9. #9  
    Katagia is offline Member
    Join Date
    Jun 2006
    Posts
    54
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Sounds great, thank you.
    I think one mistakte I did was to use a compressed
    ELF file.
    I will take a look about this tomorrow.
    Thank you for your help.
    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
  •