Board logo

标题: 我的常规内存不是640k[转帖] [打印本页]

作者: fcicq     时间: 2003-7-18 00:00    标题: 我的常规内存不是640k[转帖]

config.sys
-------------------------
device=c:\himem.sys
device=c:\emm386.exe ram i=a000-a7ff i=b000-b7ff      注意这里
dos=high,umb
-------------------------
其中 ram 可换成 noems
i=b000-b7ff 可去掉
i=a000-a7ff 是关键部分
测试结果

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.            
-----------
此方法对某些中文系统(比如  UCDOS)会有冲突
其他是否有冲突不知道,呵呵
作者: Roy     时间: 2003-7-18 00:00
WARNING:
        in theory, its possible to use upper memory at
        A000..AFFF (VGA graphics) and
        B000..B7FF (hercules adapter)
        
        
        however some programs (or the BIOS INT 10 functions)
        seem to write _sometimes_ into this area,
        so operating with this memory area
        
            IS HIGHLY DISRECOMMENDED to use A000-B7FF
            
        use it at your own risk only            

作者: Roy     时间: 2003-7-18 00:00
警告:
理论上, 它可能使用上位记忆在
  A000..AFFF (VGA 图像) 和
  B000..B7FF 上(hercules adapter)

但是一些程序(或BIOS Int 10 功能)似乎有时写入这个区域,
所以操作以这段上位记忆是
極不建議使用A000-B7FF 使用它後果自负


[此贴子已经被作者于2003-7-18 17:38:07编辑过]



作者: Wengier     时间: 2003-7-18 00:00
是呀。。比如如果用B000-B1FF的话,Win9x就无法启动; 如果用了B000-B7FF中的任一区域的话,PDOS95就会死机!




欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) Powered by Discuz! 2.5