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

  1. Path: toad.stack.urc.tue.nl!not-for-mail
  2. From: jaco@stack.urc.tue.nl (Jaco Schoonen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Too system friendly?
  5. Date: 4 Apr 1996 00:35:35 +0200
  6. Organization: MCGV Stack, Eindhoven University of Technology, the Netherlands.
  7. Distribution: inet
  8. Message-ID: <4juufn$752@toad.stack.urc.tue.nl>
  9. References: <4jpq5f$i9g@toad.stack.urc.tue.nl> <jdju3z2r5jf.fsf@hyppynaru.cs.hut.fi>
  10. NNTP-Posting-Host: toad.stack.urc.tue.nl
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Osma Ahvenlampi (oahvenla@hyppynaru.cs.hut.fi) wrote:
  14. : In article <4jpq5f$i9g@toad.stack.urc.tue.nl> jaco@stack.urc.tue.nl (Jaco Schoonen) writes:
  15. : >The function to update the screen changes those data nad then use several
  16. : >WritePixelLine8() calls to put them on screen.
  17. : >On CyberGraphx-screen everything works as expected, but on non-cybergraphx
  18. : >the data is set to all zero's!
  19.  
  20. : Yeah. For some reason I've been unable to understand, the V39/V40
  21. : graphics.library WritePixelLine8() clears the source array after
  22. : writing it to the destination. I, too, ran into it when my program
  23. : worked perfectly on a CyberGraphX machine, but failed on a native
  24. : machine. As far as I'm concerned, CGFX is right here, and the OS is
  25. : wrong, but that doesn't help much, does it? Unfortunately the only fix
  26. : is to do an extra copy cycle to create a temporary array to use as the
  27. : WritePixelLine8() source.
  28.  
  29. Thanks to everyone that responded. I hope it get's fixed in the next OS
  30. release, but until then I'll do an extra copy before the write. It's only a
  31. small array (for 128 pixels) so it shouldn't take too much time...
  32.  
  33. --
  34. Jaco Schoonen
  35. (jaco@stack.urc.tue.nl)
  36.