NB. g_nLastColumnPixelNTSC = bits.b13 will be superseded by these parent funcs which use bits.b14: . updateScreenDoubleHires80(), updateScreenDoubleLores80(), updateScreenText80()
| 601 | // NB. g_nLastColumnPixelNTSC = bits.b13 will be superseded by these parent funcs which use bits.b14: |
| 602 | // . updateScreenDoubleHires80(), updateScreenDoubleLores80(), updateScreenText80() |
| 603 | inline void updatePixels(uint16_t bits) |
| 604 | { |
| 605 | if (!GetColorBurst()) |
| 606 | { |
| 607 | /* #1 of 7 */ |
| 608 | g_pFuncUpdateBnWPixel(bits & 1); bits >>= 1; |
| 609 | g_pFuncUpdateBnWPixel(bits & 1); bits >>= 1; |
| 610 | /* #2 of 7 */ |
| 611 | g_pFuncUpdateBnWPixel(bits & 1); bits >>= 1; |
| 612 | g_pFuncUpdateBnWPixel(bits & 1); bits >>= 1; |
| 613 | /* #3 of 7 */ |
| 614 | g_pFuncUpdateBnWPixel(bits & 1); bits >>= 1; |
| 615 | g_pFuncUpdateBnWPixel(bits & 1); bits >>= 1; |
| 616 | /* #4 of 7 */ |
| 617 | g_pFuncUpdateBnWPixel(bits & 1); bits >>= 1; |
| 618 | g_pFuncUpdateBnWPixel(bits & 1); bits >>= 1; |
| 619 | /* #5 of 7 */ |
| 620 | g_pFuncUpdateBnWPixel(bits & 1); bits >>= 1; |
| 621 | g_pFuncUpdateBnWPixel(bits & 1); bits >>= 1; |
| 622 | /* #6 of 7 */ |
| 623 | g_pFuncUpdateBnWPixel(bits & 1); bits >>= 1; |
| 624 | g_pFuncUpdateBnWPixel(bits & 1); bits >>= 1; |
| 625 | /* #7 of 7 */ |
| 626 | g_pFuncUpdateBnWPixel(bits & 1); bits >>= 1; |
| 627 | g_pFuncUpdateBnWPixel(bits & 1); |
| 628 | g_nLastColumnPixelNTSC = bits & 1; |
| 629 | } |
| 630 | else |
| 631 | { |
| 632 | /* #1 of 7 */ // abcd efgh ijkl mnop |
| 633 | g_pFuncUpdateHuePixel(bits & 1); bits >>= 1; // 0abc defg hijk lmno |
| 634 | g_pFuncUpdateHuePixel(bits & 1); bits >>= 1; // 00ab cdef ghi jklmn |
| 635 | /* #2 of 7 */ |
| 636 | g_pFuncUpdateHuePixel(bits & 1); bits >>= 1; // 000a bcde fghi jklm |
| 637 | g_pFuncUpdateHuePixel(bits & 1); bits >>= 1; // 0000 abcd efgh ijkl |
| 638 | /* #3 of 7 */ |
| 639 | g_pFuncUpdateHuePixel(bits & 1); bits >>= 1; // 0000 0abc defg hijk |
| 640 | g_pFuncUpdateHuePixel(bits & 1); bits >>= 1; // 0000 00ab cdef ghij |
| 641 | /* #4 of 7 */ |
| 642 | g_pFuncUpdateHuePixel(bits & 1); bits >>= 1; // 0000 000a bcde fghi |
| 643 | g_pFuncUpdateHuePixel(bits & 1); bits >>= 1; // 0000 0000 abcd efgh |
| 644 | /* #5 of 7 */ |
| 645 | g_pFuncUpdateHuePixel(bits & 1); bits >>= 1; // 0000 0000 0abc defg |
| 646 | g_pFuncUpdateHuePixel(bits & 1); bits >>= 1; // 0000 0000 00ab cdef |
| 647 | /* #6 of 7 */ |
| 648 | g_pFuncUpdateHuePixel(bits & 1); bits >>= 1; // 0000 0000 000a bcde |
| 649 | g_pFuncUpdateHuePixel(bits & 1); bits >>= 1; // 0000 0000 0000 abcd |
| 650 | /* #7 of 7 */ |
| 651 | g_pFuncUpdateHuePixel(bits & 1); bits >>= 1; // 0000 0000 0000 0abc |
| 652 | g_pFuncUpdateHuePixel(bits & 1); |
| 653 | g_nLastColumnPixelNTSC = bits & 1; |
| 654 | } |
| 655 | } |
| 656 | |
| 657 | //=========================================================================== |
| 658 |
no test coverage detected