中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net  论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

游客:  注册 | 登录 | 命令行 | 会员 | 搜索 | 上传 | 帮助 »
作者:
标题: help! 上一主题 | 下一主题
lostghost
初级用户




积分 139
发帖 14
注册 2003-9-19
状态 离线
『楼 主』:  help!

help!

thanks for your consideration! i am so sorry typing english because i cannot find any chinese input in this computer even i cannot install any of them as i am a guest user in an english operating system here.

at the beginning, could you please tell me how can i configure my config.sys or something else so that i can select different drivers when i boot my computer? in short, similar as windows step by step booting functioin. i am making a bootdisk and planning to add an "boot step by step" function, so that end users can depend on their own device environment to choose different drivers, and we don't have to worry about what devices they got or the campatibility problem.

secondly, i am confused about the usage of "ERRORLEVEL" on autoexec.bat. it seems like a return function of programs. can you tell me more about the details?

otherwise i am doing a 2.88m image, the only way that i can do to make it bootable is that open an existing bootable image then del all files inside and add mine. if i create a blank 2.88m image via winimage or other software, it cannot boot at all! should i edit its sector or something else to finish this funtion?

in addition when we boot our computers,as i know, most of programs can be loaded in high memory(LH, DEVICEHIGH etc), those can save heaps of conventional memory, why people don't do so? are there any campatibility problem if do that?

also there is a quite strange thing happening when i create the boot disk. probably because i put heaps of programs and directories into a cab compressed file,  after i decompress all into the ramdisk i found some files were lost! in other words some files exist in the compressed file but not in the ramdisk. it is incredible because my ramdisk got enough room! then i try to change the config.sys with "files=15 buffers=45" from "file=10 buffers=20", it is all right, nothing is lost. i cannot understand, because i think those figures have not any relationship in this case, and i haven't load any of them in the cab file as TSRs. a part of my config.sys is below.
       
        files=15
        buffers=45
        dos=high,umb
        device=himem.sys /testmemff
        device=emm386.exe ram
        device=oakcdrom.sys /D:mscd000
        devicehigh=ramdrive.sys /E 3072
        lastdrive=u

at the end of the day, i found emm386 can have lots of addition switch such as "EMM386.EXE NOEMS" and "EMM386.EXE Ram" etc. do you know something about them?

i am a new guy here, hope you can help me to solve these problem. thanks again.

2003-9-30 00:00
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
Wengier
系统支持

“新DOS时代”站长


积分 27734
发帖 10521
注册 2002-10-9
状态 离线
『第 2 楼』:  

关于CONFIG.SYS配置的问题,可以做一些菜单选项吧,例如:
[MENU]
MENUITEM=A
MENUITEM=B

[A]
..

[B]
..
等等,具体可见我们做的各种MS-DOS 7.10启动盘。

ERRORLEVEL是错误返回值,可以用COMMAND /Z查看。更详细信息不妨看看“DOS学习入门”版块中的相关教程。

2.88MB的软盘镜像需要2.88MB的引导扇区(Boot Sector)。写入相应的数据就行了。

关于CAB展开丢失文件的问题,那是因为CONFIG.SYS中的FILES值太小会影响到操作的正常进行。

UMB内存当然非常好,论坛中大家做的各种DOS启动盘往往就用EMM386或UMBPCI等软件提供UMB内存。但论坛外的一些人没做,估计是因为不太清楚的原因吧。。


[此贴子已经被作者于2003-9-30 6:07:26编辑过]






Wengier - 新DOS时代

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

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

2003-9-30 00:00
查看资料  发送邮件  访问主页  发短消息 网志  OICQ (29206679)  编辑帖子  回复  引用回复
lostghost
初级用户




积分 139
发帖 14
注册 2003-9-19
状态 离线
『第 3 楼』:  

thanks very much!
but i still don't know how can boot my computer with step by step function, not the menu choice functioin. would you please tell me how i can do that? i used to read lots of your boot disks but i cannot find something about that.
"2.88MB的软盘镜像需要2.88MB的引导扇区(Boot Sector)。写入相应的数据就行了。" would you please tell me that what data should i write to wich area via what software? thanks~



2003-9-30 00:00
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
lostghost
初级用户




积分 139
发帖 14
注册 2003-9-19
状态 离线
『第 4 楼』:  

another thing is that, on all config.sys files of your boot disks, you don't usually use DEVICEHIGH function. why?

2003-9-30 00:00
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
pfox
银牌会员




积分 1451
发帖 446
注册 2002-10-20
状态 离线
『第 5 楼』:  

我不大使用EMM386和UMBPCI则是为了提高软盘的兼容性,因为在大部分情况下加入后没有问题,但是少数部分机器会出现无法启动,对应经常性维修机器的人来说,还是兼容性比较重要。




我的下载空间
2003-9-30 00:00
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
lostghost
初级用户




积分 139
发帖 14
注册 2003-9-19
状态 离线
『第 6 楼』:  

so the step by step function is very important that let users choose their own dirvers when booting computers. how can i do that?

2003-9-30 00:00
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
savioler
中级用户




积分 422
发帖 136
注册 2002-11-9
状态 离线
『第 7 楼』:  

高!成篇都用英文写,自认不如-_-

2003-9-30 00:00
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
SHOCIAA
中级用户

SHOCI@@


积分 228
发帖 41
注册 2003-10-1
状态 离线
『第 8 楼』:  

YES



≡≡☆⌒_⌒☆≡■◆■≡☆⌒_⌒☆≡≡    
(の)゛在﹍這個...ロ丗界里ヤ
(の) ╱︶ 誰對o..﹎οО誰錯┈?
 ìòvè ╭☆
╭~~~★ ╭ ︶╮
╱︶(o'.'o)︶╲ ╱︶(-'.'-)︶╲
2003-10-1 00:00
查看资料  发短消息 网志   编辑帖子  回复  引用回复
iceboy
银牌会员




积分 1681
发帖 512
注册 2003-8-2
状态 离线
『第 9 楼』:  

Step-by-step is only for debugin' config.sys & autoexec.bat, and maybe sometimes a user wanna know the configure of a bootdisk. If you wanna make a bootdisk, you should use boot menu, convenient bootdisk may have more user, i think.

You can also use some GUI in autoexec.bat. In fact, menustar is a good program. May be it's irritating to the eye (640*480@60Hz, white background color), but it's small, wuyou bootdisk is usin' it...

The problem of "Lost some files while extracting cab", I cannot understand either. I configured the files up to 60, but nothin' happend, still... lossing file.

I think, for small files, you should use pkzip, because PKUNzjr program is only 2kb!
For big files, you should use RAR, and also UHArc.
For compression, UHArc is the best, but maybe it's diffcult to make a UHA archive.

Errorlevel is a value returned by last program, eg:
a program return value is 3
if errorlevel 5 dir                   nothing happend
if errorlevel 4 dir                   nothing happend
if errorlevel 3 dir                   as same as dir
if errorlevel 2 dir                   as same as dir
......

So, we must put the highest "if" on the top, and use "goto", else you will find some errors during this batch file.

At the end, I will give you a config.sys that I like.

DOS=HIGH,UMB,AUTO
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF /Q
DEVICE=C:\TOOLS\UMBPCI.SYS /I=DC00-EFFF /F
DEVICE=C:\DOS\EMM386.EXE FRAME=NONE X=DC00-EFFF X=B800-C7FF I=CC00-DBFF I=B000-B7FF RAM M3 D=256 AUTO




Somehow somewhere I've got to choose.
No matter if it is win or lose.
2003-10-1 00:00
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
LostGhost
初级用户




积分 139
发帖 14
注册 2003-9-19
状态 离线
『第 10 楼』:  

iceboy,you are my hero~
as a bootable disk i think the campatibility is the most important thing, so my opinion is that, using GUI will probably cause some problems because of the display-card driver or something else, althought i haven't had this problem before.
just now i read some document and find that, we can use "?" behind a command on the "device" line of the config.sys to ask users whether load that program. but i haven't tried it yet.

2003-10-2 00:00
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
LostGhost
初级用户




积分 139
发帖 14
注册 2003-9-19
状态 离线
『第 11 楼』:  

would you please explain this speech "2.88MB的软盘镜像需要2.88MB的引导扇区(Boot Sector)。写入相应的数据就行了。" ? i don't know which sector and what details i should wirte into. thanks~

2003-10-2 00:00
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
iceboy
银牌会员




积分 1681
发帖 512
注册 2003-8-2
状态 离线
『第 12 楼』:  

1. what does it mean? - "you are my hero"
2. You can use boot-menu, it does not "cause some problems".
3. Yes, but for a good way, you can open it with notepad.

Have u any other questions? Do you still "cannot find any chinese input" in your computer?




Somehow somewhere I've got to choose.
No matter if it is win or lose.
2003-10-2 00:00
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
LostGhost
初级用户




积分 139
发帖 14
注册 2003-9-19
状态 离线
『第 13 楼』:  

I don't have a phone line at home so that i have to connect to the internet at the library of my campus, and all of operating systems there are english win2k, students are only guest users so that i cannot install any software on it, even a chinese input.
above i said that " you are my hero " as you told me all i wanted to know, so i thank you so much.
the last question is being on 第11楼:
would you please explain this speech "2.88MB的软盘镜像需要2.88MB的引导扇区(Boot Sector)。写入相应的数据就行了。" ? i don't know which sector and what details i should wirte into. thanks~


2003-10-3 00:00
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复

请注意:您目前尚未注册或登录,请您注册登录以使用论坛的各项功能,例如发表和回复帖子等。


可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题



论坛跳转: