Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Gigabyte GA-B75M-D3V quick DOS test, XMS size detect.problem (Users)

posted by Japheth Homepage, Germany (South), 10.04.2013, 08:47

Ok, the problem is that the himems and jemm stop scanning the int 15h ax=e820h blocks once an available block of extended memory has been found.

addr 000000000, size 00009ec00, type 1 (available)
addr 00009ec00, size 000001400, type 2 (reserved)
addr 0000e0000, size 000020000, type 2 (reserved)
addr 000100000, size 01ff00000, type 1 (available) <--- makes them stop

To skip int 15h-e820h is no option, since int 15h-e801h also reports the size of the first block only.

FD himem/emm386 will behave identically, because the strategy was inherited from those tools.

I vaguely remember that there's a problem with managing multiple blocks. A simple solution might be to scan via e820h until the end and then use the largest block ( within the first 4 GB ). However, this might cause problems with SoundBlaster emulators, since, IIRC, they expect to be within the first physical 16 MB.

---
MS-DOS forever!

 

Complete thread:

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