delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/08/08:15:10

From: "David Anderson" <david DOT anderson AT NO-SPAMcalixo DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Plotpixel and screen mode changing commands in DJGPP libs?
Date: Sat, 8 Sep 2001 14:05:00 +0200
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MIMEOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Lines: 25
Message-ID: <3b9a096d$0$14584$4d4eb98e@read.news.fr.uu.net>
NNTP-Posting-Host: cab-195141.calixo.net
X-Trace: 999950702 read.news.fr.uu.net 14584 213.166.195.141
X-Complaints-To: abuse AT fr DOT uu DOT net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi.

I have a fairly good experience in C programming using DJGPP, but now I'd
like to start 3D graphics programming (just in dos window/real dos, nothing
fancy). I have found a lot of info about formulae etc on how to plot 3d
coordinates and how to draw polygons.
Now the only thing I need to start actually writing all the functions are
two basic functions: switching screen modes and plotting a colored pixel at
XY coordinates on the screen.

I would theoretically know how to write these functions in assembly (calling
an interrupt and modifying the video memory), but are there any DJGPP
functions that do these two things for me? I don't really need anything else
(I'd like to learn the actual logic of 3D, not just call openGL
functions)...

Also, writing assembly code that taps into the video memory and calls
interrupts is a risky buisness in windows... If I start a Dos program that
does these two things in a dos window, wil windows manage interrupts and the
like without crashing out?

Thanks in advance for your help
David Anderson, beginner 3D programmer


- Raw text -


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