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-06-25 13:06
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Question about Msdos.sys View 1,374 Replies 5
Original Poster Posted 2002-11-27 00:00 ·  中国 河北 石家庄 联通
银牌会员
★★★
Credits 1,833
Posts 648
Joined 2002-11-08 00:00
23-year member
UID 197
Gender Male
Status Offline
Most books say that msdos.sys must be larger than 2K, and that's also why there are so many x's in msdos.sys. But after I deleted some of the x's, I found that it could still boot. At that point msdos.sys was only a little over 300 bytes. I don't know why.
Floor 2 Posted 2002-11-30 00:00 ·  中国 广东 汕尾 电信
初级用户
Credits 164
Posts 18
Joined 2002-11-30 00:00
23-year member
UID 372
Gender Male
Status Offline
The reason msdos.sys has to be over 2K is to prevent MSDOS。SYS from being mistakenly identified as
a virus under DOS. If you don't have DOS antivirus software installed, and MSDOS。SYS wasn't deleted,
then of course there won't be any problem.
我就是我,我要努力。
Floor 3 Posted 2002-12-01 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
Not very sure. msdos.sys is relatively important in win98. It must be over 1024 bytes, (that means over 1K, seems like not over 2K). (MSDOS.SYS needs to be >1024 bytes). It provides some parameters to regulate how win98 starts, whether to start Windows and so on, I guess. (There are detailed explanations of the meaning of the various parameters in msdos.sys in many places, and there are also some on this forum.) If you're just making a win98 boot disk, then msdos.sys doesn't have much of a role. Generally, it is only 6 bytes. (Some are even just 2 bytes.) It's also okay if you delete it, you just won't be able to enter the win98 Windows screen, and can only enter pure DOS.
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 4 Posted 2002-12-01 00:00 ·  中国 湖北 随州 电信
元老会员
★★★
Credits 1,987
Posts 632
Joined 2002-10-27 00:00
23-year member
UID 73
Gender Male
Status Offline
KO already explained it very clearly. As for why msdos.sys has to be larger than 1024 bytes, it's always been a question. There still isn't any related documentation, and Microsoft hasn't explained it either. Maybe MS is just being deliberately mysterious. Actually, MSDOS.SYS is no longer important once you're in WINDOWS. Even if it is smaller than 1024K, windows won't have any problems. For configuration instructions about msdos.sys, please see my repost WIN9X……http://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=3&ID=469


http://dos.e-stone.cn/dosbbs
uploadImages/200311161145850422.swf
Floor 5 Posted 2002-12-01 00:00 ·  中国 广东 佛山 禅城区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
I've also read articles on this. Supposedly MSDOS has to be larger than 1K for compatibility with some old DOS programs. As for DOS7.1, it really doesn't matter. On my floppy disk its length is 0.
我的网志
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 6 Posted 2002-12-02 00:00 ·  中国 广东 汕尾 电信
初级用户
Credits 164
Posts 18
Joined 2002-11-30 00:00
23-year member
UID 372
Gender Male
Status Offline
I once saw this in Computer News. It said that in older antivirus software,
under DOS, files that were too small would be mistakenly identified as viruses.
And then deleted.
But MS。DOS itself doesn't need much content. So they added these *'s.
As for whether it's true, it seems nobody has really verified it.
Maybe you could find an antivirus program so old it's got no teeth left,
delete the *'s from MSDOS, then run the antivirus software under DOS.
And see whether it deletes MSDOS。
我就是我,我要努力。
Forum Jump: