From: afonso AT inesca DOT inesca DOT pt (Ernesto R. Afonso) Newsgroups: comp.os.msdos.djgpp Subject: Re: unsigned char *far : problems Followup-To: poster Date: Thu, 05 Dec 1996 18:34:39 GMT Organization: Inesc - Aveiro Portugal Lines: 22 Message-ID: <32a712d7.1261187@news.ua.pt> References: <01bbe146$95359e20$582449c2 AT default> Reply-To: afonso AT inesca DOT inesca DOT pt NNTP-Posting-Host: inside.inesca.pt To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On 3 Dec 1996 18:26:44 GMT, "Thomas Harte" wrote: >I have just moved over from a 'friendly' Microsoft compiler, and have tried >compiling some old problems, but it (v2.01) won't compile with the >following lines:- > >unsigned char far *videobuf = (char far *)0xA0000000L; >unsigned int far *videobufw = (int far *)0xA0000000L; > >as you can probably guess from the variable names, these are vital to the >screen update, so please help me. I am probably just missing something >really obvious, but I keep getting the error 'parse failed at line x : *' >and so on. HELP PLEASE! > Try movedata function in libc: movedata (_my_ds(), buffer, _dos_ds, 0xa0000, size); Ernesto R. Afonso afonso AT inesca DOT inesca DOT pt