home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3693 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Fastmem to chip
  5. Date: 23 Feb 1996 00:41:59 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4gj2gn$f9c@sunsystem5.informatik.tu-muenchen.de>
  9. References: <517.6624T116T387@himolde.no> <542.6624T1040T2116@sn.no>
  10. NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Christopher Naas (christon@sn.no) wrote:
  14. : Nameless wrote:
  15.  
  16. : >What is the fastest way of copying a memory area from Fastmem into a
  17. : >Rastport? What I want to do, is build a map in FastMem, and copy it into a
  18.  
  19. The only function writing to a rastport from any mem is
  20. writepixelarray8. But when used on planar modi, it will be lot slower
  21. from fast than any other method from chiponly...
  22.  
  23. Do allocate a bitmap. copy into it from your array (that's cpu fast->chip).
  24. then do blitbitmaprastport().
  25.  
  26. I hope it will do an async blit to the window, cpu free again.
  27. So you can copy in between from fast to chip into _another_ bitmap.
  28. Well, correct me if this is wrong, I heard OS buffers gfx-functions
  29. that use the blitter. bufferdepth = 1.
  30.  
  31. : >windows RPort. But there seem to be no way of doing that, just blitter
  32. : >operations :-(
  33. : Copy the BitMap->Planes[] data. Works for me. I use fast for my undo buffer in
  34.  
  35. Well, works in a screens bitmap. might fail in a window (layer stuff).
  36.  
  37. : an AGA paint program I made way back.
  38.  
  39. : --
  40. : Christopher Landmark Naas    o  EMail: christon@sn.no
  41. : LoungeBar Development        o  WWW:   http://www.sn.no/~christon/
  42. : Former Reg. Amiga Developer  o  IRC:   KarmaComa
  43.