[PS2] POPS stuff & POPStarter

Discussion in 'Sony Programming and Development' started by krHACKen, Apr 9, 2013.

  1. ps2netbox

    ps2netbox Spirited Member

    Joined:
    Dec 26, 2017
    Messages:
    116
    Likes Received:
    93
    This already solve my problem . I think .

    In ps2netbox/ps2usb , there is OPL in flash on board. User can also copy a newer version to memory card .
    If opl on memory card is newer than flash , I use ee_core original code for igr .
    If no opl is found on moemory card or is older than flash version , I write a new igr handle . Which only call execps2 once ( at launch my opl ) .
    Some user said ,igr to flash is not as stable as igr to memory card .


    Is it better call execps2 immediately after igr thread is wokeup ?
     
    Last edited: Jan 21, 2018
    AlGollan84 likes this.
  2. sp193

    sp193 Site Soldier

    Joined:
    Mar 28, 2012
    Messages:
    2,217
    Likes Received:
    1,052
    It may be possible to have a simpler method, but you need to provide your own code that does all initialization. Since we do not wish to increase the code size, we just use ExecPS2().

    Perhaps it is. But the ExecPS2 syscall will not reset the TLB on its own either, which is why we have additional code for that.
    If you do not reset the TLB and the game has changed the memory map, it is possible that the loader will crash.

    In late official PlayStation 2 software, ExecPS2() is replaced with a wrapper that reinitializes TLB before calling the real ExecPS2 syscall. TerminateLibrary exists here.

    This design of the current OPL IGR mechanism is to prepare a clean EE & IOP state for the loader to run, before actually running the loader.
     
    AlGollan84 likes this.
  3. ps2netbox

    ps2netbox Spirited Member

    Joined:
    Dec 26, 2017
    Messages:
    116
    Likes Received:
    93
    I will try to make a dirty IOP state ,since I must load file from hardware.
    Thank you very much !
     
    AlGollan84 likes this.
  4. sp193

    sp193 Site Soldier

    Joined:
    Mar 28, 2012
    Messages:
    2,217
    Likes Received:
    1,052
    You do not have to change that part. Just load your drivers at the part where it loads the memory card drivers, and SifLoadElf will support your custom hardware.
     
    AlGollan84 likes this.
  5. ps2netbox

    ps2netbox Spirited Member

    Joined:
    Dec 26, 2017
    Messages:
    116
    Likes Received:
    93
    I tried to use sifloadelf ,but it failed .
    So I use custom rpc to read from flash . It worked .

    After I add a call immediately after igr thread woke up . It seems igr works more stable ;)
     
    AlGollan84 likes this.
  6. Vedita BR

    Vedita BR Rising Member

    Joined:
    Aug 28, 2015
    Messages:
    70
    Likes Received:
    32
    Some games don't work as spected with HDTV Fix. FIFA Soccer 2004 is an example, my tv shows "not supported" when the game is running, a workaround for that is use standalone GSM.
     
  7. AlGollan84

    AlGollan84 Spirited Member

    Joined:
    Jul 16, 2013
    Messages:
    170
    Likes Received:
    22
    Bonjour à vous tous.

    @Vedita BR, je confirme que certains jeux PS1 ne fonctionnent pas ou mal avec la fonctionnalité HDTV de POPStarter, mon équipe et moi-même n'en avons testé que quelques-uns mais les résultats sont là (sur les listes). D'autres jeux n'ont aucune réaction positive, rien ne change, pas d'écran large (16/9).

    Bien cordialement à vous tous.
     
  8. ps2netbox

    ps2netbox Spirited Member

    Joined:
    Dec 26, 2017
    Messages:
    116
    Likes Received:
    93
    Does GSM work with popstarter/POPS ? or this is an idea ?
     
  9. DaSA

    DaSA Robust Member

    Joined:
    Feb 23, 2013
    Messages:
    231
    Likes Received:
    153
    Yes, it works.
     
  10. Jolek

    Jolek Spirited Member

    Joined:
    Jan 18, 2016
    Messages:
    120
    Likes Received:
    165
    @englishl1989 any news about new release of PSXVCD?

    Is there any chance for beta tests?
     
    AlGollan84 likes this.
  11. manuelink64

    manuelink64 Member

    Joined:
    Oct 9, 2013
    Messages:
    5
    Likes Received:
    0
    Hi Julian!
    I tried to compile this version on Lubuntu 17.10, but give me a lot of errors / warnings and don't compile anything.:(

    [​IMG]

    there is a special trick to compile your program??:confused:
    regards!
     
  12. uyjulian

    uyjulian Rising Member

    Joined:
    Jul 22, 2016
    Messages:
    54
    Likes Received:
    28
    Try making the definitions the same (s/s64/long long/g)
     
  13. manuelink64

    manuelink64 Member

    Joined:
    Oct 9, 2013
    Messages:
    5
    Likes Received:
    0
    I'm a bit very oxidated with my programing skills :oops:
    where the definitions are located ("iomanX.h" maybe)?
    about the "same", you refer a the same kind of variable?
    and what kind of variable?

    HALP!!!:eek:
    thanks in advance;)
     
  14. uyjulian

    uyjulian Rising Member

    Joined:
    Jul 22, 2016
    Messages:
    54
    Likes Received:
    28
    In ../fake_sdk/include/iomanX.h, go to line 184, and change any occurances of s64 in that line to long long.

    Find the occurrence in iomanX.c and do the same
     
  15. manuelink64

    manuelink64 Member

    Joined:
    Oct 9, 2013
    Messages:
    5
    Likes Received:
    0
    Done!

    I did can go a further steps, but i get other error, this is the compiler output

    HALP!!:eek:
     
  16. uyjulian

    uyjulian Rising Member

    Joined:
    Jul 22, 2016
    Messages:
    54
    Likes Received:
    28
    I'll take a look at it myself later.
     
  17. manuelink64

    manuelink64 Member

    Joined:
    Oct 9, 2013
    Messages:
    5
    Likes Received:
    0
    I will keep my eye on this;)
     
  18. kHn

    kHn Rising Member

    Joined:
    Oct 11, 2017
    Messages:
    56
    Likes Received:
    189
  19. maxstyle

    maxstyle Member

    Joined:
    Nov 18, 2015
    Messages:
    23
    Likes Received:
    3
    Could you give patch 0x07 open cheat code?
     
  20. Jolek

    Jolek Spirited Member

    Joined:
    Jan 18, 2016
    Messages:
    120
    Likes Received:
    165
    You mean:
    Code:
    $COMPATIBILITY_0x07
    for "CHEATS.TXT"?
     
    UniqueUserName likes this.
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page