File:  [HATARI the Atari ST Emulator] / hatari / src / convert / high640x1.c
Revision 1.1.1.3 (vendor branch): download - view: text, annotated - select for diffs
Mon Apr 1 07:12:50 2019 UTC (7 years, 2 months ago) by root
Branches: hatari, MAIN
CVS tags: hatari00090, hatari00080, HEAD
hatari 0.80

/* Screen Conversion, High Res to 640x1Bit */

/* This file is not needed at the moment since the SDL does not support
   1 bit per pixel screens */

#if 0
static void ConvertHighRes_640x1Bit(void)
{
  /* Copy palette to bitmap (2 colours) */
/*  if (HBLPalettes[0]==0x777) {
    ScreenBMP.Colours[0].rgbRed = ScreenBMP.Colours[0].rgbGreen = ScreenBMP.Colours[0].rgbBlue = 0xff;
    ScreenBMP.Colours[1].rgbRed = ScreenBMP.Colours[1].rgbGreen = ScreenBMP.Colours[1].rgbBlue = 0x00;
  }
  else {
    ScreenBMP.Colours[0].rgbRed = ScreenBMP.Colours[0].rgbGreen = ScreenBMP.Colours[0].rgbBlue = 0x00;
    ScreenBMP.Colours[1].rgbRed = ScreenBMP.Colours[1].rgbGreen = ScreenBMP.Colours[1].rgbBlue = 0xff;
  }
*/
  /* Simply copy ST screen, as same format! */
  memcpy(pPCScreenDest,pSTScreen,(640/8)*400);

  bScreenContentsChanged = TRUE;
}
#endif

unix.superglobalmegacorp.com

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