中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-10-01 10:04
47,813 topics / 349,918 posts / today 0 new / 48,279 members
DOS学习入门 & 精彩文章 (教学室) » [Share] Explanation of the Configuration File of the config System
Printable Version  33,029 / 243
Floor76 hyq Posted 2003-06-15 00:00
初级用户 Posts 4 Credits 121
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!
Floor77 如是大师 Posted 2003-06-15 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
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..
Floor78 如是大师 Posted 2003-06-15 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
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....

  
Floor79 nre Posted 2003-06-15 00:00
银牌会员 Posts 361 Credits 1,210
Very objective, keep it up. Support.
Floor80 如是大师 Posted 2003-06-15 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Thanks, nre
Floor81 cao3960 Posted 2003-06-16 00:00
初级用户 Posts 3 Credits 113
Very good, I’ll learn it slowly.
Floor82 飞机 Posted 2003-06-16 00:00
初级用户 Posts 10 Credits 206
Wonderful! But it’s too short, it leaves people wanting more.
Floor83 s2000 Posted 2003-06-16 00:00
初级用户 Posts 1 Credits 105
Master Rushi:
You still haven’t explained what the format is for adding HIGH after the DEVICE command?
Floor84 如是大师 Posted 2003-06-16 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
It’s just DEVICEHIGH=the driver you need to load...
Floor85 goggoo Posted 2003-06-16 00:00
初级用户 Posts 33 Credits 195
Master Rushi really is very proficient in DOS!
Support support!
Floor86 dda Posted 2003-06-19 00:00
初级用户 Posts 9 Credits 129
, today your little brother is here to bump the thread.
Floor87 yulinbinwei Posted 2003-06-19 00:00
初级用户 Posts 23 Credits 172
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!
Floor88 如是大师 Posted 2003-06-19 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Mm.. I’ll organize it after I finish writing it.
Floor89 gugubag Posted 2003-06-20 00:00
初级用户 Posts 28 Credits 201
Too profound, it really takes time to study.
Floor90 海子 Posted 2003-06-21 00:00
初级用户 Posts 2 Credits 111
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 … 3 4 5 6 7 8 9 … 17  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023