Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #310 > unrolled thread

VBL duration?

Started byEgan Ford <datajerk@gmail.com>
First post2012-06-27 08:40 -0600
Last post2012-06-29 16:00 -0700
Articles 7 — 4 participants

Back to article view | Back to comp.sys.apple2.programmer


Contents

  VBL duration? Egan Ford <datajerk@gmail.com> - 2012-06-27 08:40 -0600
    Re: VBL duration? Vladimir Ivanov <vladitx@XXXyahooXXX.com> - 2012-06-28 09:58 +0300
    Re: VBL duration? aiiadict@gmail.com - 2012-06-28 06:59 -0700
      Re: VBL duration? Egan Ford <datajerk@gmail.com> - 2012-06-28 09:48 -0600
        Re: VBL duration? Gary Gray <vengefultacos@gmail.com> - 2012-06-29 17:10 -0400
          Re: VBL duration? aiiadict@gmail.com - 2012-06-29 15:58 -0700
            Re: VBL duration? aiiadict@gmail.com - 2012-06-29 16:00 -0700

#310 — VBL duration?

FromEgan Ford <datajerk@gmail.com>
Date2012-06-27 08:40 -0600
SubjectVBL duration?
Message-ID<jsf60j$dp$1@news.xmission.com>
Programmers,

For an NTSC IIe what is the duration of the vertical blanking interval?

Thanks.

[toc] | [next] | [standalone]


#311

FromVladimir Ivanov <vladitx@XXXyahooXXX.com>
Date2012-06-28 09:58 +0300
Message-ID<alpine.DEB.2.00.1206280958210.3709@zztop.nucleusys.com>
In reply to#310
On Wed, 27 Jun 2012, Egan Ford wrote:

> For an NTSC IIe what is the duration of the vertical blanking interval?

70 lines.

[toc] | [prev] | [next] | [standalone]


#312

Fromaiiadict@gmail.com
Date2012-06-28 06:59 -0700
Message-ID<aba20a92-d977-446c-a057-baf5aea38de9@googlegroups.com>
In reply to#310
http://rich12345.tripod.com/aiivideo/vbl.html

On Wednesday, June 27, 2012 7:40:19 AM UTC-7, datajerk wrote:
> Programmers,
> 
> For an NTSC IIe what is the duration of the vertical blanking interval?
> 
> Thanks.

http://rich12345.tripod.com/aiivideo/vbl.html


70 scanlines * 65 cycles = 4550 cpu cycles


Rich

On Wednesday, June 27, 2012 7:40:19 AM UTC-7, datajerk wrote:
> Programmers,
> 
> For an NTSC IIe what is the duration of the vertical blanking interval?
> 
> Thanks.

[toc] | [prev] | [next] | [standalone]


#313

FromEgan Ford <datajerk@gmail.com>
Date2012-06-28 09:48 -0600
Message-ID<jshuca$64d$1@news.xmission.com>
In reply to#312
On 6/28/12 7:59 AM, aiiadict@gmail.com wrote:
> http://rich12345.tripod.com/aiivideo/vbl.html
>
> On Wednesday, June 27, 2012 7:40:19 AM UTC-7, datajerk wrote:
>> Programmers,
>>
>> For an NTSC IIe what is the duration of the vertical blanking interval?
>>
>> Thanks.
>
> http://rich12345.tripod.com/aiivideo/vbl.html
>
>
> 70 scanlines * 65 cycles = 4550 cpu cycles
>
>
> Rich
>
> On Wednesday, June 27, 2012 7:40:19 AM UTC-7, datajerk wrote:
>> Programmers,
>>
>> For an NTSC IIe what is the duration of the vertical blanking interval?
>>
>> Thanks.
>

Thanks guys.  Rich, great links.  Thanks.

[toc] | [prev] | [next] | [standalone]


#315

FromGary Gray <vengefultacos@gmail.com>
Date2012-06-29 17:10 -0400
Message-ID<yqudnYUdVP8lhHPSnZ2dnUVZ_omdnZ2d@giganews.com>
In reply to#313
Inside the //e has a program in it that you can run to determine how 
long the VBL is:


"If you load this program into mem-
ory and then enter CALL 768 to activate it, a  number will be dis-
played that should be either 520 or 521. This number is equal to
the  number of 24  machine-cycle  periods  that  occur  during  one
vertical blanking interval. Thus, the vertical blanking interval is
somewhere between 12,480 and 12,504 machine cycles."



On 6/28/2012 11:48 AM, Egan Ford wrote:
> On 6/28/12 7:59 AM, aiiadict@gmail.com wrote:
>> http://rich12345.tripod.com/aiivideo/vbl.html
>>
>> On Wednesday, June 27, 2012 7:40:19 AM UTC-7, datajerk wrote:
>>> Programmers,
>>>
>>> For an NTSC IIe what is the duration of the vertical blanking interval?
>>>
>>> Thanks.
>>
>> http://rich12345.tripod.com/aiivideo/vbl.html
>>
>>
>> 70 scanlines * 65 cycles = 4550 cpu cycles
>>
>>
>> Rich
>>
>> On Wednesday, June 27, 2012 7:40:19 AM UTC-7, datajerk wrote:
>>> Programmers,
>>>
>>> For an NTSC IIe what is the duration of the vertical blanking interval?
>>>
>>> Thanks.
>>
>
> Thanks guys. Rich, great links. Thanks.
>

[toc] | [prev] | [next] | [standalone]


#316

Fromaiiadict@gmail.com
Date2012-06-29 15:58 -0700
Message-ID<d6c6605a-f9c2-4573-9165-78cf9dd60d01@googlegroups.com>
In reply to#315
On Friday, June 29, 2012 2:10:15 PM UTC-7, Gary wrote:
>  Thus, the vertical blanking interval is
> somewhere between 12,480 and 12,504 machine cycles."
> 


http://rich12345.tripod.com/aiivideo/vbl.html


the video screen takes 12,480 cycles to update.  This
includes time to "horizontal blank" and display video
data.


it works like this, starting from edge of VBL=true
to VBL=false

ScanlineX
Draw Scanline #1, 40 bytes of video data, 1 cycle for
each byte

do "scanline #1" "horizontal blank", 25 cycles.  This 
moves the electron gun down to Scanline #2.

if not done with all scanlines, goto ScanlineX (above)

VBL= TRUE.  The electron gun is moving back up to the
upper left of the screen, from the lower right.

VBL lasts for 4550 cycles.  Repeat

http://rich12345.tripod.com/aiivideo/softalk.html

includes a trick to see what line is being scanned
by video circuits, by putting known data in video
RAM, and then reading floating bus to see if this
data is currently on it.

there are a few games that use this as a trick
to inter-mix graphics modes.

There was a discussion about apple II video,
floating bus on comp.sys.apple2 within the last
year that included a floating bus test that would
verify if an emulator properly emulated the video
generator of the apple II.


[toc] | [prev] | [next] | [standalone]


#317

Fromaiiadict@gmail.com
Date2012-06-29 16:00 -0700
Message-ID<1f37915f-96f6-42a6-88ab-e8841c1c603c@googlegroups.com>
In reply to#316
On Friday, June 29, 2012 3:58:48 PM UTC-7, (unknown) wrote:
> 
> it works like this, starting from edge of VBL=true
> to VBL=false
> 

the transition from true to false, IE the end of
VBL

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.apple2.programmer


csiph-web