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-07-23 05:44
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » My conventional memory isn't 640K [repost] View 753 Replies 3
Original Poster Posted 2003-07-18 00:00 ·  中国 山东 济南 联通
初级用户
Credits 157
Posts 20
Joined 2003-07-14 00:00
23-year member
UID 6873
Gender Male
Status Offline
config.sys
-------------------------
device=c:\himem.sys
device=c:\emm386.exe ram i=a000-a7ff i=b000-b7ff note this part
dos=high,umb
-------------------------
Here, ram can be replaced with noems
i=b000-b7ff can be removed
i=a000-a7ff is the key part
Test results

mem

Memory Type Total Used Free
---------------- -------- -------- --------
Conventional 672K 15K 657K
Upper 81K 32K 50K
Reserved 352K 352K 0K
Extended (XMS) 48,047K 323K 47,724K
---------------- -------- -------- --------
Total memory 49,152K 721K 48,431K

Total under 1 MB 753K 46K 707K

Largest executable program size 657K (673,024 bytes)
Largest free upper memory block 48K (49,392 bytes)
MS-DOS is resident in the high memory area.


mem /c /p

Modules using memory below 1 MB:

Name Total Conventional Upper Memory
-------- ---------------- ---------------- ----------------
SYSTEM 35,744 (35K) 10,656 (10K) 25,088 (25K)
HIMEM 1,120 (1K) 1,120 (1K) 0 (0K)
EMM386 3,200 (3K) 3,200 (3K) 0 (0K)
COMMAND 7,424 (7K) 0 (0K) 7,424 (7K)
Free 723,888 (707K) 673,024 (657K) 50,864 (50K)

Memory Summary:

Type of Memory Total Used Free
---------------- ----------- ----------- -----------
Conventional 688,128 15,104 673,024
Upper 83,376 32,512 50,864
Reserved 360,448 360,448 0
Extended (XMS) 49,199,696 330,320 48,869,376
---------------- ----------- ----------- -----------
Total memory 50,331,648 738,384 49,593,264

Total under 1 MB 771,504 47,616 723,888
Largest executable program size 673,008 (657K)
Largest free upper memory block 49,392 (48K)
MS-DOS is resident in the high memory area.
-----------
This method conflicts with some Chinese character support systems (for example UCDOS)
I don't know whether it conflicts with others, hehe
Floor 2 Posted 2003-07-18 00:00 ·  中国 香港
管理员
★★★★
專業島民
Credits 4,869
Posts 1,633
Joined 2002-12-10 00:00
23-year member
UID 465
Gender Male
Status Offline
我的網站:http://mw16.2ya.com/ 我的網誌: http://scrappedblog.blogspot.com/
~
我的Winamp正在播放的歌曲:
Floor 3 Posted 2003-07-18 00:00 ·  中国 香港
管理员
★★★★
專業島民
Credits 4,869
Posts 1,633
Joined 2002-12-10 00:00
23-year member
UID 465
Gender Male
Status Offline
Warning:
In theory, it may use upper memory at
A000..AFFF (VGA graphics) and
B000..B7FF (hercules adapter)

But some programs (or BIOS Int 10 functions) sometimes seem to write to this area,
so operating with this upper memory area is
strongly not recommendedA000-B7FF use it at your own risk


我的網站:http://mw16.2ya.com/ 我的網誌: http://scrappedblog.blogspot.com/
~
我的Winamp正在播放的歌曲:
Floor 4 Posted 2003-07-18 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Yeah... for example, if you use B000-B1FF, Win9x won't boot; if you use any area within B000-B7FF, PDOS95 will crash!
Wengier - 新DOS时代

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

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

Forum Jump: