Mail Archives: djgpp/1998/03/28/12:46:52
In article <9pFc+WA$oMH1EwRj AT talula DOT demon DOT co DOT uk>,
Shawn AT talula DOT demon DOT co DOT uk says...
> I just wanted to check how practical this would actually be, and
> for now it seems like my best plan will be to develop the code under
> win95, and then once I have something working, either look at ways to
> make CWSDPMI support it myself, or start pestering you to add it!
Why don't you use the "Fat DS" hack, which works under Win95 and DOS.
Sandmann has an example out there of how to use it to directly access
the VESA 2.0 linear frame buffer. If I understand you correctly,
you want to be able to do a PCI bus master transfer under both Win95
and DOS. To do this you could allocate a suitably sized and aligned
buffer, anywhere in memory. You would then lock the allocated memory
and get its physical address.
--
Samir Barjoud
samir AT mindspring DOT com
- Raw text -