delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/23/13:18:57

Date: Thu, 23 Dec 1999 19:10:38 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Valkir <jfd50 AT videotron DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: djgpp strangeness
In-Reply-To: <xsq84.31$oo4.2206@weber.videotron.net>
Message-ID: <Pine.SUN.3.91.991223190932.8268H-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 23 Dec 1999, Valkir wrote:

>  Video=Vesa.InitVesa();
> 
> //////cDesktop Desktop;
>  for(x=0;x<800;x++)
>  for(y=0;y<2400;y++)
>  *(Buffer+x+y*800)=x;
>  memcpy(Video,Buffer,1920000);

What kind of pointer/address does Vesa.InitVesa() return?

If it is a real-mode pointer, you cannot use memcpy with it; see section 
18.2 of the FAQ for the details.

- Raw text -


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