昨天试了一下,用的Kernel.sys是今年2月份最新版的Kernel 2035a,Command.com换为MS-DOS 7.10的,但是制作完启动盘启动后发现一些问题。
Config.sys如下:
!LASTDRIVE=Z
!BUFFERS=20
!FILES=30
!DOS=HIGH,UMB
!DOSDATA=UMB
!set dircmd=/ogn /4
!MENUCOLOR=7,0
MENUDEFAULT=1,5
MENU 1 - XMS Only
MENU 2 - XMS + EMM386 NOEMS
12?DEVICE=HIMEM.EXE
1?DEVICE=UMBPCI.SYS
2?DEVICE=EMM386.EXE NOEMS
12?SHELLHIGH=command.com /P
3?SHELLHIGH=command.com /D /P
Autoexec.bat内容如下:
@ECHO OFF
PROMPT $P$G
LH DOSLFN /Z:CP936UNI.TBL
(注:以上使用的Himem.exe和emm386.exe均为FreeDOS的版本。
结果发现输入“cd\”命令系统提示“Bad command or file name”,写成“cd \”(中间有空格)则没有问题。另外使用cd命令时如果目录不存在本应提示“Invalid directory”现在却提示“Invalid function”。按键盘上的上下键系统会自动输入“^@”字符,而按下Ctrl+@时却变成了“^C”(即Ctrl+C)。启动CCDOS汉字系统后,Ctrl+F10出现CCDOS系统控制提示,这个正常,而本来Ctrl+F5是退出CCDOS,现在按上去居然没反应?!真是搞不懂FreeDOS内核与MS-DOS 7.10的Command还是很不兼容!
FreeDOS的Command不支持长文件名,否则我就不再用MS-DOS了。。。
另外,我的主板是Intel 845G,用UMBPCI只能获得49k的UMB,用MS-DOS的Emm386只能获得43k,用FreeDOS的emm386却能获得112k?把FreeDOS的EMM386放到MS-DOS(IO.SYS)去用居然要占几十k常规内存!而且不是每次都成功加载,有时会出错使系统停止启动。FreeDOS的Command和UMBPCI似乎还不是很兼容。如果用FreeDOS的emm386提供UMB,则command有3~4k能载入UMB,而如果使用UMBPCI就只有几十个字节载入UMB。
看来FreeDOS的bug还是很多啊!
Last edited by brglng on 2005-8-10 at 12:46 ]
I tried it yesterday. I used the latest version of Kernel 2035a in February this year for Kernel.sys, and replaced Command.com with MS-DOS 7.10. But after making the boot disk and booting, I found some problems.
The Config.sys is as follows:
!LASTDRIVE=Z
!BUFFERS=20
!FILES=30
!DOS=HIGH,UMB
!DOSDATA=UMB
!set dircmd=/ogn /4
!MENUCOLOR=7,0
MENUDEFAULT=1,5
MENU 1 - XMS Only
MENU 2 - XMS + EMM386 NOEMS
12?DEVICE=HIMEM.EXE
1?DEVICE=UMBPCI.SYS
2?DEVICE=EMM386.EXE NOEMS
12?SHELLHIGH=command.com /P
3?SHELLHIGH=command.com /D /P
The content of Autoexec.bat is as follows:
@ECHO OFF
PROMPT $P$G
LH DOSLFN /Z:CP936UNI.TBL
(Note: The Himem.exe and emm386.exe used above are all versions of FreeDOS.
As a result, when entering the "cd\" command, the system prompts "Bad command or file name", but writing "cd \"(with a space in the middle) is okay. In addition, when using the cd command, if the directory does not exist, it should prompt "Invalid directory" but now it prompts "Invalid function". Pressing the up and down keys on the keyboard will automatically input the "^@" character, and pressing Ctrl+@ will become "^C" (that is, Ctrl+C). After booting the CCDOS Chinese character system, Ctrl+F10 appears the CCDOS system control prompt, which is normal, but originally Ctrl+F5 was to exit CCDOS, but now pressing it has no response?! I really don't understand that the FreeDOS kernel and MS-DOS 7.10's Command are still very incompatible!
FreeDOS's Command does not support long file names, otherwise I would not use MS-DOS...
In addition, my motherboard is Intel 845G. Using UMBPCI can only get 49k UMB. Using MS-DOS's Emm386 can only get 43k. Using FreeDOS's emm386 can get 112k? Putting FreeDOS's EMM386 into MS-DOS (IO.SYS) to use actually occupies dozens of k conventional memory! And it is not successful to load every time, sometimes it will make an error and make the system stop booting. FreeDOS's Command and UMBPCI still seem to be very incompatible. If using FreeDOS's emm386 to provide UMB, then command has 3-4k can be loaded into UMB, and if using UMBPCI, there is only dozens of bytes loaded into UMB.
It seems that there are still many bugs in FreeDOS!
Last edited by brglng on 2005-8-10 at 12:46 ]