home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / graphics / 7348 < prev    next >
Encoding:
Text File  |  1992-11-11  |  2.2 KB  |  50 lines

  1. Newsgroups: comp.sys.amiga.graphics
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hp-col!fc.hp.com!koren
  3. From: koren@fc.hp.com (Steve Koren)
  4. Subject: OS3.0: does this have to use Chip ram?
  5. Sender: news@fc.hp.com (news daemon)
  6. Message-ID: <BxK58F.24J@fc.hp.com>
  7. Date: Wed, 11 Nov 1992 15:19:27 GMT
  8. Organization: Hewlett-Packard Fort Collins Site
  9. X-Newsreader: Tin 1.1.3 PL5
  10. Lines: 38
  11.  
  12. I have noticed something interesting regarding OS3.0 and backdrop
  13. images.  3.0 lets you put backdrop images in the background of the
  14. main workbench window, or the screen, or the "other" workbench windows.
  15. Each can be a different IFF image in up to 256 colors.
  16.  
  17. However, these things are memory hungry, and they use chip ram.  In
  18. other words:
  19.  
  20.    Bitmaps for the workbench screen itself:    CHIP
  21.    Bitmaps for the IFF backdrop images    :    CHIP
  22.  
  23. Now, it seems to me that what happens is this: the backdrop image gets
  24. drawn into the screen's bitmap behind your windows.  When you move a
  25. window and hence reveal part of the backdrop, the system blits the
  26. revealed part of the bitmap from the backdrop image back into the
  27. screen's bitmap to repair the section that needs repainting.
  28.  
  29. This all works pretty well, but is uses quite a bit of chip RAM.
  30. Granted, I don't really *need* a 64 color high res backdrop image behind
  31. my windows, but I sure like it :-), and I'd like to use less chip RAM
  32. for this.
  33.  
  34. So it occurred to me that this scheme might be workable:
  35.  
  36.    Bitmaps for the workbench screen itself:    CHIP
  37.    Bitmaps for the IFF backdrop images    :    FAST
  38.  
  39. The idea is that only the screen's bitmaps _really_ have to be in chip
  40. RAM, because they are the only ones displayed.  The IFF backdrop bitmaps
  41. are never displayed directly; they are just used to copy parts of back
  42. into the screen's bitmap.  If one is willing to use the CPU to do this
  43. copy instead of the blitter, then why couldn't the IFF backdrop image
  44. planes be stored in fast RAM?  I have boatloads of fast RAM to allocate
  45. to such a frivolity, but chip RAM is rather more scarce.  (I have
  46. already used about 850 Kb of chip ram when my system boots, which is a
  47. good chunk of the available 2 Mb).
  48.  
  49.    - steve
  50.