|
sgmjh
新手上路

积分 16
发帖 6
注册 2008-4-26
状态 离线
|
『楼 主』:
新手学用ConMenu.sys,有问题请教
使用 LLM 解释/回答一下
我用"生成中文CONFIG.SYS.BAT",里面的命令是:
VTMAGIC.COM -m8 -c2 /t CONFIG.txt
rem 延时1秒等待处理
.\dos\CHOICE /N /C:12 /T:1,02 ..........
copy CONFIG.NEW CONFIG.SYS
del CONFIG.NEW
我写的config.txt,里面的内容是:
device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= 系统维护工具优盘
rem caption====================
rem endnote=按↑↓或相应字母选择菜单项
rem endnote=
rem cm0=[A. NF网刻
rem cm0=]A
rem cm0=[B. Intel网刻
rem cm0=]B
rem cm0=[end]
运行那个批处理后,config.sys的内容是:
device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= ÃĄŅƆLJ
rem caption=ȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈ
rem endnote=ɉʊˋ͍̌ΎϏАёҒӓԔՕ
rem endnote=
rem cm0=[A. NF֖ח
rem cm0=]A
rem cm0=[B. Intel֖ח
rem cm0=]B
rem cm0=[end]
里面的文字变成不可识别。
我把别人的config.txt拷过来,改了一下(不能全改),里面的内容是:
device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= 系统维护工具优盘
rem caption====================
rem endnote=按↑↓或相应字母选择菜单项
rem endnote=
rem cm0=[A. GRUB模式,加载MENU.LST菜单,启动WIN PE和其它系统维护工具镜像
rem cm0=]A
rem cm0=[B. Intel网刻
rem cm0=]B
rem cm0=[end]
运行批处理后,config.sys的内容是:
device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= 纮羴聜脙膭艆茊菄
rem caption=葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓
rem endnote=蓧蕣藡虒蛵螏蠌袗褢覓訐詳諘
rem endnote=
rem cm0=[A. GRUB謻讞,貥贆MENU.LST訐詳,跉蹧WIN PE軠轁逓纮羴聜脙膭艆邿酄
rem cm0=]A
rem cm0=[B. Intel帷猗
rem cm0=]B
rem cm0=[end]
这是正常的,为什么我只要改变了
rem cm0=[A. GRUB模式,加载MENU.LST菜单,启动WIN PE和其它系统维护工具镜像
这里的文字,就会不行了呢?
I use "Generate Chinese CONFIG.SYS.BAT", and the commands inside are:
VTMAGIC.COM -m8 -c2 /t CONFIG.txt
rem Delay for 1 second to wait for processing
.\dos\CHOICE /N /C:12 /T:1,02 ..........
copy CONFIG.NEW CONFIG.SYS
del CONFIG.NEW
The content of the config.txt I wrote is:
device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= System Maintenance Tool USB Flash Drive
rem caption====================
rem endnote=Press ↑↓ or corresponding letters to select menu items
rem endnote=
rem cm0= A
rem cm0= B
rem cm0=
After running that batch file, the content of config.sys is:
device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= ÃĄŅƆLJ
rem caption=ȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈ
rem endnote=ɉʊˋ͍̌ΎϏАёҒӓԔՕ
rem endnote=
rem cm0= A
rem cm0= B
rem cm0=
The text inside becomes unrecognizable.
I copied someone else's config.txt and modified it (can't change all), and the content is:
device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= System Maintenance Tool USB Flash Drive
rem caption====================
rem endnote=Press ↑↓ or corresponding letters to select menu items
rem endnote=
rem cm0= A
rem cm0= B
rem cm0=
After running the batch file, the content of config.sys is:
device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= 纮羴聜脙膭艆茊菄
rem caption=葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓
rem endnote=蓧蕣藡虒蛵螏蠌袗褢覓訐詳諘
rem endnote=
rem cm0= A
rem cm0= B
rem cm0=
This is normal. Why does it not work as long as I change the text in
rem cm0=
|
|
2008-4-27 19:37 |
|
|
本是
银牌会员
    
积分 2221
发帖 789
注册 2005-1-27
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
我将你的config.txt存盘后生成.exe和.new,正常;加字/改字等,也正常。
你说有问题是指生成.exe/.new呢?还是指作为config.sys加载后不显示汉字字形呢?
After I saved your config.txt, .exe and .new were generated, which is normal; adding or modifying characters is also normal. Do you mean there is a problem with generating .exe/.new? Or is it that when loaded as config.sys, Chinese characters are not displayed?
|

my major is english----my love is dos----my teacher is the buddha----my friends--how about U |
|
2008-5-4 19:37 |
|
|
sgmjh
新手上路

积分 16
发帖 6
注册 2008-4-26
状态 离线
|
|
2008-5-10 12:49 |
|
|
本是
银牌会员
    
积分 2221
发帖 789
注册 2005-1-27
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
我看了录像,想提醒一个地方:绝对不要在WINDOWS环境中复制粘贴.NEW新内码文件!——因为窗口下的编辑器会自作主张地改动相邻的单字节英文的扩展ASCII码字符,以“保证”其成为“标准的”汉字双内码字!而这上点对VGA字符屏两个英文字符拼成的一个中文字符是不能发生的!!!
如果这还不是原因所在,请将你制作的软盘.IMG发到 born2be@126.com邮箱,我“实地”考察一下。
I watched the video and want to remind one thing: absolutely never copy and paste .NEW new code page files in a WINDOWS environment! Because the editor under the window will arbitrarily change the adjacent single-byte English extended ASCII code characters to "ensure" that they become "standard" Chinese double-byte code characters! And this point cannot happen for the Chinese characters formed by two English characters on the VGA character screen! ! !
If this is not the reason, please send the floppy disk .IMG you made to the email born2be@126.com, and I will "visit" and check.
|

my major is english----my love is dos----my teacher is the buddha----my friends--how about U |
|
2008-5-13 16:01 |
|
|
sgmjh
新手上路

积分 16
发帖 6
注册 2008-4-26
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
应该不是这个问题,我做是同一种方法做的,.new这个文件我不打开也是不行。
这句话
rem cm0=[A. GRUB模式,加载MENU.LST菜单,启动WIN PE和其它系统维护工具镜像
我不能变动(前面的几个字可以去掉,后面的不能动),只要变动了这句话,我生成的.new这个文件就不能启动。
我之前是下了fastslz的temp.img,里面的config.txt,我不能改动有两句话
REM CM0=[C. 返回到虚拟软驱
REM INCLUDE0=1
REM CM0=]C
REM CM0=[E. 重启动计算机
REM INCLUDE0=1
REM CM0=]E
只要这两句改动了,也是有这样的问题。
我觉得很奇怪,就是我一定要用别人的菜单文件(最少要用一句),不然我自己写的菜单就一定用不到。
device=config.exe
device=ConMenu.sys
rem cm0=[A. NF网刻
rem cm0=]A
rem cm0=[B. Intel网刻
rem cm0=]B
rem cm0=[end]
这是我写的简单的config.txt,生成后就是不行,我没有生成IMG,我下载了fastslz的temp.img,我就用里面的那些工具生成config.exe和config.sys,我用的是虚拟机硬盘启动(自己做的启动,只有那三个启动文件的)。
然后我就自己试试做菜单,就出现了这种怪问题。
It shouldn't be this problem. I did it in the same way. It's not okay that I don't open the.new file.
The sentence
rem cm0=
C
REM CM0=
E
As long as these two sentences are changed, there is such a problem.
I find it very strange that I must use someone else's menu file (at least one sentence must be used), otherwise my own written menu will definitely not be used.
device=config.exe
device=ConMenu.sys
rem cm0= A
rem cm0= B
rem cm0=
This is my simple config.txt. After generation, it just doesn't work. I didn't generate the IMG. I downloaded the temp.img of fastslz, and I used the tools in it to generate config.exe and config.sys. I used the virtual machine hard drive boot (self-made boot, only those three boot files).
Then I tried to make the menu by myself, and this strange problem occurred.
|
|
2008-5-14 14:50 |
|
|
本是
银牌会员
    
积分 2221
发帖 789
注册 2005-1-27
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
我怀疑——这应该是CONMENU.SYS对“REM CM0=[”后面的字符串有一定的要求:比如不能有英文的某些标点?
去问问高手YAYA吧!那是他开发的软件。
I suspect - this should be that CONMENU.SYS has certain requirements for the string after "REM CM0=
|

my major is english----my love is dos----my teacher is the buddha----my friends--how about U |
|
2008-5-14 20:51 |
|
|
yaya
银牌会员
    
积分 1009
发帖 353
注册 2003-9-4
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
改来改去必然出问题.自己做一个config.sys,然后生成.exe和.new文件,把.new改成.sys就行了.
Changing it over and over is bound to cause problems. Make a config.sys yourself, then generate .exe and .new files, and change .new to .sys.
|
|
2008-5-15 09:23 |
|
|
ieujj
新手上路

积分 6
发帖 3
注册 2018-12-23
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
我也不懂耶来看看怎么做
I also don't understand, let's see how to do it
|
|
2018-12-24 23:13 |
|