We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

H/V Count Timer: Difference between revisions

From SnesLab
Jump to: navigation, search
(added HVIRQ stuff)
(timing category)
 
Line 14: Line 14:


[[Category:Video]]
[[Category:Video]]
[[Category:Timing]]

Latest revision as of 03:14, 17 July 2023

The H/V Count Timer can be programmed to generate an IRQ when the CRT's raster beam reaches a particular position.

The desired horizontal position should be written to HTIMEL and HTIMEH.

The desired vertical position should be written to VTIMEL and VTIMEH.

The IRQ this timer generates is sometimes called an HV-IRQ if it fires at a particular point, a V-IRQ if it fires at a particular scanline (but the dot/horizontal position is not important), or an H-IRQ if it fires at a particular dot (but the scanline is not important).

See Also

Reference

  • page 2-16-1 of the official Super Nintendo development manual