From: brunobg AT geocities DOT com (Bruno Barberi Gnecco) Newsgroups: comp.os.msdos.djgpp Subject: Re: what's wrong with this code? Date: 2 Aug 1998 09:10:01 -0500 Organization: Newscene Public Access Usenet News Service (http://www.newscene.com/) Lines: 20 Message-ID: <35c471bf.516109@news3.newscene.com> References: <35C3746C DOT 5BEA866A AT xyz DOT net> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Sat, 01 Aug 1998 12:02:52 -0800, Bjorn Hansen wrote: >I know that this must be something simple that I am missing but when I >try to compile this: >#include >#include >main() >{ > char v; > v=_farpeekb(_dos_ds,0xA0000); > printf("%c",v); >} >I get a Error of '_dos_ds' undeclared >what am I doing wrong or not doing? You should include . "There's never enough time to do all the nothing you want" Bill Watterson Bruno Barberi Gnecco ICQ #1383173 - PGP 5.0i user My other OS is Linux -=- http://graphx.home.ml.org -=- Electric Eng, Poli