Re: [stella] Dumb newbee question

Subject: Re: [stella] Dumb newbee question
From: Adam Wozniak <adam@xxxxxxxxxxxxxxxx>
Date: Wed, 20 Mar 2002 09:24:33 -0800 (PST)
Ok, so this would be more correct?

   while (1)
   {
      // turn everything the same color
      COLUP0 = COLUP1 = COLUPF = COLUBK = i++;
 
      // 3 lines vsync
      VSYNC |= 0x02;
      for (j = 0; j < 3; j++)
         WSYNC=1; // wait for sync
      VSYNC &= ~0x02;
 
      // 37 lines vertical blank
      VBLANK |= 0x02;
      for (j = 0; j < 37; j++)
         WSYNC=1; // wait for sync
      VBLANK &= ~0x02;
 
      // visible screen
      for (j = 0; j < 192; j++)
         WSYNC=1; // wait for sync
 
      // overscan area
      for (j = 0; j < 30; j++)
         WSYNC=1; // wait for sync
   }


On Wed, 20 Mar 2002, Thomas Jentzsch wrote:
> The typical 2600 NTSC screen consists out of 4 parts:
> 1. vertical sync: 3 lines (or more)
> 2. vertical blank area: 37 lines (that one is missing)
> 3. visisble screen: 192 lines
> 4. overscan: 30 lines
> ----------------------
> total: 262 lines

-- 
adam@xxxxxxxxxxxxxxxx        http://cuddlepuddle.org/~adam/pgp.txt

----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread