VIInit

C Specification

#include <revolution/vi.h>
void VIInit(void)

Arguments

None.

Return Values

None.

Description

This function sets the default state of the video controller. It must be called before any other VI functions are called.

How VIInit initializes the video controller depends on the selected TV format when this function is called.

When the TV format is NTSC or MPAL: On NTSC or MPAL hardware, IPL initializes the TV format to NTSC or MPAL respectively. In either case, VIInit configures the video controller for a 640x480, 60Hz display and leaves the scan type (interlaced or progressive) and TV format (NTSC or MPAL) as is.

When the TV format is PAL: On PAL hardware, IPL initializes the TV format to PAL. In this case, VIInit configures the video controller for a 640x574 display and leaves the scan type (interlaced or progressive) and TV format (PAL or EURGB60) as is. Restarting does not change the TV format.

VIInit disables the trap filter and sets the gamma value to 1.0.
After a forced recovery from screen burn-in protection, the burn-in protection settings from the system settings menu are set.

See Also

Revision History

2006/10/17 Revised the description of the video mode set initially.
2006/09/21 Changed "screen saver" to "burn-in protection" in the descriptions.
2006/09/16 Added description regarding trap filter, gamma value, and burn-in protection.
2006/03/01 Initial version.


CONFIDENTIAL