[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Animation and Scanlines



Does anybody out there have the code to detect where the current
scanline on the GS screen is at so I could draw an image to the screen
without scanline flicker. Currently, the C/asm code I have waits until a
vertical blank before it draws to the screen, but that slows it down.

I've look in the hardware/firmware refs and it seems that the register
$C02E holds the vertical scanline position.  The problem is that I can't
get an reliable value from the register so anything I do will flicker.

      TTTTT
     J  T  L   OOOOPPPP
     J  T  L  O    O   P
 J   J  T  L  O    O   P
  JJJ   T  LLLOLLLLOPPP
              O    O
               OOOO

internet: jlee@bonnie.ics.uci.edu

> What is this thing called life? Is it a wild, but short ride, or is it <
> a growing up experience for our souls?                                 <
> Deep Delvings from the deranged mind of: Joseph Lee                    <