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

Function getVideoScannerAddressSHR

source/NTSC.cpp:905–912  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

903
904//===========================================================================
905INLINE uint16_t getVideoScannerAddressSHR()
906{
907 // 2 pixels per byte in 320-pixel mode = 160 bytes/scanline
908 // 4 pixels per byte in 640-pixel mode = 160 bytes/scanline
909 const UINT kBytesPerScanline = 160;
910 const UINT kBytesPerCycle = 4;
911 return 0x2000 + kBytesPerScanline * g_nVideoClockVert + kBytesPerCycle * (g_nVideoClockHorz - VIDEO_SCANNER_HORZ_START);
912}
913
914// Non-Inline _________________________________________________________
915

Callers 2

updateScreenSHRFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected