|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 31 楼』:
使用 LLM 解释/回答一下
Re #four#:
你应该佩服的是 yaya 兄而不是我,因为我的编程尤其汇编基础很不扎实,像 ConMenu.sys / ConMenuR.sys 这样的程序我是编不出来的,而只能从使用者的角度来与作者探讨一些简单的问题而已。
Re #four#:
You should admire Brother yaya instead of me, because my programming, especially the assembly foundation, is not solid. Programs like ConMenu.sys / ConMenuR.sys are beyond my ability to compile, and I can only discuss some simple issues with the author from the user's perspective.
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2006-3-1 19:31 |
|
|
yaya
银牌会员
    
积分 1009
发帖 353
注册 2003-9-4
状态 离线
|
『第 32 楼』:
使用 LLM 解释/回答一下
版主willsort太谦逊了!
The moderator willsort is too modest!
|
|
2006-3-2 14:55 |
|
|
a9319751
中级用户
  
积分 439
发帖 170
注册 2006-1-9
状态 离线
|
|
2006-5-10 01:52 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 34 楼』:
使用 LLM 解释/回答一下
非常好,强烈支持......
几年前一直想做个能显示中文的启动选项,以失败告终。前几天刚看到VTMAGIC.COM的贴子准备空了后研究研究,下载你这个先学习一下,少了许多折腾,谢谢先......:P
Very good, strongly support...
I have been wanting to make a boot option that can display Chinese for several years, but it ended in failure. I just saw the post on VTMAGIC.COM a few days ago and was going to study it when I have time. Downloading yours first to learn, which saves a lot of trouble. Thanks first... :P
|
|
2006-5-14 09:37 |
|
|
asbai
高级用户
   
积分 653
发帖 252
注册 2006-4-16
状态 离线
|
『第 35 楼』:
使用 LLM 解释/回答一下
好东西,强烈支持ing~~
感谢楼主发布
Good stuff, strongly support ing~ ~
Thanks to the LZ for posting
|
|
2006-5-17 12:35 |
|
|
林之博大
初级用户
 
积分 60
发帖 5
注册 2004-8-16
状态 离线
|
『第 36 楼』:
使用 LLM 解释/回答一下
搂主,你好,我想请问一个问题:
问题1. 看了楼主的例子,想确定一下,选项的排列的逻辑方式1还是方式2
方式1:
├─A
├─B
│ ├─A
│ │ ├─A
│ │ └─B
│ ├─B
│ ├─C
│ └─D
│ ├─1
│ ├─2
├─C
└─D
└─1
└─2
方式2:
├─A
├─B
│ ├─C
│ │ ├─D
│ │ └─E
│ ├─F
│ ├─G
│ └─1
│ └─2
├─I
└─J
└─3
└─4
问题2:
我把
rem cm0=[A 选项1
...
rem cm0=]
rem cm0=[B 选项2
...
rem cm0=]
中的 A B 省略,会如何?是否程序还是默认的用 A B 替代
rem cm0=[ 选项1
...
rem cm0=]
rem cm0=[ 选项2
...
rem cm0=]
谢谢。
楼主,你好,我想请问一个问题:
问题1. 看了楼主的例子,想确定一下,选项的排列的逻辑方式1还是方式2
方式1:
├─A
├─B
│ ├─A
│ │ ├─A
│ │ └─B
│ ├─B
│ ├─C
│ └─D
│ ├─1
│ ├─2
├─C
└─D
└─1
└─2
方式2:
├─A
├─B
│ ├─C
│ │ ├─D
│ │ └─E
│ ├─F
│ ├─G
│ └─1
│ └─2
├─I
└─J
└─3
└─4
问题2:
我把
rem cm0=
rem cm0=
中的 A B 省略,会如何?是否程序还是默认的用 A B 替代
rem cm0=
rem cm0=
Thanks.
|
|
2006-5-17 13:48 |
|
|
yaya
银牌会员
    
积分 1009
发帖 353
注册 2003-9-4
状态 离线
|
『第 37 楼』:
使用 LLM 解释/回答一下
方式1。
A B 省略,菜单就不显示A、B。但不影响运行。
Method 1. A and B are omitted, and the menu will not display A and B. But it does not affect the operation.
|
|
2006-5-17 18:43 |
|
|
林之博大
初级用户
 
积分 60
发帖 5
注册 2004-8-16
状态 离线
|
『第 38 楼』:
使用 LLM 解释/回答一下
我发现,隐含菜单似乎有问题。
见代码
Device=c:\config.exe
Device=c:\conmenu\conmenu.sys
rem caption= DOS启动选单
rem caption= 主菜单
rem caption==============================================================
rem cm0=[ 1. 一般启动(UMBPCI)
DeviceHigh=C:\BOOT\HIMEM.EXE
DeviceHigh=C:\BOOT\UMBPCI.SYS
rem include0=1
rem cm0=]0A
rem cm0=[ 2. 最小化启动
rem cm0=]0B
rem cm0=(1
dos=high,umb,auto
rem cm0=)
rem cm0=[end]
问题发现,我选择第二项后,提示dos不能载人umb,也就是说,我选择第二项的时候,把cm0=(1这部分的代码也运行了。
还是说,隐含菜单只是隐含了,不管选不选都不会有问题?
我是在真实环境下测试的,不是用虚拟机,DOS使用 7.1 版本
I found that there seems to be a problem with the implicit menu.
See the code
Device=c:\config.exe
Device=c:\conmenu\conmenu.sys
rem caption= DOS Boot Menu
rem caption= Main Menu
rem caption==============================================================
rem cm0=
0A
rem cm0= 0B
rem cm0=(1
dos=high,umb,auto
rem cm0=)
rem cm0=
The problem is found. After I select the second item, it prompts that DOS cannot load UMB, that is, when I select the second item, the code of cm0=(1 part is also run.
Or does the implicit menu just be implicit and there will be no problem no matter whether it is selected or not?
I tested in a real environment, not using a virtual machine, and DOS uses version 7.1
|
|
2006-5-17 20:59 |
|
|
yaya
银牌会员
    
积分 1009
发帖 353
注册 2003-9-4
状态 离线
|
『第 39 楼』:
使用 LLM 解释/回答一下
经测试,选择第二项时,隐含菜单‘dos=high,umb,auto’代码并未执行。但io.sys确实给出了提示,大意是没有安装高端内存HMB,而非dos不能载入umb。
HIMEM.EXE似乎应为HIMEM.SYS。
Last edited by yaya on 2006-5-26 at 09:46 ]
After testing, when selecting the second option, the implicit menu code 'dos=high,umb,auto' was not executed. But io.sys did give a prompt, which roughly means that the high memory area HMB was not installed, not that DOS failed to load umb.
HIMEM.EXE should seem to be HIMEM.SYS.
Last edited by yaya on 2006-5-26 at 09:46 ]
|
|
2006-5-26 09:44 |
|
|
林之博大
初级用户
 
积分 60
发帖 5
注册 2004-8-16
状态 离线
|
『第 40 楼』:
使用 LLM 解释/回答一下
himem的版本很多,有的是himem.sys,有的是himem.exe。我用的是我能找到的最新的himem,它的后缀名是.exe。
不过有这个提示,总觉得好像是执行了那么一段代码,感觉不爽.........
There are many versions of himem. Some are himem.sys and some are himem.exe. I am using the latest himem I can find, and its file extension is.exe. However, with this prompt, I always feel like some code has been executed, and I don't feel comfortable about it...
|
|
2006-6-22 17:57 |
|
|
yanghouchen
新手上路

积分 12
发帖 6
注册 2005-11-26
状态 离线
|
|
2006-7-12 06:29 |
|
|
hujintao
初级用户
 
积分 74
发帖 21
注册 2006-8-9
状态 离线
|
『第 42 楼』:
YAYA及各位大师?
使用 LLM 解释/回答一下
请问复选及隐藏菜单是不是不能set config?
还有include同级显示菜单的话,是只包含了其设置,还是也可以在下级菜单中显示这个同级菜单?
下面这个习作中,选中usb复选菜单但没插usb设备后,cd2可以正常使用ide光驱mscdx.exe加载成功ide光驱的,cd1却连ide光驱都打不开,shsucdx.com加载失败,请问这是shsucdx.com的原因还是...?
=========config===========
rem cm0=
rem cm1=
rem cm1=
==========autoexec.bat==========
:cd1
lh shsucdx.com /D:ide-cd /d:usb-cd
smartdrv /u
lh qcd.exe
lh ctmouse.exe
lh doslfn
goto end
:cd2
lh mscdex.exe /D:ide-cd /d:usb-cd
smartdrv /u
lh qcd.exe
lh doslfn
lh ctmouse.exe
goto end
Last edited by hujintao on 2006-8-25 at 17:53 ]
Does the check box and hidden menu not be able to set config?
Also, if include the same-level display menu, does it only include its settings, or can this same-level menu also be displayed in the lower-level menu?
In the following draft, after selecting the usb check box menu but not inserting a usb device, cd2 can normally use the ide optical drive and mscdx.exe to load the ide optical drive successfully, but cd1 can't even open the ide optical drive, and shsucdx.com fails to load. Is this due to shsucdx.com or...?
=========config===========
rem cm0=
rem cm1=
rem cm1=
==========autoexec.bat==========
:cd1
lh shsucdx.com /D:ide-cd /d:usb-cd
smartdrv /u
lh qcd.exe
lh ctmouse.exe
lh doslfn
goto end
:cd2
lh mscdex.exe /D:ide-cd /d:usb-cd
smartdrv /u
lh qcd.exe
lh doslfn
lh ctmouse.exe
goto end
Last edited by hujintao on 2006-8-25 at 17:53 ]
|
|
2006-8-25 17:41 |
|
|
yaya
银牌会员
    
积分 1009
发帖 353
注册 2003-9-4
状态 离线
|
『第 43 楼』:
使用 LLM 解释/回答一下
复选及隐藏菜单可以 set config
可显示菜单项里可包含同级其他菜单项(可显/隐含)include,只包含了其设置,不能在下级菜单中显示这个同级菜单
是shsucdx.com的原因。从网上下载一个高版本的,可以解决问题
Check boxes and hidden menus can set config. The displayable menu items can include other menu items at the same level (displayable/hidden) include. It only contains its settings and cannot display this same-level menu in the lower-level menu. It is because of shsucdx.com. Download a higher version from the Internet, which can solve the problem.
|
|
2006-8-25 18:20 |
|
|
hujintao
初级用户
 
积分 74
发帖 21
注册 2006-8-9
状态 离线
|
『第 44 楼』:
用这种方法好像usb根本没执行(已复选中)
使用 LLM 解释/回答一下
如果执行的话它的执行顺序在cd1或cd2之前还是之后?谢谢!
rem cm1=
rem cm1=
rem cm1=
========================
:usb
h loadsys /r /f a:\usbaspi.sys /v /norst
lh loadsys /r /f a:\di1000dd.sys
lh loadsys /r /f a:\aspiohci.sys /int /all
lh loadsys /r /f a:\aspiuhci.sys /int /all
lh loadsys /r /f a:\usbcd.sys /d:usb-cd
lh shsucdx.com /D:usb-cd
goto end
:cd1
lh shsucdx.com /D:ide-cd
smartdrv /u
lh qcd.exe
lh ctmouse.exe
lh doslfn
goto end
:cd2
lh mscdex.exe /D:ide-cd
smartdrv /u
lh qcd.exe
lh doslfn
lh ctmouse.exe
goto end
==================================
vide-cdd.sys & shsucdx.com已经是最新版了 SHCDX33A, 26-Dec-2005.
usb驱动全部是Wengier的超级msdos710中的
Last edited by hujintao on 2006-8-25 at 21:03 ]
If it is executed, is its execution order before or after cd1 or cd2? Thanks!
rem cm1=
rem cm1=
rem cm1=
========================
:usb
h loadsys /r /f a:\usbaspi.sys /v /norst
lh loadsys /r /f a:\di1000dd.sys
lh loadsys /r /f a:\aspiohci.sys /int /all
lh loadsys /r /f a:\aspiuhci.sys /int /all
lh loadsys /r /f a:\usbcd.sys /d:usb-cd
lh shsucdx.com /D:usb-cd
goto end
:cd1
lh shsucdx.com /D:ide-cd
smartdrv /u
lh qcd.exe
lh ctmouse.exe
lh doslfn
goto end
:cd2
lh mscdex.exe /D:ide-cd
smartdrv /u
lh qcd.exe
lh doslfn
lh ctmouse.exe
goto end
==================================
vide-cdd.sys & shsucdx.com are already the latest versions SHCDX33A, 26-Dec-2005.
All USB drivers are from Wengier's Super msdos710
Last edited by hujintao on 2006-8-25 at 21:03 ]
|
|
2006-8-25 19:40 |
|
|
yaya
银牌会员
    
积分 1009
发帖 353
注册 2003-9-4
状态 离线
|
『第 45 楼』:
使用 LLM 解释/回答一下
新版本的SHCDX33A应该没有问题。用法 shsucdx.com /D:?ide-cd /d:?usb-cd
如果你选择了
rem cm1=[? . 加载 USB
rem cm1=[A. CD-ROM (vide-cdd.sys+shsucdx.com) (可loadiso)
对于config变量是
set config=usb
set config=cd1
那么程序先把变量config设成usb,又改成cd1
对于复选菜单应该用不同的变量,如set config1=usb
The new version of SHCDX33A should be okay. Usage: shsucdx.com /D:?ide-cd /d:?usb-cd
If you choose:
rem cm1=
|
|
2006-8-26 09:54 |
|