From: "John F. Bell" Newsgroups: comp.os.msdos.djgpp Subject: Re: __djgpp_conventional_base Date: Sun, 13 Oct 1996 19:52:58 -0600 Organization: XMission Internet (801 539 0900) Lines: 19 Message-ID: <32619CFA.2BB5@xmission.com> References: <32615DE2 DOT 4928 AT xmission DOT com> Reply-To: jbell AT xmission DOT com NNTP-Posting-Host: slc59.modem.xmission.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > > Also, I tried to write a screen filler function in assembly, but it > only fills up the first half of the screen or so. Here it is > __asm__ __volatile__ (" > movl %1, %%edi > movb %0, %%al > movw 64000, %%cx > rep > stosb" > : > :"g" (color), "g" (0xA0000+__djgpp_conventional_base) > :"ax","cx","di","memory" > ); Sorry for being stupid, I see that I need a '$' in front of the 64000. But still, how often does __djgpp_conventional_base change? John F. Bell