中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-06-13 21:04
楼 主 关于DOS内存的一个问题 发表于 2009-12-14 12:56 ·  中国 广东 广州 教育网
新手上路
积分 5
发帖 2
注册 2009-08-24 09:20
UID 150893
性别 男
状态 离线
我在DOS下运行一个DOS游戏的时候出现了错误,初步是内存分配的问题。用mem查看了一下,显示如下信息:

Memory Type Total = Used + Free
---------------- -------- -------- --------
Conventional 640K 111K 529K
Upper 0K 0K 0K
Reserved 0K 0K 0K
Extended (XMS) 1,833,66 4,336K 1,829,32
---------------- -------- -------- --------
Total memory 1,834,30 4,447K 1,829,85

Total under 1Mb 640K 111K 529K

Total Expanded (EMS) 33,152K (33,947,648 bytes)
Free Expanded (EMS) 32,768K (33,554,432 bytes)

Total Extended (XMS) 1,833,66 (1,877,671,936 byte
Free Extended (XMS) 1,829,32 (1,873,231,872 byte

Largest executable program size 529K (541,264 bytes)
Largest free upper memory block 0K (0 bytes)
Available space in High Memory Area 5K (5,312 bytes)
MS-DOS is resident in the high memory area.

以上信息有错误,一般来说UMB应该是384KB吧?而以上显示的为零。如何解决?谢谢!
论坛跳转: