www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/19/16:40:22

From: "Ghalos" <greg AT holdridge7 DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: New convert has a question
Date: Wed, 19 May 1999 21:18:08 +0100
Organization: Customer of Planet Online
Lines: 17
Message-ID: <7hv665$pni$1@news6.svr.pol.co.uk>
NNTP-Posting-Host: modem-12.boron.dialup.pol.co.uk
X-Trace: news6.svr.pol.co.uk 927144965 26354 62.136.2.12 (19 May 1999 20:16:05 GMT)
NNTP-Posting-Date: 19 May 1999 20:16:05 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
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

Recently having jumped ship from Borland C++ I found that my project would
not compile.... well I expected some problems.  Anyway I will have to change
my graphics functions because as I understand it I cant use the:

unsigned char far *screen_ptr = 0xA0000000L;

screen_ptr[x + (y << 6) + (y << 8)] = val;

thing anymore.
    I trawled a bit to find out how it can be done under DJGPP and found
LOTS of ways (including the THIS MAY DESTROY YOUR COMPUTER way) I just
wondered... which way is the fastest and most reliable for use in Mode 13h?

Thanks in advance,
                          Ghalos


- Raw text -


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