Mail Archives: djgpp/1998/08/02/10:15:19
On Sat, 01 Aug 1998 12:02:52 -0800, Bjorn Hansen <viking AT xyz DOT net> wrote:
>I know that this must be something simple that I am missing but when I
>try to compile this:
>#include <stdio.h>
>#include <sys/farptr.h>
>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 <go32.h>.
"There's never enough time to do all the nothing you want" Bill Watterson
Bruno Barberi Gnecco <brunobg AT geocities DOT com> ICQ #1383173 - PGP 5.0i user
My other OS is Linux -=- http://graphx.home.ml.org -=- Electric Eng, Poli
- Raw text -