Mail Archives: djgpp/2000/06/23/11:41:16
Eli Zaretskii wrote:
>
> They don't fail for me. Since you didn't post even a simple code
> fragment that hows how did you use them, and didn't tell what does
> ``both failed'' mean, I can only guess what could have gone wrong.
>
> One possibility is that your controller is mapped into the program's
> address space with a call to __dpmi_physical_address_mapping (see
> section 18.7 of the FAQ).
It is right.
> If that is the case, you cannot use dosmem*
> functions because they implicitly assume the use of the _dos_ds
> selector, which doesn't include the memory mapped in by
> __dpmi_physical_address_mapping. But you still should be able to use
> movedata, which is also faster than _farpeek* and _farpoke*.
I'll try movedata.
>
>
> If my guess is wrong, please post the missing info.
Thank you, Eli.
- Raw text -