Re: [stella] Invaders update! - inv-beta.bin

Subject: Re: [stella] Invaders update! - inv-beta.bin
From: Piero Cavina <p.cavina@xxxxxxxxxxxxx>
Date: Thu, 24 Apr 1997 12:30:29 +0200 (METDST)
At 06.17 24/04/97 GMT, Erik Mooney wrote:

>- Occasionally, the game calculations code overruns the vertical-blank
>interval, causing the screen to jump by a couple lines for one frame..

This used to happen to me too... if you want an estimate of how much cycles
you've left for game logic during VBLANK, add an useless loop like this:

 LDX #timetowaste
 BPL waste

and adjust #timetowaste to the maximum value that does not cause the screen
to jump.


Archives available at
E-mail UNSUBSCRIBE in the body to stella-request@xxxxxxxxxxx to be removed.

Current Thread