Hi,
I use gpc 19990430 for dos with rhide.
I want to access to the video memory. In C I use _farsetsel without problems, but in Pascal I have a problem with the selector _dos_ds.
For _farsetsel, I write: Procedure FarSetSel(Selecteur:integer); AsmName '_farsetsel';
But I don't know how to use _dos_ds, of course FarSetSel(_dos_ds); don't work.
Thanks for help.
Opie Pecheux wrote:
I want to access to the video memory. In C I use _farsetsel without problems, but in Pascal I have a problem with the selector _dos_ds.
If it is an `unsigned short' (just guessing), then you can use
Var DosDS: asmname '_dos_ds' ShortCard;
Hope this helps,
Peter