Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

BORLAND DPMI-16bit - a workaround for this issue (Announce)

posted by Japheth Homepage, Germany (South), 16.08.2011, 03:37
(edited by Japheth on 16.08.2011, 03:50)

> I don't know if "unknown" is the word here. 16-bit pmode never strictly
> targeted beyond 286 (16 MB), did it?

Yes, but the Borland extender is not really "286 only", because then it would restrict itself to allocate 16 MB - or 15 MB. However, it tries to allocate almost 64MB (65535 kb).

My guess is: the Borland extender uses the 16-bit version of LGDT or LIDT, which works with 24-bit addresses only. If you can find the occurances of these instructions in the extender, a patch may be possible. However, the patch may be tricky, because the 32-bit versions of these instructions requires an additional byte (66h).

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 347 users online (0 registered, 347 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum