MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / NTSC_SetVideoTextMode

Function NTSC_SetVideoTextMode

source/NTSC.cpp:1977–1993  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

1975
1976//===========================================================================
1977void NTSC_SetVideoTextMode( int cols )
1978{
1979 if (GetVideo().GetVideoType() == VT_COLOR_VIDEOCARD_RGB)
1980 {
1981 if (cols == 40)
1982 g_pFuncUpdateTextScreen = updateScreenText40RGB;
1983 else
1984 g_pFuncUpdateTextScreen = updateScreenText80RGB;
1985 }
1986 else
1987 {
1988 if (cols == 40)
1989 g_pFuncUpdateTextScreen = updateScreenText40;
1990 else
1991 g_pFuncUpdateTextScreen = updateScreenText80;
1992 }
1993}
1994
1995//===========================================================================
1996void NTSC_SetVideoMode( uint32_t uVideoModeFlags, bool bDelay/*=false*/ )

Callers 3

VideoReinitializeMethod · 0.85
VideoResetStateMethod · 0.85
VideoSetModeMethod · 0.85

Calls 1

GetVideoTypeMethod · 0.80

Tested by

no test coverage detected