In another thread, I previously stated:
> Memory is capped at 1GB for WinSE by HIMEMX, but full 4GB
> should be available in MS-DOS. I've not confirmed though.
and,
> Actually, after playing around a bit with HIMEMX. It now recognizes 2GB
> after adding /NUMHANDLES=128 to it's config.sys line. WinSE is capped
> to 1GB via "MaxPhysPage=3FFFF" in system.ini.
>
> I'm not sure why HIMEMX isn't mapping more memory.
Well, I now know why I wasn't getting more memory with HIMEMX. It wasn't
HIMEX that was the problem ...
HIMEMX v3.32 (Japheth's 2007 fixes) maps all XMS memory that's available.
That's 4GB minus 768MB or so for via MMIO (video card), PCI bus, and BIOS
mapping which leaves about 3.2 or 3.4GB. However, I was using Franck
Uberto's XMSDSK (v1.9i) to setup a 100MB ramdisk. It reports just over
100MB by DIR. However, Japheth's XMSSTAT (in his JEMM package) shows it's
allocating a total of 1GB! It's allocating 10x as much as it should! I
confirmed the allocation with another XMS status program called XMSTAT. It
also seems to use about 60 XMS file handles, eventually freeing 30 of those.
XMSDSK also has problems if XMS is not capped at 2GB or less. We can guess
why now ...
I did find a 3.33 patch for HIMEMX here that Japheth apparently missed:
http://www.bttr-software.de/forum/board_entry.php?id=6445
That patch has 3 corrections, and 2 errors - 2 unecessary text lines ...
The comments mentions another fix for DRIVER_VER. And, I found one other
error. The second driver version value should be in hex also. This error
is in 3.32 too. v3.32 reports version 3.20 instead of 3.32 because of it.
E.g.,
DRIVER_VER equ 300h+33h
Japheth's HIMEMX and JEMM
http://www.japheth.de/Jemm.html
Unfortunately, I'm not able to rebuild HIMEMX correctly. I had to use
JWasm v2.05 v with OpenWatcom's Wlink from v1.3 instead of the recommended
utilities. That combination produces an incorrect exe header which causes
the info screen to display incorrectly. I'll be attempting to locate the
incorrect memory for the older machine, i.e., 64MB vs 256MB problem, with
HIMEMX shortly. I suspect HIMEMX may need another BIOS call to query
memory.
XMSDSK is on Simtel and other sites. I hope somebody fixes it. Marko
Kohtala's SRDISK didn't seem to work with WinSE ... Can someone else
suggest an XMS ramdisk that works for both (DOS, WinSE)?
Rod Pemberton