🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #25796

Re: Vertical Blank Interrupts

#25796
From: braner
Date: Thu, 19 Mar 1987 03:36
12 lines
1153 bytes
[]

You must avoid reentering your VBI routine upon every VBI (71 times a second
with a monochrome monitor)!  (That's why it crashes...)  (I learned it the
hard way...)

I solved it like this:  the first time your VBI routine is called, it sets
a flag, which is cleared at the end of the routine.  At the beginning of
the routine it checks the flag, and if it is set it knows that it is a
recursive interrupt and it simply returns, doing nothing.

- Moshe Braner
Technical Details
Message-ID: <451@batcomputer.tn.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!hplabs!pyramid!batcomputer!braner
References: <741@eneevax.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!hplabs!pyramid!batcomputer!braner
From: braner@batcomputer.tn.cornell.edu (braner)
Newsgroups: comp.sys.atari.st
Subject: Re: Vertical Blank Interrupts
Message-ID: <451@batcomputer.tn.cornell.edu>
Date: Wed, 18-Mar-87 22:36:07 EST
Article-I.D.: batcompu.451
Posted: Wed Mar 18 22:36:07 1987
Date-Received: Sat, 21-Mar-87 04:22:42 EST
References: <741@eneevax.UUCP>
Reply-To: braner@batcomputer.UUCP (braner)
Distribution: world
Organization: Theory Center, Cornell University, Ithaca NY
Lines: 12
Summary: Avoid new VB interrupts reentering the handler