delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/23/10:20:47

From: "Valkir" <jfd50 AT videotron DOT ca>
Newsgroups: comp.os.msdos.djgpp
References: <tmU74.34$Fc6 DOT 1542 AT weber DOT videotron DOT net> <14684.897$Qz2 DOT 16629 AT wagner DOT videotron DOT net>
Subject: Re: djgpp strangeness
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <xsq84.31$oo4.2206@weber.videotron.net>
Date: Thu, 23 Dec 1999 09:38:03 -0500
NNTP-Posting-Host: 24.200.143.153
X-Complaints-To: abuse AT videotron DOT net
X-Trace: weber.videotron.net 945959837 24.200.143.153 (Thu, 23 Dec 1999 09:37:17 EST)
NNTP-Posting-Date: Thu, 23 Dec 1999 09:37:17 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I know it's bad style, but it work. I use the good method at first but
change jsut to see if it was working The method I use truly is:
int main()
{
long x,y;
 uchar *Video;
 Buffer=(uchar *)malloc(1920000);
 cVesa Vesa;
 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);
 getkey();
 Vesa.Close();
 free(Buffer);
 Buffer=NULL;
 return(0);
}

Same message as above, rxcept change the formula.. nothing work more



- Raw text -


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