China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-12 07:16
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » 【Share】Both software and hardware need to be taken into account, extreme optimization of DOS memory View 3,737 Replies 1
Original Poster Posted 2011-01-08 08:13 ·  阿根廷
中级用户
★★
Credits 438
Posts 146
Joined 2004-03-10 00:00
22-year member
UID 19720
Gender Female
Status Offline
Everything lies in sharing. I remember seeing a sentence somewhere: if everyone doesn't know how to share and everyone is Googling what they want, in a short while, everyone won't be able to Google anything.

I downloaded many out-of-print Chinese and Western DOS software from Huilong Software and Qibu Network yesterday. Only I know how I feel. The classic software on Qibu Network, in fact, I had it ten years ago. Later, due to an accident, the data was lost. And Qibu Network can't be accessed anymore, and that was for many years. I searched hard but couldn't replenish so many. Today I finally replenished them. This time I learned my lesson, backing up with USB drives, CDs, and dual hard drives to prevent accidents, heh heh

Because my work is relatively special, I come into contact with thousands of computers. Don't get me wrong, it's not that I collect e-waste
I found that there are several things that have a great impact on UMB capacity in terms of hardware, such as motherboards, graphics cards, network cards, etc.

Hardware:

The motherboard I use is SOYO K7VTA PRO
When you flash the BIOS of this motherboard to a version above 2AA7, you will lose part of the UMB
The reason is that the BIOS of versions above this will support USB boot, and this function will occupy 32KB or 48K of UMB, whether you use a USB drive or not
Solution: Flash the BIOS to 2AA7, which doesn't support USB boot, but you will get UMB. But this version only supports up to ATHLON XP 2100+ CPU and doesn't support hard drives larger than 137G. There's no way around it, just for UMB..

If you use "high-end network cards" like 3COM, you will lose about 5KB of UMB, probably due to the BOOT ROM on the network card
Solution: Replace with some "low-end network cards" like 8139

Some chip-based graphics cards may lose 16KB of UMB, such as a certain brand's S3 Savage 2000 graphics card. There should be other chips, but it hasn't been tested
Solution: Replace with graphics cards of other brand chips. I use G400MAX, and this graphics card doesn't lose UMB

The above are my personal practical operation experiences for many years, which are real and reliable! I特此 share them! Hope to give some friends inspiration

If your conditions are limited and you can't replace hardware, then you can only start from software and try to get more UMB

Under normal circumstances, you will get 219KB of UMB. Adding the NOHIGH parameter will get 224KB of UMB

If Windows 3.2 crashes after such optimization, it's the graphics card problem I mentioned earlier. It's recommended to replace the graphics card to solve it. This method is the best! Or remove part of the parameters of EMM386, but it will reduce your UMB.. heh heh

The software optimization method comes from the network. Here only the link is given
http://club.163.com/viewElite.m?catalogId=1194&eliteId=1194_100d1dda3cb0004

After testing, it's completely effective. I got 224KB of UMB on my computer hardware setup
Computer configuration is as follows:
SOYO K7VTA PRO (BIOS 2AA7), note that it can't be flashed to a higher version, heh heh
G400MAX graphics card
8139 ordinary network card
AWE64 GOLD sound card
Floor 2 Posted 2011-01-08 08:18 ·  阿根廷
中级用户
★★
Credits 438
Posts 146
Joined 2004-03-10 00:00
22-year member
UID 19720
Gender Female
Status Offline
Note, how to judge whether your hardware affects UMB capacity

Just do the following in CONFIG.SYS
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE NOEMS
DOS=HIGH,UMB
BUFFERS=40
FILES=40

If after booting you use MEM and find that UMB is less than 155KB, it means there is a problem with one of your hardware, it is recommended to replace it!
Forum Jump: