Mail Archives: djgpp/1996/08/23/12:22:47
Xref: | news2.mv.net comp.os.msdos.djgpp:7798
|
From: | "John M. Aldrich" <fighteer AT cs DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: How to plot points (in 320x200x256)
|
Date: | Mon, 19 Aug 1996 20:42:48 -0700
|
Organization: | Three pounds of chaos and a pinch of salt
|
Lines: | 31
|
Message-ID: | <32193438.6DB8@cs.com>
|
References: | <4v9dtt$397g AT news-s01 DOT ny DOT us DOT ibm DOT net>
|
NNTP-Posting-Host: | ppp206.cs.com
|
Mime-Version: | 1.0
|
To: | Dean <deanph AT ibm DOT net>
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Dean wrote:
>
> I've finally got DJGPP up and running. I can get in mode 13h
> and all that, I can write text, but what I can't do is write
> directly to memory to plot points, what with all the protected
> mode and all. Is there some other way to plot points on the
> screen, is there something I could read (not FAQ200b.zip, it was
> no help:)
The FAQ does indeed answer this question; section 10 specifically covers
graphics programming under DJGPP. It also gives pointers to several
locations where you can find more information. Also, you need to get the
latest version of the FAQ (faq201b.zip), because it has updated info on a
lot of things.
To summarize the FAQ briefly, there are two main ways to put a pixel to
the graphics screen: use the _farpokeX functions to write to the
specific memory location you want, or enable near pointers and write
directly to the graphics area.
John
--
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT com>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>+ W+>++ N++ o+ K? w(---) O-
M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+ tv+() b+++ DI++ D++ G e(*)>++++
h!() !r !y+()
------END GEEK CODE BLOCK------
- Raw text -