中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-18 00:45
47,814 topics / 349,907 posts / today 4 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » What exactly is the difference between DEVICE and DEVICEHIGH in Config.sys?
Printable Version  1,127 / 4
Floor1 mxfsun Posted 2006-03-29 17:07
初级用户 Posts 13 Credits 157
What exactly is the difference between DEVICE and DEVICEHIGH in Config.sys?
Sometimes DEVICE= is used, sometimes DEVICEHIGH is used. I don't know when to use DEVICE= and when to use DEVICEHIGH. Also, which one should be used before HIMEM.SYS? And if SMARTDRV.EXE is added in autoexec.bat, does HIMEM.SYS have to be added in Config.sys? Thanks in advance for the reply!

[ Last edited by mxfsun on 2006-3-29 at 17:14 ]
Floor2 DOSforever Posted 2006-03-29 17:48
金牌会员 Posts 2,239 Credits 4,639
device only loads the device driver into conventional memory, while devicehigh loads it into upper memory. Of course, there is a prerequisite: you must already have upper memory space made available. If you haven't made it available, or if the available space has run out, it doesn't matter if you use the devicehigh statement—it just won't go up there and will still be loaded into conventional memory.
Because smartdrv must use XMS as the disk buffer, XMS space must already be made available before using it. DOS's built-in extended memory manager is himem.sys; you can also replace it with another third-party memory manager such as qemm386.sys. In short, as long as it can provide XMS, that's fine.
Floor3 mxfsun Posted 2006-03-30 09:03
初级用户 Posts 13 Credits 157
Then how should I enable XMS? Thanks for the reply!
Floor4 DOSforever Posted 2006-03-30 11:12
金牌会员 Posts 2,239 Credits 4,639
? Haven't I already answered it: “DOS's built-in extended memory manager is himem.sys; you can also replace it with another third-party memory manager such as qemm386.sys”

device=[d:\path\]himem.sys
or
device=[d:\path\]qemm386.sys

The part in square brackets is optional; you should write it yourself according to your actual path. Of course, these two memory managers have many parameters as well, but generally the defaults will work normally.
Floor5 darkradx Posted 2006-03-31 00:06
高级用户 Posts 420 Credits 972
It means enabling UMB
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023