delorie.com/archives/browse.cgi | search |
From: | Damian Yerrick <DONT DOT YOU DOT DAREd_yerrick AT hotmail DOT comSEND DOT SPAM> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Plotting a 24bit color pixel in Allegro |
Organization: | Pin Eight Software http://pineight.8m.com/ |
Message-ID: | <m5mabs44vp0k261orhb5ni2k25vc7bh1m2@4ax.com> |
References: | <8935rr$hs0$1 AT nnrp1 DOT deja DOT com> |
X-Newsreader: | Forte Agent 1.7/32.534 |
MIME-Version: | 1.0 |
Lines: | 22 |
X-Trace: | /KtlGU4/Ur5lY1nhJ/aeAC7xN6mk3xnjZlXsgI9ME25DOo77AZJEzuXKbdZHZNIKwPkdXD+uNUBL!D7IimvgI+Nvg54Sjhp1I1AQuPB1Afd1Rq+H2eA/2VTXiMOpHXhDRaaUxHRJ9MgXDwCPgGwdWaVMN!5P3Ffqs= |
X-Complaints-To: | abuse AT gte DOT net |
X-Abuse-Info: | Please be sure to forward a copy of ALL headers |
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly |
NNTP-Posting-Date: | Thu, 24 Feb 2000 16:16:19 GMT |
Distribution: | world |
Date: | Thu, 24 Feb 2000 16:16:19 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
On Thu, 24 Feb 2000 11:49:15 GMT, JAB <jab_joe AT my-deja DOT com> wrote: > How do you plot a pixel in 24bit (or 32bit) color with Allegro? > I have the image I want on screen in a unsigned long 1D array. I need >to write that to screen as fast as possible. (It's gfx 3D thing I've >made and converting to the PC). Before on the good old Acorn what I was >doing was just writing this array to another array that's memory >pointer was at the screen address. I know that you can't really do that >on the PC in 24bit color at things like 640 by 480 so I need to find >another fast way. Anyone got any words of advice, or at least telling >me how to get a 24bit color pixel on the screen. Look in the Allegro docs for putpixel() and direct memory access. -- Damian Yerrick http://yerricde.tripod.com/ Comment on story ideas: http://home1.gte.net/frodo/quickjot.html AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/ View full sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your .sig to prevent the spread of .sig viruses. http://www.mcafee.com/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |