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-14 06:19
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » [Share] Explanation of the Configuration File of the config System View 31,250 Replies 243
Floor 76 Posted 2003-06-15 00:00 ·  中国 青海 西宁 电信
初级用户
Credits 121
Posts 4
Joined 2003-06-07 00:00
23-year member
UID 4301
Gender Male
Status Offline
Master Rushi: Hello!
Your article is quite good, especially the explanations are very detailed. What I wanted to say has already been said by everyone else. I hope you can organize your notes a bit, and then pin them! Thanks!
Floor 77 Posted 2003-06-15 00:00 ·  中国 湖北 武汉 蔡甸区 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Let’s keep talking about memory: typing so much really is uncomfortable..

2. Here I want to emphasize that the contents of config.sys and autoexec.bat must be kept streamlined. Don’t start those unnecessary TSRs, because these TSRs often occupy a lot of conventional memory. Another reason is that since I don’t have the kind of skilled technique that wengier has, keeping these two files simpler reduces the chances of errors. It also makes them easier to modify. Whenever I look at wengier’s configuration I get dazzled by it.

  If config.sys contains cache programs such as smartdrv.exe or PC-CACHE.COM, and also virtual disk commands like ramdrive.sys; xmsdsk.exe, you can remove them to save conventional memory. smartdrv.exe in particular uses a large amount of conventional memory. So wengier says PC-CACHE.COM is a bit better. If you must use ramdrive.sys, make sure the RAM disk is created in extended memory, not in conventional memory. Of course, it’s best to use xmsdsk, because it will place itself into XMS as well. Very nice.

  If config.sys contains the buffers command, the number of disk buffers specified by buffers should be reduced. Each buffer occupies 532 bytes of conventional memory. But reducing the number of disk buffers too much will cause some programs not to run properly. Generally, buffers should not be less than 15. This has already been discussed earlier, I’m just reiterating it here.

  If config.sys contains the lastdriver command, remove the command or set lastdriver a bit smaller, rather than something like astdriver=32. Because DOS creates a corresponding management block CDS in memory for each logical drive that is allowed to be accessed, and each CDS occupies more than 80 bytes of conventional memory.

  The order of the device and devicehigh commands in config.sys is very important. It affects the efficient use of memory and the correct operation of a series of programs during config.sys startup. In config.sys, device drivers are best installed in the following order:
  1 Himem.sys;
  2 device drivers that use extended memory;
  3 emm386.exe. If emm386 is used to emulate expanded memory and provide access to upper memory blocks (UMBs),
   then the EMM386 command line should include the RAM switch instead of NOEMS. NOEMS disables emm386.exe from emulating
   expanded memory, but it provides the largest available upper memory blocks for installing device drivers and running other programs.
  4 device drivers that use expanded memory;
  5 device drivers that use upper memory blocks (UMBs).

  As for autoexec.bat, my suggestion is still to keep it simple: remove those TSRs the user doesn’t need; if you don’t use the mouse at the command line, don’t install any mouse device driver, such as mouse.com, because you can type mouse.com at any time to use the mouse. Some other similar programs are the same too..
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 78 Posted 2003-06-15 00:00 ·  中国 湖北 武汉 蔡甸区 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
There’s one more point I forgot, let me add it.. We should keep this firmly in mind:
Install device drivers and run other TSR (memory resident) programs in upper memory (UMB) whenever possible. In other words, as long as high can be used, it absolutely should be used. When loading programs in the autoexec file, please also try to use the LH command as much as possible....

  
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 79 Posted 2003-06-15 00:00 ·  中国 北京 263网络通信股份有限公司
银牌会员
★★★
nre
Credits 1,210
Posts 361
Joined 2002-12-28 00:00
23-year member
UID 629
Gender Male
Status Offline
Very objective, keep it up. Support.

Teamwork !
Floor 80 Posted 2003-06-15 00:00 ·  中国 湖北 武汉 蔡甸区 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Thanks, nre
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 81 Posted 2003-06-16 00:00 ·  中国 河南 洛阳 联通
初级用户
Credits 113
Posts 3
Joined 2003-06-16 00:00
23-year member
UID 5264
Gender Male
Status Offline
Very good, I’ll learn it slowly.
Floor 82 Posted 2003-06-16 00:00 ·  中国 重庆 江北区 联通
初级用户
Credits 206
Posts 10
Joined 2002-11-04 00:00
23-year member
UID 145
Gender Male
Status Offline
Wonderful! But it’s too short, it leaves people wanting more.
Floor 83 Posted 2003-06-16 00:00 ·  中国 重庆 联通
初级用户
Credits 105
Posts 1
Joined 2003-06-16 00:00
23-year member
UID 5294
Gender Male
Status Offline
Master Rushi:
You still haven’t explained what the format is for adding HIGH after the DEVICE command?
Floor 84 Posted 2003-06-16 00:00 ·  中国 湖北 武汉 江夏区 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
It’s just DEVICEHIGH=the driver you need to load...
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 85 Posted 2003-06-16 00:00 ·  中国 天津 教育网
初级用户
入门
Credits 195
Posts 33
Joined 2003-05-30 00:00
23-year member
UID 2658
Gender Male
Status Offline
Master Rushi really is very proficient in DOS!
Support support!



Floor 86 Posted 2003-06-19 00:00 ·  中国 广东 广州 天河区 电信
初级用户
Credits 129
Posts 9
Joined 2003-06-14 00:00
23-year member
UID 5150
Gender Male
Status Offline
, today your little brother is here to bump the thread.
Floor 87 Posted 2003-06-19 00:00 ·  中国 四川 泸州 电信
初级用户
Credits 172
Posts 23
Joined 2003-06-19 00:00
23-year member
UID 5515
Gender Male
Status Offline
Big brother, your materials are good, they really are, they’re just a bit too messy. Organize them a little and it’ll be fine!
Floor 88 Posted 2003-06-19 00:00 ·  中国 湖北 武汉 硚口区 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Mm.. I’ll organize it after I finish writing it.
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 89 Posted 2003-06-20 00:00 ·  中国 广东 深圳 电信
初级用户
本论坛最笨的人
Credits 201
Posts 28
Joined 2003-06-18 00:00
23-year member
UID 5443
Gender Male
Status Offline
Too profound, it really takes time to study.
Floor 90 Posted 2003-06-21 00:00 ·  中国 重庆 大足区 电信
初级用户
Credits 111
Posts 2
Joined 2003-06-19 00:00
23-year member
UID 5510
Gender Female
Status Offline
Master Rushi, for a beginner like me, the content is understandable, but I hope you can organize it more systematically. It would be best to use a concrete example to explain it, that way we can understand it better.
‹ Prev 1 4 5 6 7 8 17 Next ›
Forum Jump: