home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / atari / st / 13351 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.4 KB  |  39 lines

  1. Newsgroups: comp.sys.atari.st
  2. Path: sparky!uunet!mcsun!sun4nl!utrcu1!infnews!baumer
  3. From: baumer@cs.utwente.nl (Han Baumer)
  4. Subject: Use of screen memory
  5. Message-ID: <1992Sep7.191934.1618@cs.utwente.nl>
  6. Sender: usenet@cs.utwente.nl
  7. Nntp-Posting-Host: utis155
  8. Organization: University of Twente, Dept. of Computer Science
  9. Date: Mon, 7 Sep 1992 19:19:34 GMT
  10. Lines: 27
  11.  
  12. We have the following declaration in C:
  13.  
  14. byte *raster;
  15.  
  16. This variable points at a list of color-indices. This list represents
  17. an image. We want to bring this image on the screen (in the resolution
  18. TT-low). The solution  we now have is much too slow (about one minute
  19. for a picture of 300*200 pixels (we use v_pmarker to set the pixels)).
  20.  
  21. We can make it faster by loading the image straight into the
  22. screen-memory, however, this gives not the right picture (because of
  23. the bitplanes (8)). We tried to use vro_cpyfm and vr_trnfm but this
  24. also did not give us the desired result. In the books we have, these
  25. function are barely documented. Can anyone help us on this?
  26.  
  27.  
  28. Greetings,
  29.  
  30.  
  31. -- 
  32.      ___            Han Baumer                        <baumer@cs.utwente.nl>
  33.  ___/   \________
  34. |   \___/        | Univ. of Twente,  Dept. Computer Science,     TIOS-group
  35. | ___ _   _   __ | P.O. Box 217,     NL-7500 AE  Enschede,  The Netherlands
  36. |  |  |  / \ (_  |                   tel: +31 53 89 3742
  37. |  |  |  \_/ __) |                   tel: +31 53 89 3755 fax: +31 53 333815
  38. |________________| 
  39.