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-08-13 22:10
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » When would the device=himem.sys command be needed? View 1,753 Replies 6
Original Poster Posted 2004-06-30 00:00 ·  中国 广东 珠海 电信
初级用户
Credits 103
Posts 1
Joined 2004-06-30 00:00
22-year member
UID 27623
Gender Male
Status Offline
First, I don't know the specific purpose of this command. Secondly, I don't know the impact of this command on the system:

Today I saw someone's file made a floppy disk for automatic Ghost backup and restore, targeting my computer: c: NTFS, d: NTFS, e: FAT32.

config file


menucolor=7,1
menuitem=Restore,Ghost Restore
menuitem=Backup,Ghost Backup
menudefault=Restore,30

files=25
buffers=15
device=himem.sys /testmemff
dos=high,umb
stacks=9,256
lastdrive=z



autoexec.bat file

@echo off
goto %config%
:Backup
md c:\Ghost
ghost -clone,mode=pdump,src=1:1,dst=c:\ghost\win.gho -fx -sure -rb
goto exit
:Restore
md c:\Ghost
ghost -clone,mode=pload,src=c:\Ghost\win.gho,dst=1:1 -sure -rb
:exit

The directory structure of the floppy disk is as follows

|---autoexec.bat

|--command.com

|--config.sys

|--ghost.exe

|--himem.sys

|--io.sys

|--msdos.sys

After booting, the menu is normal, but after running any of the commands, there is an error of "xms not installed"...



Later, I removed "device=himem.sys /testmemff" and there was no error...
I want to ask what is the reason?
Also, can Ghost back up normally if "device=himem.sys /testmemff" is removed in Ghost...
Help me

Floor 2 Posted 2004-06-30 00:00 ·  中国 广东 佛山 三水区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
himem.sys is the DOS-standard XMS (Extended Memory Management Program) driver, allowing DOS to manage memory above 1M. device=himem.sys is to load XMS. If it is not loaded, DOS can only use up to 640K of memory, even if your memory is 256M or more.
If problems occur after loading, there are mostly possible causes such as a problem in a certain position of the memory module or incompatibility between the memory module and the motherboard. If himem.sys is not loaded, GHOST can still be used, but it will definitely be much slower.
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 3 Posted 2004-07-02 00:00 ·  中国 河南 信阳 联通
初级用户
Credits 172
Posts 18
Joined 2004-03-13 00:00
22-year member
UID 19985
Gender Male
Status Offline
Dude, I want to ask:

src=c:\Ghost\win.gho, this can be recognized in the FAT32 partition, but it seems that it can't be recognized in the NTFS partition. Do you know how to make it recognizable in NTFS? Please give me some pointers.



Floor 4 Posted 2004-07-04 00:00 ·  中国 河北 秦皇岛 联通
中级用户
新DOS时代假站长
Credits 248
Posts 31
Joined 2004-07-04 00:00
22-year member
UID 27805
Gender Male
Status Offline
What does this string of!! mean? How can I understand the programming language?
Floor 5 Posted 2004-07-04 00:00 ·  中国 重庆 渝中区 电信
银牌会员
★★★
Credits 2,165
Posts 730
Joined 2004-04-21 00:00
22-year member
UID 22966
Gender Male
Status Offline
You can use GHOST without XMS
Floor 6 Posted 2004-07-05 00:00 ·  中国 河北 秦皇岛 联通
中级用户
新DOS时代假站长
Credits 248
Posts 31
Joined 2004-07-04 00:00
22-year member
UID 27805
Gender Male
Status Offline
The following is a quote from bush on July 4, 2004 at 10:05:57 AM:
You can use GHOST without XMS

What does it mean? Is it the language of the earth?
Floor 7 Posted 2004-07-13 00:00 ·  中国 山东 烟台 联通
中级用户
Credits 293
Posts 42
Joined 2003-10-17 00:00
22-year member
UID 11396
Gender Male
Status Offline
Study hard and make progress every day
Forum Jump: