home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / MISC / ET3BGI11.ZIP / READMETP.600 < prev   
Encoding:
Text File  |  1991-06-04  |  746 b   |  39 lines

  1. Changes with TP 6.00
  2.  
  3. - InstallUserDriver works as you would have expected now.
  4.   You *must* omit the "+ 5" after InstallUserDriver, if you
  5.   use version 1.01.
  6. - FloodFill works with 256 color modes now. :-)
  7.  
  8. These changes are due to changes in graph.tpu, not in
  9. ET3000.BGI...
  10.  
  11.  
  12. This is a working installation procedure in TP 6.00:
  13.  
  14. { ... }
  15.  
  16. var
  17.   driver, mode : integer;
  18.  
  19. { ... }
  20.  
  21. {$ifdef ET3K}
  22.     driver := InstallUserDriver('ET3000', nil);
  23.     mode := 2;
  24. {$else}
  25.     driver := Detect;
  26. {$endif} { ET3K }
  27.  
  28.     InitGraph(driver, mode, '');
  29.             { Path can be supplied. '' = CWD }
  30.  
  31. { ... }
  32.  
  33. compiling this with
  34.  
  35.     tpc -dET3K ...
  36.  
  37. will result in a program with graphics output for the
  38. 800x600x256-Mode of the ET3K chip set.
  39.