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-07-23 14:00
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » WENGIER, please take a look at the XMSDSK config files :) View 648 Replies 6
Original Poster Posted 2003-08-21 00:00 ·  中国 广西 南宁 联通
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
WENGIER, please take a look at what basic things XMSDSK still needs when booting from the hard disk :)

After formatting the hard disk with FORMAT C:/S and rebooting, write the following two files on drive C, copy XMSDSK.EXE into it, and reboot again. It will stop at a blinking dot, or stop after showing the version number. So, if I want to simplify things as much as possible and create a virtual disk when booting from a hard disk partition, what is the absolute minimum, the fewest things, that I still need to add when using XMSDSK? :)

Hoping big brother WENGIER can kindly give me some advice :)

Contents of autoexec.bat:

@echo off

set ramdrv=
set ramdrv=z:
xmsdsk 4096 %ramdrv% /y /t

Contents of config.sys:

devicehigh=c:\xmsdsk.exe 4096
Floor 2 Posted 2003-08-22 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Try changing devicehigh=c:\xmsdsk.exe 4096 in CONFIG.SYS to device=c:\xmsdsk.exe 4096, or remove it and see.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2003-08-22 00:00 ·  中国 广西 南宁 联通
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
Removing it doesn't work. If I remove it, at startup it will prompt that XMSDSK loading is missing in CONFIG.SYS, then ask whether to load it. If I choose yes, it stops after showing the version number. It even stops after showing only memor from the word memory, really strange :(
Floor 4 Posted 2003-08-22 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Is it MS-DOS 7.10? Did you load HIMEM.SYS??
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 5 Posted 2003-08-22 00:00 ·  中国 广西 南宁 联通
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
Then I'll try loading it first :)
Floor 6 Posted 2003-08-22 00:00 ·  中国 广西 南宁 联通
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
No, it still doesn't work, it doesn't even show the version number

CONFIG.SYS contents are as follows
device=himem.sys /testmemff
files=10
buffers=10
dos=high,umb
stacks=9,256
lastdrive=z

AUTOEXEC.BAT contents are as follows

@ECHO OFF
CLS
SET DIRCMD=/O
set ramdrv=z:
C:\xmsdsk.EXE 4096 %ramdrv% /y /t

—————————————————————————————————————————————
If I remove all the options in AUTOEXEC.BAT and CONFIG.SYS and enter the hard disk directly, then run
xmsdsk.exe 4096 z: /y /t

the system will prompt:

system memory allocation error

can't load command ,system halt

WENGIER, can you help find the cause? :)I just can't accept it, why can I never get it working? On a boot disk I can use it however I want, but on the hard disk I just can't get it to work no matter what :(
Floor 7 Posted 2003-08-22 00:00 ·  中国 广西 南宁 联通
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
I got it working :)

As long as you remove the XMSDSK loading line from CONFIG.SYS

and then remove the /y parameter from AUTOEXEC.BAT, it works :)

Thanks to WENGIER for the selfless help :)

Good night :)
Forum Jump: