www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/11/18:15:08

From: "Cody" <cody1 AT ktsnet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: [OT] graphics routines
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-Original-NNTP-Posting-Host: tel-ppp0097.ktsnet.com
Message-ID: <3afc6377@leia.ktsnet.com>
Date: Fri, 11 May 2001 17:00:59 -0500
NNTP-Posting-Host: 216.60.177.225
X-Complaints-To: abuse AT swbell DOT net
X-Trace: nnrp1.sbc.net 989618789 216.60.177.225 (Fri, 11 May 2001 17:06:29 CDT)
NNTP-Posting-Date: Fri, 11 May 2001 17:06:29 CDT
Organization: SBC Internet Services
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

How would I in DJGPP do the following:?  I have browsed the allegro game
library but got nothing out of it (wayyyy too much code).  I can do the
following in 16-bit does apps, but DJGPP's 32-bit protected mode poses a
problem.  Links to the code or just replies with the code would certainly be
appreciated.

1.  get into different video modes (320x200 w/ 256 colors and more, 320x240
w/ 256 colors and more, 640x480 w/ 256 colors and more, etc.)?
2.  put a pixel in those modes (any difference in them...?)?
3.  get back into 80x25 text mode?
I'm unfamiliar with at&t style asm (plus I'm <beginner at intel style asm),
and even if I knew at&t style asm I wouldn't be able to do it since I think
32-bit protected mode getting into graphics are different than what I have
to do with turbo c++.  I hope that the putpixel routine is the fastest that
you know of, because that's the only one that really needs a lot of speed.
Thanks for all of your time.


- Raw text -


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