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