===========================================================================
| 903 | |
| 904 | //=========================================================================== |
| 905 | INLINE 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 |
no outgoing calls
no test coverage detected