02-17-2004, 05:18 PM
Well, aside from a couple minor reasons (shhh).
Anyway, if anyone is running in Pure DOS anymore (haha) or running DOS in a Virtual Machine (like Connectix (now M$) VirtualPC or VMWare) then Mem32Drv is waaaaaaaaay better then EMS.
EMS Pros:
+ Windows maintains compatability;
+ Manages Upper Memory.
Mem32 Pros:
+ Allows *full* 32-bit access to all the system memory from real-mode;
+ Simple API which works like DOS's memory functions;
+ No memory paging, mapping or copying to get access to your chunk of memory;
+ Tiny 4K driver.
EMS Cons:
+ Sloooooooooooooooow;
+ Paging is very clunky;
+ Manages Upper Memory;
+ Huge 120K driver.
Mem32 Cons:
+ Doesn't work when the CPU is in virtual mode (no Windows or EMS);
+ No Upper Memory available;
+ Manages memory through (S)XMS and/or DOS.
Anyway, it's a neat little memory manager and it would be very cool to see people do something with it. It comes with a few examples to show how it works.
http://uregina.ca/~cowles1e/mem32drv.rar
http://uregina.ca/~cowles1e/mem32drv.zip
Anyway, if anyone is running in Pure DOS anymore (haha) or running DOS in a Virtual Machine (like Connectix (now M$) VirtualPC or VMWare) then Mem32Drv is waaaaaaaaay better then EMS.
EMS Pros:
+ Windows maintains compatability;
+ Manages Upper Memory.
Mem32 Pros:
+ Allows *full* 32-bit access to all the system memory from real-mode;
+ Simple API which works like DOS's memory functions;
+ No memory paging, mapping or copying to get access to your chunk of memory;
+ Tiny 4K driver.
EMS Cons:
+ Sloooooooooooooooow;
+ Paging is very clunky;
+ Manages Upper Memory;
+ Huge 120K driver.
Mem32 Cons:
+ Doesn't work when the CPU is in virtual mode (no Windows or EMS);
+ No Upper Memory available;
+ Manages memory through (S)XMS and/or DOS.
Anyway, it's a neat little memory manager and it would be very cool to see people do something with it. It comes with a few examples to show how it works.
http://uregina.ca/~cowles1e/mem32drv.rar
http://uregina.ca/~cowles1e/mem32drv.zip