Demo autoreset PlayStation [w/ video]

Discussion in 'Sony Programming and Development' started by Naitoraven951, Mar 13, 2016.

  1. Naitoraven951

    Naitoraven951 Active Member

    Joined:
    Jun 8, 2014
    Messages:
    37
    Likes Received:
    4
    Hi guys, how are you? :)
    I have a small question to ask yourself .
    A console can be reset without pressing the reset button ?
    Because I have tried the Rayman 2's demo and it did! (precisely the demo is the SCED 02636 - euro demo 62)
    Really amazing, I search the files in the TOC and in the " RAYMANII " folder there is a file called PSX.EXE .
    [​IMG]

    [​IMG]
    So, it's normal or what :p?
    There are other demo or similar games with this "function"?
    Thank you in advance :)
    Here's the video :
     
  2. WorldGenesis

    WorldGenesis irc.worldgenesis.net

    Joined:
    May 12, 2007
    Messages:
    127
    Likes Received:
    29
    Interesting! :O

    Perhaps some PSX.EXE have different modes they can reboot into. (No full reboot/full reboot, direct menu access, etc)
     
  3. Naitoraven951

    Naitoraven951 Active Member

    Joined:
    Jun 8, 2014
    Messages:
    37
    Likes Received:
    4
    Hi WorldGenesis!
    Thank you for the comment. Oh yeah? That's awesome :)!
    This PSX.EXE is so common, maybe in some old games like Ridge Racer is much present.
    Another games with an autoreset is the demo of rollcage stage II (thank ericorsio for the info).
    And i think is the most strange things happened with my PS1 :p
     
  4. smf

    smf mamedev

    Joined:
    Apr 14, 2005
    Messages:
    1,255
    Likes Received:
    88
    Yes. Demos were officially supposed to just exit though. It may be that in some circumstances Sony's menu decided to reboot, or the demo may have done it against Sony's advice.

    Just jumping to bfc00000 should do it.

    Most computers, consoles etc can be reset programmatically.
     
    gwald likes this.
  5. Gemini

    Gemini Retro developer

    Joined:
    Apr 1, 2008
    Messages:
    406
    Likes Received:
    88
    I suspect it may be caused by the engine being incapable of restoring machine settings to a boot state, so they tried the easiest route and simply made it go straight to the BIOS screen. In some cases it's the only way to restore the console, especially when you're using advanced tasks.
     
    gwald likes this.
  6. Trident6

    Trident6 Spirited Member

    Joined:
    Oct 17, 2015
    Messages:
    119
    Likes Received:
    55
    DsReset() was the preferred way to soft reset the system and reload the root executable IIRC. Given that Rayman was an early title it may not have been supported by the early SDKs, or possibly they just wrote their own execption handler to force-reset the system instead. It isn't a code path that gets much attention in most games so I imagine it was something they wrote early on and never bother to change.

    I don't have much experience with the demo disk formats but usually there was a parent executable that served as the splash screen/loader, which then called Load() and Exec() to fork into a child process once the CDROM was initialized. The system was too memory constrained to keep much info about the state of the parent process, but I think you could in theory go back to the parent executable by using the Start/Stop/ResetCallback() functions correctly and exiting cleanly. I never tried it however. I seem to recall most demos going back to their own title screen, but I could be wrong.
     
  7. Naitoraven951

    Naitoraven951 Active Member

    Joined:
    Jun 8, 2014
    Messages:
    37
    Likes Received:
    4
    Sorry for the big delay !
    My router was broken...so no internet connection :(.
    That's great, so it's possibile to reset the PS Console without the reset button. So, amazing stuff!
    Plus, when the games has resetting the console, the sled motor of my laser was really strange. It's going to the right , after to the left and finally double speed with PlayStation Logo.
     
  8. Gemini

    Gemini Retro developer

    Joined:
    Apr 1, 2008
    Messages:
    406
    Likes Received:
    88
    Technically the BIOS also has a function called WarmBoot which does a full reboot, but skips the logo animation and simply reloads whatever was in memory without bothering too much to look for a different SYSTEM.CNF.
     
  9. Naitoraven951

    Naitoraven951 Active Member

    Joined:
    Jun 8, 2014
    Messages:
    37
    Likes Received:
    4
    Wow, thanks Gemini!
    Another italian here :D.

    (only italian)
    Cavolo è bello sentire qualche italiano su assemblergames...specialmente Gemini, accidenti!!
    Sono commosso e onorato allo stesso tempo :)!


    Quindi, BIOS ha una funzione di boot che permette di resettare a caldo la Console!
    Mi chiedo, quindi cosa succederebbe se evitassi il reset della console...cioè voglio dire : sarebbe fatale per il normale funzionamento della console da mandare in crash la CPU o chissà cosa :) !
     
  10. Gemini

    Gemini Retro developer

    Joined:
    Apr 1, 2008
    Messages:
    406
    Likes Received:
    88
    If you keep the same disc inserted, there are no ill effects. Still, it's not recommended to use that function since it assumes you aren't swapping media for something else, which would cause the boot to fail entirely with a black screen.
     
    Naitoraven951 likes this.
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page