Basic Questions and Answers Thread

Discussion in 'Discussion & Q&A' started by Malevolence, Jul 7, 2009.

  1. redhotsonic

    redhotsonic Also known as RHS Member

    Joined:
    Aug 10, 2007
    Messages:
    2,969
    Location:
    England
    You're better off posting a quick video of the glitch, because to be totally honest, I'm not exactly sure what you're trying to demonstrate.
     
  2. Mike B Berry

    Mike B Berry A grandiose return Member

    Joined:
    Jun 6, 2012
    Messages:
    377
    Location:
    New places, newer motivation
    Will do RHS. http://www.youtube.com/watch?v=-kDGtbJkFL0&feature=youtu.be


    When Sonic reaches the top of the screen, he gets deleted. Well this is because of the bottom boundary of the stage detecting the sonic object, so it gets deleted from in the process of the death cycle.


    Keep in mind, the bug that launches Sonic above the boundary and zips him through the stage is fixed.
     
    Last edited by a moderator: Jul 15, 2012
  3. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    [​IMG]


    I'm confused...


    You've discovered a glitch, you've explained why it occurs, etc, but what is it you are "asking" of us? A solution to prevent it? If so, you should come right out and ask, don't leave it all vague, don't leave information out. At this point you haven't actually "asked" a question of any kind, so no one can help when no one can answer a question you haven't asked.
     
    Last edited by a moderator: Jul 15, 2012
  4. Mike B Berry

    Mike B Berry A grandiose return Member

    Joined:
    Jun 6, 2012
    Messages:
    377
    Location:
    New places, newer motivation
    Sonic dies, goes to the top of the screen, and does not come back down. Not trying to sound like an idiot or a dick, but it's the only way of wording it without a false answer.
     
  5. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    No, I understand what's happening, I can clearly see it, and both me and you know why it's happening, the thing I'm confused about is why you're bringing it up here, do you need help preventing it from happening? Do you want advice on the best methods of preventing it? What do you want from us?
     
  6. Mike B Berry

    Mike B Berry A grandiose return Member

    Joined:
    Jun 6, 2012
    Messages:
    377
    Location:
    New places, newer motivation
    Well this makes me feel like shit... Actually yes, I do need help on fixing this. I get the feeling it'll be very simple. But yeah, live and learn.
     
  7. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    OK, at the "GameOver:" routine, you'll find:



    Code:
    		move.w	($FFFFF72E).w,d0
    
    		addi.w	#$100,d0
    
    		cmp.w	$C(a0),d0
    
    		bcc.w	locret_13900


    Change the RAM address FFF72E to RAM address FFF704, this will read the FG's direct Y position, then, change the bcc, to bpl, this will cause it to check for signed rather than unsigned:





    Code:
    		move.w	($FFFFF704).w,d0
    
    		addi.w	#$100,d0
    
    		cmp.w	$C(a0),d0
    
    		bpl.w	locret_13900

    We're always here to help, but we can only answer a question if you ask the question, remember, be clear on what it is you want help with.
     
  8. Mike B Berry

    Mike B Berry A grandiose return Member

    Joined:
    Jun 6, 2012
    Messages:
    377
    Location:
    New places, newer motivation
    Hehe, alright. Next time I will be sure to do just that. But just in case I'd like to bring this back up for the sole purpose of trying to figure a way to make my hack more "Known".

     
    Last edited by a moderator: Jul 15, 2012
  9. Sonic master

    Sonic master Well-Known Member Member

    Joined:
    Mar 27, 2010
    Messages:
    303
    The way sonic 1 special stages work is not the way you would want to go about rotating the camera at an angle. The way the special stages work is there is a bunch of different version of the same tile stored but at a different angle this would not work for a sonic level as it would hard to make the tiles connect so the best way to rotate the camera is to take advantege of the fact that the VDP can scroll individual tiles on the Y axis and on the X access you can scroll any line you want


    Here is the most famous example of that effect



    As you can see the rotation looks pretty good and it requires little cpu power as the VDP is doing all the work no software rotation required.
     
  10. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    Beat ya to it:
     
    Last edited by a moderator: Jul 15, 2012
  11. Mike B Berry

    Mike B Berry A grandiose return Member

    Joined:
    Jun 6, 2012
    Messages:
    377
    Location:
    New places, newer motivation
    Whoo man, that messes the BG up and then some. Though, it is still a nice way to go. Do you know how well it works on the Rev01 BG system?
     
    Last edited by a moderator: Jul 15, 2012
  12. Sonic master

    Sonic master Well-Known Member Member

    Joined:
    Mar 27, 2010
    Messages:
    303
    Also Mike B berry if you are still interested in this even thought it has already been done before (or does your idea only apply to loops?) I would highly recommend you check out:


    http://devster.proboards.com/index.cgi?board=basiegaxorz&action=display&thread=777


    there is some working source code that is written in Basiegaxorzs (it is abit like qbasic) download jello.bex
     
  13. Mike B Berry

    Mike B Berry A grandiose return Member

    Joined:
    Jun 6, 2012
    Messages:
    377
    Location:
    New places, newer motivation
    I will need to work only on the loops. Is there another website that contains the .bex Routine rotation? These are a bit too advanced for me... I need to study more on this stuff...
     
    Last edited by a moderator: Jul 16, 2012
  14. Mike B Berry

    Mike B Berry A grandiose return Member

    Joined:
    Jun 6, 2012
    Messages:
    377
    Location:
    New places, newer motivation
    So I've been looking around the net, trying to find various ways to optimize a rom's binary image for the Sega genesis. Specifically Sonic 2; I know how fast the game play is alone, but my question is "Is there a place in the disassembly where I can mod that?" The game features lags every now and then in specific conditions and seems slow for me and I would really like to optimize the frame rate, so lagging doesn't occur as often. Anybody have an idea?
     
    Last edited by a moderator: Jul 20, 2012
  15. SuperEgg

    SuperEgg I'm a guy that knows that you know that I know Member

    Joined:
    Oct 17, 2009
    Messages:
    Location:
    THE BEST GOD DAMN STATE OF TEXAS
    you could just change how fast Sonic goes. If that is what you're going for. I mean, overclocking a rom is ridiculous, not to mention impossible (unless somebody states otherwise). Just make Sonic go faster by changing his speed values.
     
  16. Mike B Berry

    Mike B Berry A grandiose return Member

    Joined:
    Jun 6, 2012
    Messages:
    377
    Location:
    New places, newer motivation
    EDIT: Working on optimization of my new hack.
     
    Last edited by a moderator: Jul 20, 2012
  17. Irixion

    Irixion Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    670
    Location:
    Ontario, Canada
    Frame rate? The frame rate is capped at 30 fps iirc. So I don't know what you're on about
     
  18. Mike B Berry

    Mike B Berry A grandiose return Member

    Joined:
    Jun 6, 2012
    Messages:
    377
    Location:
    New places, newer motivation
    EDIT: Keeping an open mind in content, finding a better way to Optimize my Sonic 2 Hack.
     
    Last edited by a moderator: Jul 20, 2012
  19. Crash

    Crash Well-Known Member Member

    Joined:
    Jul 15, 2010
    Messages:
    302
    Location:
    Australia
    You can overclock the Mega Drive's cpu but as far as I know there is nothing on the cart itself you can overclock. What are you trying to achieve with this? Games are generally timed in sync with the vsync (60hz on ntsc, 50hz on pal) and regardless of cpu clock speed the game won't actually go faster, you'll maybe eliminate some slowdown when there's a lot going on onscreen but that's about it.
     
  20. Irixion

    Irixion Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    670
    Location:
    Ontario, Canada
    What you see will depend on your TV. Some older CRT TVs have a limit of 30 Hz, so... I don't see the point of OCing it, seeing as most games run with little to no lag. OCing will put more strain on the system anyway so optimization is something you should be looking it rather than OCing if your system does slow down in areas.