Mail Archives: djgpp/1995/05/25/15:23:18
>>>>> On Thu, 25 May 1995 12:27:27 +1000 (EST), "Junaid A. Walker" <junaid AT dino DOT eng DOT monash DOT edu DOT AU> said:
Junaid> BTW the hack seems to work with OS/2, qdpmi101 (a wonder
Junaid> anything works under qdpmi), and most probably everything else.
Junaid> Would people please test the program under different DPMI
Junaid> providers? Eg 386Max, Win NT, OS/2 2.x, OS/2 Warp, Linux DOS
Junaid> emulator, etc. Presumably all dpmi providers add 1 to
Junaid> the segment limit, to get the segment size, and with 32-bit ints
Junaid> this invariably wraps around to 0 which is permissible
Junaid> (=>disable segment access?). So the hack is going to work for a
Junaid> long time to come, provided dpmi servers dont get smart and test
Junaid> for a segment limit of -1.
It won't work under Linux, DOSEMU of Linux don't allow a selector to be
set if (base+limit < base) || (base + limit >= 0xc0000000). I guess this
make DOSEMU the only smart DPMI host around :=).
---
Dong Liu <dliu AT ace DOT njit DOT edu>
Electrical and Computer Engineering Department
New Jersey Institute of Technology, Newark, NJ 07102
- Raw text -