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 and should be called before any other VI functions.

How VIInit initializes the video controller depends on the TV format for 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 to a 640x480 interlaced 60Hz display and leaves the 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 to a 640x574 interlaced 50Hz display and leaves the video format (PAL) as is.

If restarted in EURGB60 mode, the PAL hardware TV format will remain in EURGB60 when calling the VIInit function. The TV format does not change at restart.

See Also

Revision History

03/01/2006 Initial version.