delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/28/11:30:08

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Joel Saunders" <jbs30000 AT aol DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Inline assembly.
Date: Mon, 28 Jan 2002 16:26:49 +0000 (UTC)
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Lines: 17
Message-ID: <fe53a4816b0edb8378324f2dd310dd94.62691@mygate.mailgate.org>
References: <fa9bfb1b9e164c8e7b3ecc848e67eadc DOT 62691 AT mygate DOT mailgate DOT org> <a33rsk$57l$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
NNTP-Posting-Host: spider-wb081.proxy.aol.com
X-Trace: news.mailgate.org 1012228546 2474 205.188.192.186 (Mon Jan 28 17:26:49 2002)
X-Complaints-To: abuse AT mailgate DOT org
NNTP-Posting-Date: Mon, 28 Jan 2002 16:26:49 +0000 (UTC)
Injector-Info: news.mailgate.org; posting-host=spider-wb081.proxy.aol.com; posting-account=62691; posting-date=1012228546
User-Agent: Mailgate Web Server
X-URL: http://mygate.mailgate.org/mynews/comp/comp.os.msdos.djgpp/fe53a4816b0edb8378324f2dd310dd94.62691%40mygate.mailgate.org
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Thanks for the reply.  I'll check into everything you said, but, uhm,
for point 3, I enabled near pointers, and I've worked with near pointers
to DOS memory enough to know that I did at least that part right.
Although usually I use __djgpp_nearptr_enable() and
__djgpp_nearptr_disable() instead of int _crt0_startup_flags =
_CRT0_FLAG_NEARPTR but at any rate, char *Screen_PTR = (char *)(0xB8000
+ __djgpp_conventional_base) is the correct way to make a near pointer
to text mode memory.



 



-- 
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG

- Raw text -


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