home *** CD-ROM | disk | FTP | other *** search
/ Encyclopedia of Graphics File Formats Companion / GFF_CD.ISO / software / dos / imdisp / doc / refresh.txt < prev   
Encoding:
Text File  |  1994-06-01  |  1.3 KB  |  30 lines

  1.  
  2.      Here are some ideas on the refresh buffer that I want to throw out
  3. onto the table.  We have to keep in mind the current max limit on the
  4. refresh buffer is currently at 768K, and will possibly go as high as
  5. 1.2MB for the newer 1280x1024 images that the XGA standard will support.
  6. I would like to get your input; I know Archie has already done a lot of
  7. work with it.
  8.  
  9.    o Store refresh buffer into a disk file (current implementation).
  10.  
  11.    o Store refresh buffer into expanded/extended memory.  Using the SWAP
  12.      code as a baseline, I think that this is feasible.  Archie, you
  13.      used the SWAP code, so what do you think?  If there is not enough
  14.      expanded or extended memory, then we can always go back to putting
  15.      the refresh buffer in a file.
  16.  
  17.    o Compress refresh buffer before storing in memory.  Maybe DECOMP.C
  18.      can be used, or another algorithm, but it should be as fast as
  19.      possible, and give at least a 3:1 compression ratio.  Of course,
  20.      any operations done on the image will be done as the image is
  21.      decompressed on-the-fly, so we would have to be able do access the
  22.      image on a line-by-line basis, and possibly even pixel-by-pixel.
  23.  
  24.    o Split the refresh buffer between available memory and a disk file.
  25.  
  26.    o Any combination of the above.
  27.  
  28. Regards,
  29. Ron
  30.