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-06-26 21:26
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » DOS is a 16-bit system, so in theory it should only support 64K RAM. Why... View 2,381 Replies 15
Original Poster Posted 2003-07-01 00:00 ·  萨摩亚
初级用户
Credits 135
Posts 7
Joined 2002-12-26 00:00
23-year member
UID 609
Gender Male
Status Offline
DOS is a 16-bit system,
so in theory it should only support 64K RAM.
2^16=65536=64K
Why can DOS support 64M RAM?
(1024 times)
Floor 2 Posted 2003-07-01 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
At present the maximum DOS supports is 4GB, using the XMS 3.0 specification.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2003-07-05 00:00 ·  中国 上海 上海地面通信息网络有限公司
初级用户
Credits 135
Posts 7
Joined 2002-12-26 00:00
23-year member
UID 609
Gender Male
Status Offline
Then by what method does it make DOS, which in theory should only support 64K RAM,
support 64M RAM or even 4G RAM?

Thanks
Floor 4 Posted 2003-07-06 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Real-mode DOS is 16-bit, but protected-mode DOS is 32-bit. That is to say, DOS is a mixed 16-bit and 32-bit operating system.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 5 Posted 2003-07-06 00:00 ·  中国 香港
管理员
★★★★
專業島民
Credits 4,869
Posts 1,633
Joined 2002-12-10 00:00
23-year member
UID 465
Gender Male
Status Offline
The following is quoted from Wengier's post on 2003-7-6 4:38:21:
Real-mode DOS is 16-bit, but protected-mode DOS is 32-bit. That is to say, DOS is a mixed 16-bit and 32-bit operating system.
But then how do you explain that real-mode DOS can use 1M of memory?
我的網站:http://mw16.2ya.com/ 我的網誌: http://scrappedblog.blogspot.com/
~
我的Winamp正在播放的歌曲:
Floor 6 Posted 2003-07-06 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
For real-mode DOS, if you want to access memory above 1MB, generally the only way is through XMS/EMS memory... But for protected-mode DOS, accessing memory above 1MB is much easier...
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 7 Posted 2003-07-07 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
Nobody uses EMS anymore~
MSN:tiqit2@hotmail.com
Floor 8 Posted 2003-07-07 00:00 ·  中国 河南 驻马店 联通
金牌会员
★★★★
龙哥DOS
Credits 4,289
Posts 1,501
Joined 2003-02-23 00:00
23-year member
UID 983
Gender Male
From 河南省
Status Offline
That is what is called extended memory.
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
C++ ☆☆☆ 中国DOS联盟成员 ☆☆☆ C++
C++ ★★★ 爱提问的红色狂想 ★★★ C++
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
Floor 9 Posted 2003-07-07 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
I don't really know the terminology used in the mainland...
In Taiwan:
The Chinese translation of XMS is "extended memory"
The Chinese translation of EMS is "expanded memory"
MSN:tiqit2@hotmail.com
Floor 10 Posted 2003-07-07 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Actually even in the mainland, the translations of XMS and EMS get mixed up, so it's much more convenient just to use XMS and EMS.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 11 Posted 2003-07-13 00:00 ·  中国 香港 新世界电讯宽频服务
初级用户
Credits 135
Posts 7
Joined 2002-12-26 00:00
23-year member
UID 609
Gender Male
Status Offline
What I mean is only ordinary MS/PC/DR-DOS, not some new super DOS or DOS with some software added. Exactly what method is used to handle memory beyond 64K?
I firmly believe DOS is a 16-bit operating system, not a 16/32 mixed operating system.
Reason:
A 286 can use 2M, but it has no 32-bit capability, and DOS could already run on the 286.
So I believe DOS is not a 16/32 mixed operating system.
Rather, it uses some method to manage memory beyond 64K.
Floor 12 Posted 2003-07-13 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
DOS really is a 16/32-bit mixed operating system! The real mode of DOS (except FreeDOS 32) is 16-bit, while 32-bit mode can only be realized when both hardware (386+) and software (DPMI/VCPI etc.) support it!

Therefore, without any software or drivers at all (including HIMEM.SYS, EMM386.EXE, etc.), DOS (except FreeDOS 32) cannot support 32-bit, nor can it access memory above 1MB. But once the hardware supports it, then by loading DOS memory/protected-mode drivers such as XMS, EMS, VCPI, DPMI, DPMS, DOS can completely do all of the above.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 13 Posted 2003-07-13 00:00 ·  中国 广东 广州 天河区 电信
初级用户
★★
Credits 282
Posts 80
Joined 2003-04-10 00:00
23-year member
UID 1468
Gender Male
Status Offline
The following is quoted from Wengier's post on 2003-7-13 2:08:15:

Therefore, if there is no software or driver at all (including HIMEM.SYS, EMM386.EXE, etc.), DOS (except FreeDOS 32) cannot support 32-bit operation, nor can it access memory above 1MB. But once the hardware supports it, then by loading DOS memory/protected-mode drivers such as XMS, EMS, VCPI, DPMI, DPMS, and so on, DOS can fully do all of the above.


Then what about USB? Under what mode does a USB hard disk have to be in so that it can be properly activated and booted?
Floor 14 Posted 2003-07-18 00:00 ·  巴基斯坦
初级用户
Credits 135
Posts 7
Joined 2002-12-26 00:00
23-year member
UID 609
Gender Male
Status Offline
Then how does DOS handle 2M of memory on a 286?
Floor 15 Posted 2003-07-20 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Using 32-bit on a 286 computer is naturally not possible, but you can still use XMS, EMS, etc. to access memory above 1MB...
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Forum Jump: