Subject: Re: [stella] VSYNC in 9 bytes From: "Andrew Davie" <atari2600@xxxxxxxxxxxxx> Date: Fri, 3 Sep 2004 12:11:06 +1000 |
Very nice! I've updated the standard MACRO.H file to use this new method. http://www.atari2600.org/dasm Cheers A ----- Original Message ----- From: "Edwin Blink" <edwin.blink@xxxxxxx> To: <stella@xxxxxxxxxxxxxxxxxx> Sent: Friday, September 03, 2004 8:59 AM Subject: [stella] VSYNC in 9 bytes > I've been bytebusting a lot in keeping my menu I'm doing as(mall)ap and > just had one of those bright moments. Just needed to share this with you > guys: > > ;generates vertical sync pulse for 3 full scanlines. > ;VBLANK should be set by the overscan code and is not set here > > LDA #$0E ;each '1' bits generate a VSYNC ON line (bits 1..3) > VSLP1 STA WSYNC ;1st '0' bit resets Vsync, 2nd '0' bit exit loop > STA VSYNC > LSR > BNE VSLP1 ;branch until VYSNC has been reset > > > > > Archives (includes files) at http://www.biglist.com/lists/stella/archives/ > Unsub & more at http://stella.biglist.com > --+---------------------------------------------------------------- > You are subscribed as: atari2600@xxxxxxxxxxxxx > To unsubscribe, send email to: > stella-unsub-102616@xxxxxxxxxxxxxxxxxx > Or go to: > http://stella.biglist.com/unsub/stella/atari2600@xxxxxxxxxxxxx > --+-- > >
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] VSYNC in 9 bytes, Manuel Rotschkar | Thread | Re: [stella] VSYNC in 9 bytes, Aaron |
RE: [stella] Ms. Pac Man, Mr. Do, s, Glenn Saunders | Date | RE: [stella] Ms. Pac Man, Mr. Do, s, Lee Fastenau |
Month |