Annotation of hatari/src/convert/high640x1.c, revision 1.1

1.1     ! root        1: // Screen Conversion, High Res to 640x1Bit
        !             2: 
        !             3: void ConvertHighRes_640x1Bit(void)
        !             4: {
        !             5: fprintf(stderr,"Screen Conversion, High Res to 640x1Bit\n");
        !             6:   // Copy palette to bitmap (2 colours)
        !             7: /* FIXME */
        !             8: /*  if (HBLPalettes[0]==0x777) {
        !             9:     ScreenBMP.Colours[0].rgbRed = ScreenBMP.Colours[0].rgbGreen = ScreenBMP.Colours[0].rgbBlue = 0xff;
        !            10:     ScreenBMP.Colours[1].rgbRed = ScreenBMP.Colours[1].rgbGreen = ScreenBMP.Colours[1].rgbBlue = 0x00;
        !            11:   }
        !            12:   else {
        !            13:     ScreenBMP.Colours[0].rgbRed = ScreenBMP.Colours[0].rgbGreen = ScreenBMP.Colours[0].rgbBlue = 0x00;
        !            14:     ScreenBMP.Colours[1].rgbRed = ScreenBMP.Colours[1].rgbGreen = ScreenBMP.Colours[1].rgbBlue = 0xff;
        !            15:   }
        !            16: */
        !            17:   // Simply copy ST screen, as same format!
        !            18:   memcpy(pPCScreenDest,pSTScreen,(640/8)*400);
        !            19: 
        !            20:   bScreenContentsChanged = TRUE;
        !            21: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.