From: "Rafal 'Raf256' Maj" 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: NNTP-Posting-Host: 62.233.182.179 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit 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