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

Function NTSC_VideoClockResync

source/NTSC.cpp:1925–1929  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1923
1924//===========================================================================
1925void NTSC_VideoClockResync(const uint32_t dwCyclesThisFrame)
1926{
1927 g_nVideoClockVert = (uint16_t)(dwCyclesThisFrame / VIDEO_SCANNER_MAX_HORZ) % g_videoScannerMaxVert;
1928 g_nVideoClockHorz = (uint16_t)(dwCyclesThisFrame % VIDEO_SCANNER_MAX_HORZ);
1929}
1930
1931//===========================================================================
1932uint16_t NTSC_VideoGetScannerAddress(const ULONG uExecutedCycles, const bool fullSpeed)

Callers 4

VideoGetVblBarExMethod · 0.85
VideoGetVblBarMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected