Raster interrupt

A raster interrupt (also called a horizontal blank interrupt) is an interrupt signal in a legacy computer system which is used for display timing. It is usually, though not always, generated by a system's graphics chip as the scan lines of a frame are being readied to send to the monitor for display. The most basic implementation of a raster interrupt is the vertical blank interrupt.

Such an interrupt provides a mechanism for graphics registers to be changed mid-frame, so they have different values above and below the interrupt point. This allows a single-color object such as the background or the screen border to have multiple horizontal color bands, for example. Or, for a hardware sprite to be repositioned to give the illusion that there are more sprites than a system supports. The limitation is that changes only affect the portion of the display below the interrupt. They don't allow more colors or more sprites on a single scan line.

Modern protected mode operating systems generally do not support raster interrupts as access to hardware interrupts for unprivileged user programs could compromise the system stability. As their most important use case, the multiplexing of hardware sprites, is nowadays no longer relevant there exists no modern successor to raster interrupts.

Systems supporting raster interrupts

Several popular home computers and video game consoles included graphics chips supporting raster interrupts or had features that could be combined to work like raster interrupts. The following list is not exhaustive.

Astrocade (two custom chips, 1977)

The Bally Astrocade supported a horizontal blank interrupt to select the four screen colors from a palette of 256 colors. The Astrocade did not support hardware sprites.

Atari 8-bit computers (ANTIC chip, 1979)

The ANTIC chip used by the Atari 8-bit computers includes display list interrupts (DLIs), which are triggered as the display is being drawn.[1][2] The ANTIC chip itself is considerably powerful and inherently capable of many features which other systems require raster interrupts to duplicate. ANTIC can mix multiple graphics modes on the screen, display horizontal and vertical overscan graphics, and fine scroll selected horizontal regions. DLIs on the Atari are typically used to add additional color to the display and reuse Player/Missile graphics elements.

ColecoVision and MSX (TMS9918 chip, 1979)

The ColecoVision, an 8-bit game console released in 1982, as well as the MSX, a standardized home computer from 1983, utilized the Texas Instruments TMS9918. It includes a 'vertical interrupt' source to reposition the hardware sprites on the screen.

Commodore 64 (MOS Technology VIC-II chip, 1982)

The C64's and C128's VIC-II has a flexible raster interrupt system. Raster interrupts and CPU intervention are necessary to reuse sprites on the screen, mix graphics modes, and selectively scroll screen regions. Raster interrupts are also supported by the Plus/4's and C16's TED.

Nintendo Entertainment System (PPU chip, 1983)

The Nintendo Entertainment System's PPU graphics chip does not support true raster interrupts - an interrupt can be set to trigger during the vertical blank interval, but not at any arbitrary scan line - instead required polling of a "hit flag" that indicated when the first sprite was being drawn. Although early games like Super Mario Bros., Castlevania, and The Legend of Zelda managed to produce effective split-screen scrolling with this method, it is CPU-intensive. Some later cartridges incorporated MMC circuitry (most prominently Nintendo's MMC3 chip) that kept track of the PPU's address and data lines and generated raster interrupts.

IBM PCjr (Video Gate Array, 1984)

The IBM PCjr using the Video Gate Array graphics chip supported a 'vertical retrace interrupt' implemented as IRQ5.[3] Later in 1984, IBM introduced the EGA graphics standard which also supported a vertical retrace interrupt, but implemented as XT IRQ2 and disabled by default.[4] However, not all EGA cards implemented this feature and just very few programs utilizing EGA modes relied on it.

Modern GPUs have an IRQ registered on the main processor. Importantly, this is neither a vertical nor a horizontal 'blank interrupt' and it is handled by the device driver for the graphics card.

MSX2 (Yamaha V9938, 1985)

MSX2 computers feature a Yamaha V9938 graphics chip that, like the NES, supports 'vertical blank interrupts' but requires polling for 'horizontal blank interrupts'. It was commonly used to create split screens, mix multiple video modes together on one screen and to increase the number of unique colours on the screen beyond the official spec. Prominent usage examples are the Aleste series and Konami's Space Manbow.

Amiga (Copper chip, 1985)

The Amiga computers include a custom coprocessor called the Copper which is dedicated to servicing raster interrupts. The Copper runs a program of simple instructions directing it to wait for a specific vertical scan line and horizontal beam position, then update the contents of a custom chip hardware register. This is typically used for modifying display parameters, such as mixing display modes, reusing sprites, or changing color registers, but can also be used to trigger a CPU interrupt.

X68000 (VSOP + VINAS chip, 1987)

The X68000, a 16-bit home computer sold in Japan, has a flexible raster interrupt system to multiplex hardware sprites.

Game Boy (PPU chip, 1989)

The Game Boy's PPU has support for four raster interrupts:[5] it can be set to trigger at the beginning of a specified scanline, at the end of scanlines (during horizontal blanking), at the beginning of all scanlines, or at the beginning of vertical blanking. Its drawback is that the same interrupt handler is used for the first three, requiring the use of "dispatching" code if more than one condition is used.

References

  1. ^ De Re Atari. Atari, Inc. 1982.
  2. ^ Watson, Alan (1982). "An Introduction To Display List Interrupts". COMPUTE!'s Second Book of Atari.
  3. ^ IBM PCjr Technical Reference. International Business Machines Corporation. November 1983. p. 108.
  4. ^ IBM Enhanced Graphics Adapter manual (PDF). International Business Machines Corporation. p. 72. Archived (PDF) from the original on 2024-05-24. Retrieved 2024-07-29.
  5. ^ "Video Display". GBDev Wiki. Retrieved 20 October 2017.

See also

Read other articles:

Гміна Єдвабно Gmina Jedwabno —  Гміна  — Прапор Герб Країна  Польща Воєводство Вармінсько-Мазурське Повіт Щиценський Площа  - Повна 311,51 км² Населення (31 грудня 2011) [1]  - Усього 3719  - Густота 11,9/км² Вебсайт: http://www.jedwabno.pl/ Гміна Єдвабно (пол. G...

 

Künast pada 2017 Renate Elly Künast (lahir 15 Desember 1955) adalah seorang politikus Jerman dari partai Alliance '90/The Greens. Ia menjadi Menteri Perlindungan Konsumen, Pangan dan Pertanian dari 2001 sampai 2005 dan kemudian menjabat sebagai ketua kelompok parlementer partainya di Bundestag. Daftar pustaka Die Dickmacher. Warum die Deutschen immer fetter werden und was wir dagegen tun müssen. Riemann Verlag, 2004, ISBN 3-570-50062-4. Klasse statt Masse. Die Erde schätzen, den Verbrauch...

 

Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Borno – berita · surat kabar · buku · cendekiawan · JSTOR Letak Borno di Nigeria. Borno merupakan sebuah negara bagian di Nigeria. Letaknya di bagian timur laut. Ibu kota negara bagian ini ialah Maidugur...

Pour les articles homonymes, voir Boulart. Jean-François Boulart Jean-François Boulart (1776-1842) Surnom Boulard[1] Naissance 20 mai 1776Reims Décès 20 octobre 1842 (à 66 ans)Besançon (Besançon) Origine France Allégeance  République française Empire français Royaume de France Royaume de France Royaume de France Arme Artillerie Grade Général de brigade Années de service 1793 – 1835 Conflits Guerres révolutionnairesGuerres napoléoniennes Faits d'armes...

 

Wardiman DjojonegoroMenteri Pendidikan dan Kebudayaan Indonesia Ke-20Masa jabatan17 Maret 1993 – 16 Maret 1998PresidenSoehartoWakil PresidenTry SutrisnoPendahuluFuad HassanPenggantiWiranto Arismunandar Informasi pribadiLahir22 Juni 1934 (umur 89)Pamekasan, Madura, Jawa Timur, Hindia BelandaPartai politikIndependenSuami/istriSri Utami (1965-1987) Atie Wargiarti Wardiman (1993-2008) [1]Alma materRWTH Aachen TU DelftPekerjaanPolitikusPenulisKabinetKabinet Pembangunan ...

 

Science fiction story anthology First editionCover art by Peter Cocking Darwin's Bastards: Astounding Tales from Tomorrow is a 2010 anthology of dystopian science fiction stories.[1] It was edited by Zsuzsi Gartner, and published by Douglas & McIntyre. All of its stories were written by Canadians. Contributors Adam Lewis Schroeder Annabel Lyon Anosh Irani Buffy Cram David Whitton Douglas Coupland Elyse Friedman Heather O'Neill Jay Brown Jessica Grant Laura Trunkey Lee Henderson Ma...

2014 adventure role-playing video game 2014 video gameHeroine's Quest: The Herald of RagnarokDeveloper(s)Crystal ShardDirector(s)Pieter SimoonsComposer(s)Matthew Chastney, Dmitrii ZavorotnyEngineAdventure Game StudioPlatform(s)Windows, LinuxReleaseWW: 20 March 2014Genre(s)Adventure, role-playing Heroine's Quest: The Herald of Ragnarok is an adventure game/RPG hybrid developed by Dutch studio Crystal Shard, set in the world of the Poetic Edda and Norse Mythology. Plot The city of Fornsigtuna i...

 

Disbelief or minimization in response to threat warnings Normalcy bias, or normality bias, is a cognitive bias which leads people to disbelieve or minimize threat warnings.[1] Consequently, individuals underestimate the likelihood of a disaster, when it might affect them, and its potential adverse effects.[2] The normalcy bias causes many people to prepare inadequately for natural disasters, market crashes, and calamities caused by human error. About 80% of people reportedly d...

 

Nahwitti was a Kwakwakaʼwakw First Nation village and a major trading site during the maritime fur trade era of approximately 1790 to 1850. Today it is an Indian reserve under the administration of the Kwakwakaʼwakw Tlatlasikwala Nation. It is located near the northern tip of Vancouver Island, at Cape Sutil on Queen Charlotte Sound, near Hope Island and the Nahwitti River, east of Cape Scott,[1] and not far from historic Fort Rupert and modern Port Hardy.The North West Coast during ...

Operation Shock מבצע הלםPart of War of AttritionSuper Frelon helicopterDateOctober 31, 1968; 55 years ago (1968-10-31)LocationEgyptResult 1. Mission successful: Qena bridge irreparably damaged Nag-Hammadi dam damaged 7 out of 9 transformers destroyed 2. Egyptian shelling on IDF positions along the Suez canal halted for four months.[1]Belligerents  Israel  EgyptStrength 14 paratroopers,4 Super-Frelon helicoptersCasualties and losses NonevteWar of Attr...

 

13th-century French nobleman Alphonse, as Count of Toulouse, recognised the autonomy of the commune of the town of Agen. In this illustration he takes an oath before the consuls with his right hand on the town ordinances, while sitting on a pedestal. The consul administering the oath is forced to go on his knees, symbolising Alphonse's lordship and the town's loyalty. Arms of Alphonse on a 13th-century harness pendant, found in West Berkshire, England. Alphonse or Alfonso (11 November 1220...

 

Polynesian Māori migration leader According to Māori tradition, Hoturoa was the leader of the Tainui canoe, during the migration of the Māori people to New Zealand, around 1400. He is considered the founding ancestor of the Tainui confederation of tribes (iwi), who now inhabit the central North Island. Voyage to New Zealand Te Aurere, a modern reconstruction of a sea-going waka (canoe). Te Haunui, a modern reconstruction of a sea-going waka (canoe). Main article: Tainui (canoe) According t...

Jamaican centre-left political party For other uses, see Peoples National Party (disambiguation). People's National Party LeaderMark GoldingPresidentMark GoldingChairpersonAngela Brown-BurkeSecretaryDayton R. CampbellFoundersNorman ManleyOsmond Theodore FaircloughFounded1938HeadquartersKingston, JamaicaYouth wingPeople's National Party Youth OrganizationIdeologySocial democracyRepublicanism[1]Political positionCentre-left[2][3]Regional affiliationCOPPPAL West Indi...

 

У Вікіпедії є статті про інші значення цього терміна: Вулиця Митрополита Шептицького. Вулиця Митрополита ШептицькогоТернопіль Місцевість Центр, ОболоняНазва на честь Митрополита Андрея ШептицькогоКолишні назви Маяковського, Шептицьких, ШирокаЗагальні відомостіПрот...

 

Metro station in Barcelona, Spain This article's factual accuracy may be compromised due to out-of-date information. The reason given is: L4 and L11 no longer share an island platform: L11 now has their own (narrow) island platform. Please help update this article to reflect recent events or newly available information. (April 2022) Trinitat NovaBarcelona Metro rapid transit stationThe platform shared by lines L4 and L11General informationLocationBarcelona (Nou Barris)Coordinates41°26′56...

Medieval fortress in Kingisepp, Russia YamNative name Russian: ЯмA drawing of Yam Fortress, engraved in the beginning of the 17th centuryTypeFortressLocationKingisepp, Leningrad Oblast, RussiaCoordinates59°22′34.460″N 28°35′38.944″E / 59.37623889°N 28.59415111°E / 59.37623889; 28.59415111Founded1384FounderIvan FyodorovichDemolished1781Current usepark Yam (Yama, Yamgorod, Russian: Ям) is a fortress and heritage site located on the eastern bank of the Lug...

 

Voce principale: Atalanta Bergamasca Calcio. Atalanta Bergamasca CalcioStagione 1981-1982 Sport calcio Squadra Atalanta Allenatore Ottavio Bianchi Presidente Cesare Bortolotti Serie C11º posto, girone A (promossa). Coppa Italia Serie COttavi di finale Maggiori presenzeCampionato: 5 giocatori (34)Totale: Vavassori (40) Miglior marcatoreCampionato: Mutti (16)Totale: Mutti (20) StadioStadio Comunale 1980-1981 1982-1983 Si invita a seguire il modello di voce Questa voce raccoglie le informa...

 

American politician (1850–1921) Champ ClarkChamp Clark, c. 191536th Speaker of the United States House of RepresentativesIn officeApril 4, 1911 – March 3, 1919[1]Preceded byJoseph G. CannonSucceeded byFrederick H. GillettLeader of the House Democratic CaucusIn officeMarch 4, 1909 – March 2, 1921Preceded byJohn Sharp WilliamsSucceeded byClaude KitchinMember of the U.S. House of Representativesfrom Missouri's 9th districtIn officeMarch 4, 1897&#...

Informal housing in Zambia A slum in Lusaka A komboni is a type of informal housing compound or shanty town common to Zambia, particularly the capital city of Lusaka. It is characterized by a low income and a high population density.[1]: 72  Kombonis typically began as housing for employees of a particular company, estate, or mine.[1] An estimated 35% of Zambians live in urban areas,[2] and kombonis exist in many of them.[3] It is estimated that...

 

Mi-2 Mi-2 milik Angkatan Udara Polandia Jenis Helikopter Kelompok desain Mil Moscow Helicopter Plant Pembangun PZL-Świdnik Penerbangan perdana 22 September 1961 Diperkenalkan 1965 Pengguna utama Angkatan Udara Uni SovietAngkatan Bersenjata Polandia Aeroflot Dibuat 1965-1998[1] Jumlah 5,497[1] Dikembangkan dari Mil Mi-1 Varian PZL Kania Helikopter Mil Mi-2 (nama pelaporan NATO Hoplite) merupakan sebuah helikopter transportasi kecil bertenaga turbin dengan persenjataan ri...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!