Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

cwsdpmi version? Possible fix for Borland tools. (Announce)

posted by Japheth Homepage, Germany (South), 03.11.2020, 15:11
(edited by Japheth on 04.11.2020, 05:05)

> This is enough to make DJGPP programs run. I guess that CWSDPMI is trying
> to reuse freed handle 8e0 instead of handles 8c2 or 8b8 and it makes it
> happy.

But cwsdpmi has no control about what handle it is to receive or what free block the XMM is using to satisfy the request. For allocations, the XMM has no "best fit" strategy, it always uses the first free block that's large enough.

What's that handle 8d6 (65696 kb)? Who has allocated it? It might be an application that uses more memory than allocated, thus trashing the adjacent memory...

> Do you have some debug tool that could trap XMS calls and log them? It
> could help to see what CWSDPMI is doing with it...

Jemm has a debug version, with selective displays, one could create a version that displays xms calls onto the screen. It can't write to a file, though.

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 262 users online (1 registered, 261 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum