===========================================================================
| 435 | |
| 436 | //=========================================================================== |
| 437 | inline void updateFlashRate() // TODO: Flash rate should be constant (regardless of CPU speed) |
| 438 | { |
| 439 | // BUG: In unthrottled CPU mode, flash rate should not be affected |
| 440 | |
| 441 | // Flash rate: |
| 442 | // . NTSC : 60/16 ~= 4Hz |
| 443 | // . PAL : 50/16 ~= 3Hz |
| 444 | if ((++g_nTextFlashCounter & 0xF) == 0) |
| 445 | g_nTextFlashMask ^= -1; // 16-bits |
| 446 | |
| 447 | // The old way to handle flashing was |
| 448 | // if ((SW_TEXT || SW_MIXED) ) // && !SW_80COL) // FIX: FLASH 80-Column |
| 449 | // g_nTextFlashMask = true; |
| 450 | // The new way is to check the active char set, inlined: |
| 451 | // if (0 == g_nVideoCharSet && 0x40 == (m & 0xC0)) // Flash only if mousetext not active |
| 452 | } |
| 453 | |
| 454 | #if 0 |
| 455 | #define updateFramebufferMonitorSingleScanline(signal,table) \ |
no outgoing calls
no test coverage detected