www.delorie.com/archives/browse.cgi | search |
From: | "Peter Remmers" <pitti AT tfh-berlin DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: VGA memory scheme |
Date: | Wed, 16 Dec 1998 14:34:39 +0100 |
Organization: | TFH-Berlin (Berlin, Germany) |
Lines: | 18 |
Message-ID: | <758cut$7mg$1@idy05.tfh-berlin.de> |
References: | <3677044C DOT 41456251 AT immediate DOT net> |
NNTP-Posting-Host: | ip099167.tfh-berlin.de |
X-Newsreader: | Microsoft Outlook Express 4.72.3110.1 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Alex Lowe schrieb in Nachricht <3677044C DOT 41456251 AT immediate DOT net>... >I know that this is not the most common video mode but does anyone know >how to write directly to memory in 640x480x16, mode 0x12? Doing graphics in this mode ist not so easy as you have to fiddle alot with the VGA registers. This is a planar mode, you have to select which plane(s) you want to write to. There are 3 read/write modes each of which has its own special use etc... I suggest you leave this stuff to a gfx library like GRX or Allegro, or, if you really want to get into it, get a good book about it. I can recommend "Programmer's Guide to the EGA and VGA Cards" from Richard F. Ferraro / Addison-Wesley. Peter Remmers
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |