中国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:47
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,034 / 243
Floor46 hesiemens Posted 2003-06-03 00:00
中级用户 Posts 51 Credits 261
It's not finished yet, right? Can it be made more systematic? It feels a bit like reading prose.
Floor47 如是大师 Posted 2003-06-03 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Sorry, friend, I have to find time to write it.。。Nobody's paying me a salary for this.。。Bear with it.。。Sorry.。。
Floor48 nickolas Posted 2003-06-04 00:00
中级用户 Posts 52 Credits 299
No problem, take it slow.
But do stick with it and finish writing.
Support you
Floor49 如是大师 Posted 2003-06-04 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Of course,,
Floor50 炫 Posted 2003-06-04 00:00
初级用户 Posts 1 Credits 101 From 河南
Reading this makes my head spin~
Floor51 weihua Posted 2003-06-04 00:00
初级用户 Posts 1 Credits 105
I am very grateful to the moderator for giving us newbies this chance to learn DOS. I've read all the posts above, and I learned most of it at school. But I didn't learn it well. I think the moderator could make an example! Let us learn interactively!
Floor52 如是大师 Posted 2003-06-04 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
There is a special clinic for diagnosing config files.
Floor53 cymojin Posted 2003-06-04 00:00
初级用户 Posts 5 Credits 117
Let me give this a good bump.
Floor54 zhouyong5120 Posted 2003-06-05 00:00
初级用户 Posts 13 Credits 153
Heavenly book!
Floor55 Englishboy Posted 2003-06-06 00:00
初级用户 Posts 5 Credits 125
Seeing all this stuff makes me very happy. Thank you, Master Rushi, and thanks to all the friends here too!!
Floor56 Englishboy Posted 2003-06-06 00:00
初级用户 Posts 5 Credits 125
Although I still can’t completely understand all of the above, I’m still very interested in it. I hope this continues—one day I’ll understand it all.
Floor57 yuxj073 Posted 2003-06-06 00:00
初级用户 Posts 3 Credits 115
Thanks, Master Rushi。。。。。。。。。。。。。。。。
Floor58 etb32 Posted 2003-06-06 00:00
初级用户 Posts 7 Credits 134
I know Master Rushi will say "you're welcome"
OHOH~~
Floor59 l1mei Posted 2003-06-06 00:00
初级用户 Posts 4 Credits 120
Thanks, the content is very good; I still can’t quite understand it! I wonder if you could share some practical experience?
Floor60 如是大师 Posted 2003-06-07 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Baizi asked about DOS memory. Generally, DOS memory is closely related to the config file. So I’ll talk about it here. In the early PC era, computer hardware only supported 1MB of address space. Back then, hard disks were luxury items. Operating systems ran from floppy disks. That was the age when PCTools and HDCopy ruled the scene. At that time, DOS, the main operating system, was also limited by the hardware and could only manage up to 1MB of contiguous memory space. Of this 1MB, only 640K was left for applications; this was called conventional memory or base memory. The other 384K was called upper memory, reserved for video display, BIOS, and so on. In 1982, 640K of memory seemed more than enough for microcomputers. People even thought 640K of memory could be used to do anything. Looking back now it seems a bit funny, but at the time, that really was the situation.
But now that times have developed to this point, memory in personal computers is easily measured in hundreds of MB. So, when we use DOS, do we still have to be limited by the so-called 640K memory limit? We can say no. We can use large memory through certain memory management tools.
Actually, by the Win95 era MS had already solved this problem quite well
Under DOS, there are the following four kinds of memory in the system:
  Conventional Memory;
  Upper Memory;
  Expanded Memory;
  Extended Memory.

  Conventional memory refers to the 0–640K memory area. Under DOS, ordinary applications can generally use only the system’s conventional memory, and therefore are all subject to the 640KB memory limit. Also, DOS itself, device drivers loaded in config.sys, and TSR programs run from autoexec.bat all take up some conventional memory, so the amount of conventional memory available to applications is less than 640K. Very often, we had to rack our brains organizing memory in order to leave enough conventional memory for applications with a bigger “appetite.” I imagine many DOS-era computer enthusiasts are deeply familiar with this.

  Upper memory refers to the 384K memory located above conventional memory. Programs generally cannot use this memory area, but EMM386.exe can activate part of upper memory, and it allows users to load certain device drivers and user programs into upper memory with Devicehigh or LH (that is, loadhigh). dos=high,umb also puts part of DOS into upper memory. Here, UMB is short for Upper Memory Block.

  Expanded memory was an early memory expansion standard, expandable up to 32M at most. To use expanded memory, a special expanded memory board had to be installed in the computer, and a manager for that board also had to be installed. Since expanded memory appeared before extended memory, most programs were designed to use expanded memory, but not extended memory. Because expanded memory was troublesome to use, it was phased out soon after extended memory appeared.

  Extended memory can only be used on 80286 or higher-class machines. At present, on nearly all DOS machines, memory above 1M is extended memory. Extended memory likewise cannot be used directly by DOS. After DOS 5.0, Himem.sys was provided as an extended memory manager, and we can manage extended memory through it. emm386.exe can emulate extended memory (XMS) as expanded memory (EMS), to satisfy some programs that require expanded memory.

  Finally, let me emphasize once more: no matter how large expanded memory or extended memory is, DOS applications can only run in conventional memory. Some programs can use a DOS extender (such as DOS4GW.exe and the like) to put the CPU into protected mode, thereby directly accessing extended memory; but note that once protected mode is entered, the computer has left the DOS state.


(This is something I organized based on related materials. Not finished yet, to be continued.)


Prev  1 2 3 4 5 6 7 … 17  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023