Mail Archives: djgpp/1996/12/07/10:18:06
On 3 Dec 1996 18:26:44 GMT, "Thomas Harte" <T DOT Harte AT btinternet DOT com>
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
- Raw text -