Resetting the computer

Discussion in 'Sega Discussion' started by everett1911, Oct 22, 2010.

  1. everett1911

    everett1911 Robust Member

    Joined:
    Jul 30, 2008
    Messages:
    232
    Likes Received:
    2
    I always wondered, what are the bits and tricks that made it possible in X-Men to push the reset button on the sega genesis without rebooting the console?
     
  2. Bomberhead

    Bomberhead Gutsy Member

    Joined:
    Oct 18, 2010
    Messages:
    473
    Likes Received:
    2
  3. everett1911

    everett1911 Robust Member

    Joined:
    Jul 30, 2008
    Messages:
    232
    Likes Received:
    2
  4. Bomberhead

    Bomberhead Gutsy Member

    Joined:
    Oct 18, 2010
    Messages:
    473
    Likes Received:
    2
    Part two had some Meta type stuff too. Like skipping the intro going straight into the action.
     
  5. everett1911

    everett1911 Robust Member

    Joined:
    Jul 30, 2008
    Messages:
    232
    Likes Received:
    2
    Yeah I know but that's besides the topic. I want to know exactly how such a trick was possible.
     
  6. mooseblaster

    mooseblaster Bleep. Site Supporter 2012, 2014

    Joined:
    Aug 27, 2006
    Messages:
    1,568
    Likes Received:
    4
    Because the reset button is not a 'hard' reset of the console but a call sent to the software, IIRC.
     
  7. Barc0de

    Barc0de Mythical Member from Time Immemorial

    Joined:
    Oct 29, 2005
    Messages:
    11,205
    Likes Received:
    23
    yeap, same with the Gamecube and n64. If you remember, the n64 had different transitional reset effects depending on the game, others went straight to black, others had more elaborate ways of cutting the action. Supposedly though in the SDK of each console it clearly states that the soft reset command must be present in the final product and in this case it might not be nothing more than an omission.
     
  8. everett1911

    everett1911 Robust Member

    Joined:
    Jul 30, 2008
    Messages:
    232
    Likes Received:
    2
    I remember forsaken on the n64 had a fancy reset effect.
     
  9. Calpis

    Calpis Champion of the Forum

    Joined:
    Mar 13, 2004
    Messages:
    5,906
    Likes Received:
    21
    Reset on many systems is connected to the reset input on the CPU (Sometimes it's connected to NMI or just another digital input for the software to service). This input triggers program execution to be forced to the reset vector (the start of program) and the game will be reinitialized. Because reset isn't related to power ("hard resets") memory persists through resets and a game can set a flag telling the reset code to do something else rather than following the normal initialization (which would wipe the game state). Typically you cannot restore the game to its original state before you pressed reset in software alone, this is because the reset signal may initialize registers and flags and the program counter is lost. So in other words a game could bring you back to the start of a level after resetting or specifically design some game events to use it, but it can't be used as a "jump button" for example (if reset is connected to the CPU's reset).
     
  10. TmEE

    TmEE Peppy Member

    Joined:
    Aug 13, 2008
    Messages:
    362
    Likes Received:
    1
    Calpis nailed it...

    On MD you can differentiate between soft and hard(bootup) reset, and if your program takes it into accont, lot of fun can be had :p
     
  11. MottZilla

    MottZilla Champion of the Forum

    Joined:
    Feb 1, 2006
    Messages:
    5,066
    Likes Received:
    102
    You can also do the player a big favor and skip any annoying company logos or copyright/legal screens you forced them to wait for the first time. I also seem to remember some game that if you reset a number of times would do interesting things. Can't really remember what it was though. You could hide things in your game that require the system to be reset a number of times first like maybe as the first part of a secret cheat or debug menu.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page