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 Rugxulo Homepage, Usono, 15.08.2011, 22:29

> > > Is this problem new?
> >
> > I think that is new problem, older UIDE works with 16-bit DPMI
>
> No, the problem is old - I tested with some old versions of UIDE and even
> an old UDMA; they all crash.
>
> It's a bug in the Borland DOS-extender. For unknown reasons it crashes if
> the physical address of the XMS memory block that the extender allocates is
> beyond the 16MB border.

I don't know if "unknown" is the word here. 16-bit pmode never strictly targeted beyond 286 (16 MB), did it? I know you know this, just saying, BP7 is old old old and was presumably never designed to handle even the awareness of gigs of RAM!

> Here's a work-around that requires 2 changes in config.sys:
>
> 1. Option /R63 for UIDE, which makes UIDE not use extended memory from the
> first 64 MB, must be set.
> 2. Option /X2MAX32 for HimemX, which makes HimemX restrict XMS v2 max.
> memory to 32 MB, must also be set.

Isn't there possibly a better way at runtime without having "yet another" CONFIG.SYS option? Perhaps loading a big RAM disk (temporarily), e.g. SHSURDRV, to eat up some RAM? Or maybe "SET DPMIMEM=MAXMEM 16383" or whatever? (untested)

 

Complete thread:

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