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-13 07:03
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » What’s the difference between EMS and XMS? View 1,581 Replies 5
Original Poster Posted 2005-03-27 00:00 ·  中国 上海 长宁区 电信
初级用户
Credits 120
Posts 4
Joined 2005-03-17 00:00
21-year member
UID 37155
Gender Male
Status Offline
I remember EMS and XMS being called “expanded memory” and “extended memory,” but I’m not clear on what the difference really is, so I wanted to ask. Is there any detailed documentation?
Floor 2 Posted 2005-03-29 00:00 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Older DOS programs need EMS, limited to 32MB
EMS came first, then XMS

Floor 3 Posted 2005-08-08 02:05 ·  中国 广东 广州 越秀区 电信
初级用户
★★
Credits 115
Posts 52
Joined 2005-08-07 22:10
21-year member
UID 41435
Gender Male
Status Offline
Originally posted by GOTOmsdos at 2005-3-29 00:00:
Older DOS programs need EMS, limited to 32MB
EMS came first, then XMS


愿你们永远开心
Floor 4 Posted 2005-08-09 20:31 ·  IANA 局域网IP(Private-Use)
钻石会员
★★★★★
Credits 10,056
Posts 3,041
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
EMS is read using page mapping, and when reading or writing EMS it still needs to occupy part of the low address space.
That’s why if emm386 is used with the ram parameter, the available conventional memory decreases. So I usually use the noems parameter.
简单就是美
Floor 5 Posted 2005-08-11 13:41 ·  中国 香港
银牌会员
★★★
阿林
Credits 1,410
Posts 497
Joined 2004-06-28 00:00
22-year member
UID 27551
Gender Male
From 九龍,香港
Status Offline
Originally posted by Greentea at 2005-3-27 12:00 AM:
I remember EMS and XMS being called “expanded memory” and “extended memory,” but I’m not clear on what the difference really is, so I wanted to ask. Is there any detailed documentation?


Extend requires Protectd Mode, needs a 286 or above, direct linear access, there is no such thing as "paging"

Expand only needs Real Mode, even an 8086 can use it, it divides memory into 64K "pages", and uses pages for access
我 的 網 站 - http://optimizr.dyndns.org
Floor 6 Posted 2007-06-16 17:38 ·  中国 江西 南昌 电信
中级用户
★★
Credits 486
Posts 171
Joined 2006-02-12 13:53
20-year member
UID 50233
Status Offline
Seems like you got it backwards, right? XMS came first and then EMS.
Those who do not study the past are condemned to repeat it
Forum Jump: