home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / util / sys / ModeP.readme < prev    next >
Encoding:
Text File  |  1997-03-02  |  2.3 KB  |  63 lines

  1. Short:    Improves BestModeID() on ECS/AGA, CyberGfx, Picasso
  2. Author:   Andreas_Kleinert@t-online.de
  3. Uploader: Andreas_Kleinert@t-online.de
  4. Type:     util/sys
  5.  
  6.  Due to various problem with graphic.library's BestModeID() function,
  7.  people began to complain about odd resolutions generated by
  8.  several subclass "picture" datatypes, which use this function, as
  9.  well as any image viewers, which did not work-around that for
  10.  themselves.
  11.  
  12.  This patch tries to improve this for AGA systems by patching
  13.  the more simple cases only. As long as
  14.  
  15.       BIDTAG_DIPFMustHave
  16.       BIDTAG_DIPFMustNotHave
  17.       BIDTAG_ViewPort
  18.       BIDTAG_MonitorID
  19.       BIDTAG_SourceID
  20.       BIDTAG_RedBits
  21.       BIDTAG_BlueBits
  22.       BIDTAG_GreenBits
  23.  
  24.  are *not* supplied, the new patch will take place, otherwise the
  25.  old BestModeID() function will take over.
  26.  
  27.  The patch works as follows:
  28.  
  29.    - get width, height, depth requirements
  30.    - check, whether CyberGraphX is installed
  31.      (if it is, then pass over to the corresponding CyberGraphX function),
  32.      else check, whether PicassoII or Picasso96 Emu (vilintuisup.library)
  33.      is installed (if it is, then pass over to the corresponding vilintuisup
  34.      function)
  35.    - after that, check if the ModeID is still 0L (LowRes) or whether
  36.      one of the emus did return an unavailable or INVALID_ID
  37.      and begin our own mode id generation (ECS/AGA sensitive)
  38.    - return the mode id
  39.  
  40.  Request for Discussion and Comments:
  41.  ------------------------------------
  42.  Note, that the plain ECS/AGA mode id generation is quite trivial and may
  43.  still be improveable, thus this patch includes its source code, and anyone
  44.  who likes, may improve it and publish the results.
  45.  
  46.  ---
  47.  All mentioned trademarks are subjects to their owners.
  48.  
  49.  
  50. ============================= Archive contents =============================
  51.  
  52. Original  Packed Ratio    Date     Time    Name
  53. -------- ------- ----- --------- --------  -------------
  54.     4564    2740 39.9% 18-Feb-97 16:06:58 +ModeP
  55.     8014    2192 72.6% 18-Feb-97 16:06:46 +ModeP.c
  56.      835     391 53.1% 18-Feb-97 15:28:40 +ModeP.info
  57.     1856    1069 42.4% 18-Feb-97 16:06:56 +ModeP.o
  58.     1744     869 50.1% 18-Feb-97 16:03:18 +ModeP.readme
  59.      245     180 26.5% 18-Feb-97 15:15:46 +SCOPTIONS
  60.      154      98 36.3% 18-Feb-97 15:02:18 +smakefile
  61. -------- ------- ----- --------- --------
  62.    17412    7539 56.7% 18-Feb-97 23:48:20   7 files
  63.