X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Joel Saunders" 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: References: NNTP-Posting-Host: spider-wb081.proxy.aol.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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