Re: [stella] VBLANK or VSYNC first?

Subject: Re: [stella] VBLANK or VSYNC first?
From: ben <ben@xxxxxxxx>
Date: Tue, 23 Oct 2001 10:54:50 +1000
At 10:14 AM 10/23/2001 +1000, you wrote:
>>The above is correct.  VBLANK just blanks the video output.  The sync line
>>is still active.  VBLANK is a lazy way to get a black screen.  In this case,
>>they are using VBLANK to create the 3 lines of equalization pulses before
>>VSYNC.  Then they do 3 lines of VSYNC.  You don't mention when they turn off
>>VBLANK, and I don't have the code in front of me.  But it's perfectly
>>acceptable to do the following:
>>
>>turn on VBLANK
>>turn on VSYNC
>>turn off SYNC
>>turn off VBLANK
>

As a follow up, I removed my vsyncing code to get absolute scanlines and
found this interesting:
---------
TIA_w - VBLANK Start - Scanline is 30
TIA_w - WSYNC - HowizPos is 17
TIA_w - WSYNC - HowizPos is 8
TIA_w - WSYNC - HowizPos is 8
TIA_w - VSYNC Start Scanline = 33 HorizPos = 8
TIA_w - WSYNC - HowizPos is 17
TIA_w - WSYNC - HowizPos is 8
TIA_w - WSYNC - HowizPos is 14
TIA_w - VSYNC Stop Scanline = 36 HorizPos = 8
Background Color set to 234
TIA_w - WSYNC - HowizPos is 143
TIA_w - WSYNC - HowizPos is 41
TIA_w - VBLANK Stop - Scanline is 171
------------

Repeated always - VBLANK for 3 lines, then VSYNC for 3 lines then stop
VBLANK after 141 lines.  This is without any VSYNC emulation with the
screen updates.  So, what should the scanline numbers *actually* be from an
emulation view?  And does this output make real sense to 2600 guru's? :)

This machine is nuts - I am impressed that so much great software was
developed for it ;)

Ben



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

Current Thread
  • [stella] StellaX vs Stella, (continued)
    • Joel Park - Mon, 22 Oct 2001 08:27:01 -0400 (EDT)
      • ben - Mon, 22 Oct 2001 10:55:08 -0400 (EDT)
        • Chris Wilkson - Mon, 22 Oct 2001 11:40:22 -0400 (EDT)
        • ben - Mon, 22 Oct 2001 20:14:43 -0400 (EDT)
        • ben - Mon, 22 Oct 2001 20:55:08 -0400 (EDT) <=
        • Chris Wilkson - Tue, 23 Oct 2001 00:28:09 -0400 (EDT)
        • ben - Tue, 23 Oct 2001 03:01:11 -0400 (EDT)
        • Chris Wilkson - Tue, 23 Oct 2001 03:47:46 -0400 (EDT)
        • ben - Tue, 23 Oct 2001 04:25:37 -0400 (EDT)