home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d162 / setpalorntsc.lha / SetPALorNTSC / SetNTSC.c < prev    next >
C/C++ Source or Header  |  1988-10-02  |  467b  |  21 lines

  1. /* P. Kittel Ffm 21.7.87, 6.8.87 */
  2. /* Setzen auf NTSC */
  3.  
  4. #include <intuition/intuition.h>
  5. #include <graphics/gfxmacros.h>
  6. #include <graphics/gfxbase.h>
  7. struct GfxBase *GfxBase;
  8. #define GRAPHICS_REV 33
  9.  
  10. main()
  11. {
  12.    GfxBase = (struct GfxBase *)
  13.       OpenLibrary("graphics.library",GRAPHICS_REV);
  14.    if(GfxBase == NULL) exit (FALSE);
  15.  
  16.    GfxBase->DisplayFlags      = (GfxBase->DisplayFlags) & (!PAL);
  17.    GfxBase->NormalDisplayRows = 200;
  18.  
  19.    CloseLibrary(GfxBase);
  20. }
  21.