home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / grafik / irit / irit386e / runtime / djgcc.bat < prev    next >
Encoding:
DOS Batch File  |  1992-03-11  |  521 b   |  34 lines

  1. @echo off
  2. if x%1 == x320 goto Do320
  3. if x%1 == x640 goto Do640
  4. if x%1 == x800 goto Do800
  5. if x%1 == x goto Do640
  6.  
  7. echo No such graphic horizontal resolution %1, only 320, 640, and 800.
  8. goto done
  9.  
  10. :Do320
  11. set GRMODE=gw 320 gh 200
  12. goto DoIt
  13.  
  14. :Do640
  15. set GRMODE=gw 640 gh 480
  16. goto DoIt
  17.  
  18. :Do800
  19. set GRMODE=gw 800 gh 600
  20. goto DoIt
  21.  
  22. :DoIt
  23. @echo on
  24.  
  25. set GCCTMP=c:/temp
  26. set GO32TMP=c:/temp
  27. set GO32=emu c:/djgpp/emu387 ansi driver c:/djgpp/ati1.grd %GRMODE%
  28.  
  29. set GRMODE=
  30.  
  31. path=c:/djgpp;%path%
  32.  
  33. :done
  34.