Mail Archives: djgpp/1996/09/19/06:28:53
>>>>> "Thomas" == Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De> writes:
Thomas> Alaric Williams (I think) wrote an extension for djgpp to
Thomas> lock memory without using a ring 0 server. So you can have
Thomas> virtual memory and a physical memory address for your
Thomas> buffers. The buffer will not be below 640kB, thus will not
Thomas> eat up precious DOS memory.
Unfortunately my second method of virtual to physical address
translation also relies on the ability to get the value of the CR3
register. (It contains the physical address of the page directory
table, used (surprisingly enough) to translate linear to physical
addresses). CR3 can only be read when running at ring 0, or in real
mode.
-- Neil Jarvis, Proteon International R&D, York, UK. (Neil DOT Jarvis AT proteon DOT com)
- Raw text -