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

1.1.1.2   root        1: /* Screen Conversion, High Res to 640x1Bit */
1.1       root        2: 
1.1.1.2   root        3: /* This file is not needed at the moment since the SDL does not support
                      4:    1 bit per pixel screens */
                      5: 
                      6: #if 0
1.1.1.3 ! root        7: static void ConvertHighRes_640x1Bit(void)
1.1       root        8: {
1.1.1.2   root        9:   /* Copy palette to bitmap (2 colours) */
1.1       root       10: /*  if (HBLPalettes[0]==0x777) {
                     11:     ScreenBMP.Colours[0].rgbRed = ScreenBMP.Colours[0].rgbGreen = ScreenBMP.Colours[0].rgbBlue = 0xff;
                     12:     ScreenBMP.Colours[1].rgbRed = ScreenBMP.Colours[1].rgbGreen = ScreenBMP.Colours[1].rgbBlue = 0x00;
                     13:   }
                     14:   else {
                     15:     ScreenBMP.Colours[0].rgbRed = ScreenBMP.Colours[0].rgbGreen = ScreenBMP.Colours[0].rgbBlue = 0x00;
                     16:     ScreenBMP.Colours[1].rgbRed = ScreenBMP.Colours[1].rgbGreen = ScreenBMP.Colours[1].rgbBlue = 0xff;
                     17:   }
                     18: */
1.1.1.2   root       19:   /* Simply copy ST screen, as same format! */
1.1       root       20:   memcpy(pPCScreenDest,pSTScreen,(640/8)*400);
                     21: 
                     22:   bScreenContentsChanged = TRUE;
                     23: }
1.1.1.2   root       24: #endif

unix.superglobalmegacorp.com

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