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 05:32
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » [Share] Explanation of the Configuration File of the config System View 31,231 Replies 243
Floor 46 Posted 2003-06-03 00:00 ·  中国 广东 佛山 禅城区 电信
中级用户
★★
Credits 261
Posts 51
Joined 2003-05-01 00:00
23-year member
UID 1789
Gender Male
Status Offline
It's not finished yet, right? Can it be made more systematic? It feels a bit like reading prose.
Floor 47 Posted 2003-06-03 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Sorry, friend, I have to find time to write it.。。Nobody's paying me a salary for this.。。Bear with it.。。Sorry.。。
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 48 Posted 2003-06-04 00:00 ·  中国 福建 厦门 教育网
中级用户
★★
Credits 299
Posts 52
Joined 2003-05-19 00:00
23-year member
UID 2218
Gender Male
Status Offline
No problem, take it slow.
But do stick with it and finish writing.
Support you
Floor 49 Posted 2003-06-04 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Of course,,
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 50 Posted 2003-06-04 00:00 ·  中国 河南 南阳 联通
初级用户
〓炫〓
Credits 101
Posts 1
Joined 2003-06-04 00:00
23-year member
UID 3394
Gender Male
From 河南
Status Offline
Reading this makes my head spin~
如果晚上你去我家一定会把你拉进卧室,锁上门,疯狂的把你推倒在床上关上灯,蒙上被子,张开双臂
然后告诉你:"瞧我的手表...是夜光的~!.
┌────────────────┐
│▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉│ loading...100%
└────────────────┘
Floor 51 Posted 2003-06-04 00:00 ·  中国 江苏 南京 联通
初级用户
新手
Credits 105
Posts 1
Joined 2003-06-04 00:00
23-year member
UID 3440
Gender Male
Status Offline
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!
你好!!
Floor 52 Posted 2003-06-04 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 is a special clinic for diagnosing config files.
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 53 Posted 2003-06-04 00:00 ·  中国 山西 晋中 太谷区 联通
初级用户
Credits 117
Posts 5
Joined 2003-06-04 00:00
23-year member
UID 3505
Gender Male
Status Offline
Let me give this a good bump.
Floor 54 Posted 2003-06-05 00:00 ·  中国 浙江 宁波 象山县 电信
初级用户
Credits 153
Posts 13
Joined 2003-06-04 00:00
23-year member
UID 3406
Gender Male
Status Offline
Heavenly book!
Floor 55 Posted 2003-06-06 00:00 ·  中国 湖北 恩施土家族苗族自治州 电信
初级用户
Credits 125
Posts 5
Joined 2003-06-05 00:00
23-year member
UID 3699
Gender Female
Status Offline
Seeing all this stuff makes me very happy. Thank you, Master Rushi, and thanks to all the friends here too!!
Floor 56 Posted 2003-06-06 00:00 ·  中国 湖北 恩施土家族苗族自治州 电信
初级用户
Credits 125
Posts 5
Joined 2003-06-05 00:00
23-year member
UID 3699
Gender Female
Status Offline
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.
Floor 57 Posted 2003-06-06 00:00 ·  中国 黑龙江 哈尔滨 联通
初级用户
Credits 115
Posts 3
Joined 2003-06-06 00:00
23-year member
UID 3914
Gender Male
Status Offline
Thanks, Master Rushi。。。。。。。。。。。。。。。。
Floor 58 Posted 2003-06-06 00:00 ·  中国 湖北 武汉 电信
初级用户
斬人拔刀齋
Credits 134
Posts 7
Joined 2003-06-06 00:00
23-year member
UID 3965
Gender Male
Status Offline
I know Master Rushi will say "you're welcome"
OHOH~~
Floor 59 Posted 2003-06-06 00:00 ·  中国 山东 聊城 联通
初级用户
Credits 120
Posts 4
Joined 2003-06-04 00:00
23-year member
UID 3526
Gender Male
Status Offline
Thanks, the content is very good; I still can’t quite understand it! I wonder if you could share some practical experience?
Floor 60 Posted 2003-06-07 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
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.)


弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Forum Jump: