Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

HimemSX, another HimemX variant (Announce)

posted by Zyzzle, 22.10.2020, 03:38

> Hello,
>
> I'm proudly announcing HimemSX, source to be found on github:
>
> https://github.com/Baron-von-Riedesel/HimemSX
>
> HimemSX is an XMM, implementing XMS v3.5.
>
> The SX in HimemSX stands for "Super-eXtended" - HimemSX can manage extended
> memory up to 1 terrabyte :-D .
>
> To allow some tests with this "super tool", there's a patched version, also
> on github, of Jack R. Ellis' nice tool RDISK ( a ramdisk driver ). It uses
> HimemSX's new functions to allocate its XMS memory beyond the 4 GB barrier,
> thus it doesn't need any "legacy" extended memory.
>
> Here's the HimemSX readme:
> https://github.com/Baron-von-Riedesel/HimemSX/blob/master/Readme.txt

I compiled HimemSX with JWASM and it works, with interesting results.

I also patched the included RDISKSX.COM to allow the creation of up to a 4095M ramdrive, from 2047M. Above 2048M, the ramdrive is created as FAT16 with the 64-kb cluster size. Beyond 4GB for ramdrive is impossible without a FAT32 ramdrive for DOS and / or sector size > 512 bytes.

The interesting result is that XMS function call ah=0x89 via access at 0x0c9 results in about 50x slower XMS throughput. That is the rate of filling a 2048M file of 0x00 onto the ramdrive is about 100 MB/sec using 0x0c9 to access XMS beyond the 4GB barrier, while accessing XMS the "old" way results in writing a 2GB file of nulls in about 0.5sec. Of course, it is impossible to write a file of >2047M because of the signed 32-bit limit in filelength. Or, is there some patch to DOS which will allow the creation the file to its 32-bit unsigned maximum value of 4096M-1 byte?

I'm super impressed, but is the slowdown the expected behavior?

I am unable to attach the 6.8 kb binary of my compiled version of HIMEMSX to this post for others to test. The ZIP includes the patched version of RDISKSX.COM as well.

 

Complete thread:

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