Subject: [stella] Jumping back to VSync|
From: "Chris Larkin" <clarkin@xxxxxxxxxxxxx>
Date: Sun, 28 Sep 2003 10:09:27 -0700
ROM space is getting super tight in Kablamo and in an effort to save time, I wish to employ a not "recommended" method. When the user presses fire on the title screen, the deck is randomized and the hands are delt.
Due to the random nature of dealing the hands (IE: A card may come up that the deck no longer has available so it must loop again) it can take an unpredictable amount of time to finish. Dealing hands begins in VBlank and about half of the time extends past when VBlank is supposed to end
The proper way to code this would be to set a timer for the display time so when dealing hands is over we could wait for the end of the frame before starting the new frame.
That's a waste of time and ROM space for the most part, if it doesn't have to be done. What I would like to do, is as soon as the hands are done being delt just jump back to VSync. (VBlank was never ended)
This works in Z26 and Stella the screen blinks for a frame and then resumes... however PCAE takes a bomb on it and just freezes the game...
Can a TV handle this? Or will it cause everything to fall out of sync?