📄 4.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0049)http://www.hongen.com/pc/newer/os/dos/dos0504.htm -->
<HTML><HEAD><TITLE>洪恩在线 - DOS</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
href="4.files/home.css" rel=stylesheet><LINK href="4.files/tools.css"
rel=stylesheet>
<META content=电脑,乐园,交互,教程,操作系统,DOS,系统配置 name=keywords>
<META content="MSHTML 6.00.2800.1561" name=GENERATOR></HEAD>
<BODY text=black bgColor=white leftMargin=0 topMargin=10 marginheight="10"
marginwidth="0"><!--顶部开始-->
<SCRIPT language=Javascript src="4.files/head.js"></SCRIPT>
<!--顶部结束-->
<TABLE height=20 cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD class=p1 align=left bgColor=#e8e8e8 height=19><IMG height=8
src="4.files/blank.gif" width=12><FONT color=#ff9966>当前位置</FONT>:<A
class=under href="http://www.hongen.com/default.htm">洪恩在线</A> -> <A
class=under href="http://www.hongen.com/pc/index.htm">电脑乐园</A> ->
DOS</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD height=15></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD class=p1 style="COLOR: blue" vAlign=top align=left width=145
bgColor=#e8e8e8><IMG height=10 src="4.files/blank.gif" width=1
align=center><BR>
<TABLE borderColor=#f8ac0e height=20 cellSpacing=0 cellPadding=0 width=128
align=left border=0>
<TBODY>
<TR vAlign=center bgColor=#000099>
<TD class=p2 align=middle width=115><B><FONT
color=#ffffff>DOS</FONT></B></TD>
<TD width=13 bgColor=#e8e8e8 height=20><IMG height=20
src="4.files/title_00.gif" width=13></TD></TR></TBODY></TABLE>
<P style="LINE-HEIGHT: 17pt" align=left> </P>
<P style="LINE-HEIGHT: 17pt"> 一 <SPAN class=p1><A
href="http://www.hongen.com/pc/newer/os/dos/dos0101.htm">DOS概述及入门</A></SPAN><BR> 二
<SPAN class=p1><A
href="http://www.hongen.com/pc/newer/os/dos/dos0201.htm">DOS的常用命令</A></SPAN><BR> 三
<SPAN class=p1><A
href="http://www.hongen.com/pc/newer/os/dos/dos0301.htm">DOS命令集锦</A></SPAN><BR> 四
<SPAN class=p1><A
href="http://www.hongen.com/pc/newer/os/dos/dos0401.htm">使用批处理文件</A></SPAN><BR> 五
<SPAN class=p1>如何进行系统配置</SPAN><BR> ※ <SPAN class=p1><A
href="http://www.hongen.com/pc/newer/os/dos/dos0501.htm">为什么要做系统配置</A></SPAN><BR> ※
<SPAN class=p1><A
href="http://www.hongen.com/pc/newer/os/dos/dos0502.htm">用CONFIG.SYS配置</A></SPAN><BR> ※
<SPAN class=p1><A
href="http://www.hongen.com/pc/newer/os/dos/dos0503.htm">了解DOS下的内存</A></SPAN><BR> ※
获得更多常规内存<BR> ※ <A
href="http://www.hongen.com/pc/newer/os/dos/dos0505.htm">进行多种系统配置</A><BR> 六
<SPAN class=p1><A
href="http://www.hongen.com/pc/newer/os/dos/dos0601.htm">出错提示与对策</A></SPAN><BR> 七
<SPAN class=p1><A
href="http://www.hongen.com/pc/newer/os/dos/dos0701.htm">其它</A></SPAN>
<P style="LINE-HEIGHT: 17pt" align=center><BR><BR>
<P class=p1 align=center><A
href="http://www.hongen.com/pc/bin/msg.pl?file_id=dos_1" target=_blank
traget="_black"><IMG height=54 alt=请您留言 src="4.files/message.gif" width=64
border=0><BR>谈谈您的看法</A> <BR>
<SCRIPT language=javascript>speak_num="za"</SCRIPT>
<SCRIPT language=javascript src=""></SCRIPT>
<SCRIPT language=javascript>var num=0if (!isNaN(speak_num)){ num=speak_num;}else{ num=0}document.writeln ("已有")document.writeln (num)document.writeln ("条发言")</SCRIPT>
</P>
<P style="LINE-HEIGHT: 17pt" align=center><BR> <BR> </P></TD>
<TD width=1 bgColor=#0586d7 height=304><IMG height=1
src="4.files/blank.gif" width=1> </TD>
<TD vAlign=top width=614 background=4.files/line.gif bgColor=#ffffff>
<TABLE width="95%" align=center border=0>
<TBODY>
<TR>
<TD>
<P align=center><BR><B class=p3>如何进行系统配置</B></P>
<P> ——获得更多常规内存
<DIV class=p2 style="LINE-HEIGHT: 17pt">
<P><SPAN
class=p2> DOS环境下的大部分程序都是在常规内存中运行,如果某个程序由于内存不够而运行失败,最常见的问题就是常规内存不足。下面介绍几种常用的释放常规内存的方法:
</SPAN>
<P><SPAN
class=p2> 一、当系统配置有扩展内存时,可以将DOS的大部分代码和Command.com的暂驻内存部分安装在高内存区(HMA)。
这要求在config.sys中包含有下述命令: <BR> device=Himem.sys</SPAN>
<BR><SPAN class=p2> dos=high </SPAN>
<P><SPAN class=p2> 虽然Himem.sys本身也要占用少量的常规内存,但可以使用HMA将为我们节省出更多的常规内存。
</SPAN>
<P><SPAN
class=p2> 二、精简config.sys和autoexec.bat文件的内容,不启动那些不必要的内存驻留程序,这些内存驻留程序往往占用很多常规内存。
</SPAN>
<P><SPAN
class=p2> 如果config.sys文件中含有安装smartdrv.exe或ramdrive.sys的device命令,可以取消它们以节省常规内存。特别是smartdrv.exe要使用大量的常规内存。如果一定要使用ramdrive.sys,应保证RAM盘建在扩展内存中,而不是在常规内存中。
</SPAN>
<P><SPAN
class=p2> 如果config.sys文件含有buffers命令,应减少buffers指定的磁盘缓冲区数目,每一个缓冲区会占用532个字节的常规内存。但是过多地减少盘缓冲区的个数会造成一些程序不能正常运行,一般buffers不宜小于15。
</SPAN>
<P><SPAN
class=p2> 如果config.sys文件中包含lastdriver命令,取消该命令或将lastdriver设成J或K,而不要设成Z。因为DOS为每个允许访问的逻辑驱动器在内存中建立一个对应的管理块CDS,每个CDS大约占用80多个字节的常规内存。
</SPAN>
<P><SPAN
class=p2> config.sys文件中的device和devicehigh命令的次序是很重要的,它将影响内存的有效使用和config.sys启动时的一系列程序的正确运行。在config.sys文件中最好按以下次序安装设备驱动程序:
<BR> 1 Himem.sys; <BR> 2 使用扩展内存的的设备驱动程序; <BR> 3
emm386.exe,如果使用emm386仿真扩充内存并提供对高内存块(UMBs)的存取功<BR> 能,那么EMM386命令行应包括RAM开关而不用NOEMS。NOEMS禁止emm386.exe仿真<BR> 扩充内存,但它为安装设备驱动程序和运行其它程序提供最大的可用高内存块。
<BR> 4 使用扩充内存的的设备驱动程序; <BR> 5 使用高内存块(UMBs)的设备驱动程序。 </SPAN>
<P><SPAN
class=p2> 对于autoexec.bat,我们的建议是:去掉用户不需要的那些内存驻留程序;如果只在Windows中使用鼠标,不要安装任何鼠标设备驱动程序,比如mouse.com,因为Windows有一个内置的鼠标设备驱动程序。
</SPAN>
<P><SPAN class=p2> 三、尽可能地在高端内存区(UMB)中安装设备驱动程序和运行其它的内存驻留程序。 </SPAN>
<P><SPAN class=p2> </SPAN> </P></DIV></TD></TR></TBODY></TABLE>
<P align=center> </P>
<P class=p1 align=center><A
href="http://www.hongen.com/pc/newer/os/dos/dos0503.htm">上一节</A> <A
href="http://www.hongen.com/pc/newer/os/dos/dos0505.htm">下一节</A></P>
<P class=p2 align=center><A
href="http://www.hongen.com/pc/bin/msg.pl?file_id=dos_1"
target=_blank><IMG height=54 alt=请您留言 src="4.files/message.gif" width=64
border=0><BR>谈谈您的看法</A>
<SCRIPT language=javascript>speak_num="za"</SCRIPT>
<SCRIPT language=javascript src=""></SCRIPT>
<SCRIPT language=javascript>var num=0if (!isNaN(speak_num)){ num=speak_num;}else{ num=0}document.writeln ("已有")document.writeln (num)document.writeln ("条发言")</SCRIPT>
</P>
<P> </P></TD></TR></TBODY></TABLE><!--底部开始-->
<SCRIPT language=Javascript src="4.files/foot.js"></SCRIPT>
<!--底部结束--></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -