delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/04/16:37:51

From: ngmail AT megadodo DOT clara DOT net (Barnaby Manerings)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GRaphics and DJGPP
Date: Wed, 04 Feb 1998 19:38:25 GMT
Lines: 18
Message-ID: <34d8c1cd.12766464@news.clara.net>
References: <6b58j4$mph$1 AT madrid DOT visi DOT net>
NNTP-Posting-Host: 195.8.80.55
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

What you wrote should copy a block direct from the memory, this would
work fine in 320x200 VGA mode because one segment = 64k, 320x200
pixels = 64k of data -- it all fits in one segment. If, however you
are using modes with higher resolutions than 320x200, it will not be
able to put all the data in one segment. The way data is spread
accross segments in this case is really weird, and I'm not certain of
how it's done but the PC Games Programming Ecyclopedia - a sort of
online reference guide will help (it's a dos app), try searching for
PCGPE on Yahoo. My advice is to get the Allegro library which I am
pretty certain will handle all that type of stuff in almost any
graphics mode. HTH


-- Barnaby Mannerings <megadodo AT clara DOT net>
-- On the Web: <www.megadodo.clara.net>
-- ICQ: 7243088 (get ICQ: www.icq.com)

- Raw text -


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