delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/05/22/13:45:18

From: "Rafal 'Raf256' Maj" <admin AT raf256 DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Win2000 and nearptr
Date: 22 May 2002 17:41:39 GMT
Organization: news.onet.pl
Lines: 11
Sender: raf256 AT poczta DOT onet DOT pl@62.233.182.179
Message-ID: <Xns9216C8DF4AB76adminraf256com@213.180.128.20>
NNTP-Posting-Host: 62.233.182.179
Mime-Version: 1.0
X-Trace: news.onet.pl 1022089299 18327 62.233.182.179 (22 May 2002 17:41:39 GMT)
X-Complaints-To: abuse AT onet DOT pl
NNTP-Posting-Date: 22 May 2002 17:41:39 GMT
User-Agent: Xnews/5.03.24
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,
i'm using following code to acces text mode video memory, but this code 
doesn't work in Win2k. How will look code giving same effect but on win2k ?

__djgpp_nearptr_enable();
*((unsigned char*)0xB8000 + __djgpp_conventional_base + ((x+y*80)*2))='A';


-- 
Rafał 'Raf256' Maj
GG-1175498

- Raw text -


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