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
(see also)
(added HVIRQ stuff)
Line 4: Line 4:


The desired vertical position should be written to VTIMEL and VTIMEH.
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 ===
=== See Also ===

Revision as of 21:46, 15 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