delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/13/20:15:25

From: "Newbie" <new AT no_spam DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: copying memory buffer to screen - help
Date: 11 Oct 1997 02:40:20 GMT
Organization: Sprint Canada Inc.
Lines: 13
Message-ID: <01bcd5ee$ea6a50a0$200867d1@default>
References: <876472720 DOT 3425 DOT 0 DOT nnrp-04 DOT 9e9889d0 AT news DOT demon DOT co DOT uk>
NNTP-Posting-Host: hme1-1.news.sprint.ca
Cache-Post-Path: grolsch!unknown AT spc-isp-cal-uas-1-32 DOT sprint DOT ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

pete AT duchess DOT compulink DOT co DOT uk wrote in article
<876472720 DOT 3425 DOT 0 DOT nnrp-04 DOT 9e9889d0 AT news DOT demon DOT co DOT uk>...
> I'm using the grx library, and I'm in 800
> *600*256 colour mode. I've set the pallette to greyscales. No problem.
> I have an array in which I have an inage, 1 byte per pixel, in 320*200
> format. How can I put this on the screne at an arbitrary point (not
> pixel by pixel!).
I'm not sure aboiut grx, but allegro must have built-in funcitons for
bitmap blitting.
If you really like to it on your own, your can use "dosmemput", don't
forget to add
"include <sys/movedata.h>".
Look for doememput's syntax in info.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019