Vertical Blank Interrupt

A vertical blank interrupt (or VBI) is a programming technique used in some systems, notably video games and consoles, to allow program code to be run in the periods when the display hardware is turned off, waiting for the TV to complete its vertical blank.

Since the vertical blank period occurs at the start of every displayed frame (PAL: 50 times a second, NTSC: 60 times a second), timing the code to run during this period guarantees a regular "heartbeat" which is useful for timing-dependent functions. Simple routines like reading the joystick or updating the display can be placed in the VBI, and then basically ignored while the main program runs. Many systems used this to develop a crude sort of multitasking.

The VBI is particularly useful if the display hardware includes some sort of page flipping support, in which case the hardware can be set up to draw a new frame during the period where there is no drawing taking place. This guarantees a flicker-free display with almost no effort.

This was widely used on the Atari 8-bit family, whose ANTIC display chip included a register pointing to the start of the display memory. The main program would draw the new frame into a buffer in memory, and then a small piece of code in the VBI would change the ANTIC register. The result was excellent animation from a simple piece of hardware.

Famous quotes containing the words vertical, blank and/or interrupt:

    In bourgeois society, the French and the industrial revolution transformed the authorization of political space. The political revolution put an end to the formalized hierarchy of the ancien regimé.... Concurrently, the industrial revolution subverted the social hierarchy upon which the old political space was based. It transformed the experience of society from one of vertical hierarchy to one of horizontal class stratification.
    Donald M. Lowe, U.S. historian, educator. History of Bourgeois Perception, ch. 4, University of Chicago Press (1982)

    Oh, blank confusion! true epitome
    Of what the mighty city is herself,
    To thousands upon thousands of her sons,
    Living amid the same perpetual whirl
    Of trivial objects, melted and reduced
    To one identity, by differences
    That have no law, no meaning, and no end—
    William Wordsworth (1770–1850)

    Never interrupt a murderer, madame.
    Walter Reisch (1903–1963)