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-23 19:02
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » Config Chinese menu-driven Confect.sys (updated to version 4.3) View 29,584 Replies 117
Floor 16 Posted 2008-12-28 22:44 ·  中国 辽宁 沈阳 联通
初级用户
Credits 62
Posts 31
Joined 2008-03-28 22:19
18-year member
UID 114297
Gender Male
Status Offline
Pay attention to the poster's instructions, especially the parts different from the example routine. Sometimes it's just a symbol that makes the difference, heh.
Floor 17 Posted 2008-12-29 11:01 ·  中国 吉林 长春 电信
新手上路
Credits 2
Posts 1
Joined 2008-12-25 12:26
17-year member
UID 134870
Gender Male
Status Offline
It's great, the test passed at one time. Thumbs up! It would be nice if the character size could be controlled and automatic centering added. It's best to add a background.
Floor 18 Posted 2008-12-31 01:21 ·  中国 广东 揭阳 电信
高级用户
★★
Credits 774
Posts 293
Joined 2003-04-16 00:00
23-year member
UID 1579
Gender Male
From 湖北仙桃
Status Offline
The config.sys is roughly like this:
DEVICE=CONFECT.SYS
REM
set confect=M1,Real Mode
set confect=M2,Real Mode and start network
set confect=M3,Real Mode and load CD-ROM
set confect=M4,Minimal Mode
REM
DEVICE=\HIMEM.SYS /TESTMEM:OFF
.....

REM

REM
DOS=HIGH,UMB
SHELL=COMMAND.COM /P /E:512
When selecting the 4th item in menu M4, this error prompt always appears,

If the line DOS=HIGH,UMB is removed, such an error will not occur, and other menu items must have this line. Putting the original English menu of config.sys into will not have such an error prompt.

[ Last edited by xugaohui on 2008-12-31 at 01:27 ]
下载
09年7月7日 更新
感谢网友 囧HQY 提供空间
Floor 19 Posted 2008-12-31 10:28 ·  中国 江苏 苏州 吴江区 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
In config.sys:
DEVICE=HIMEM.SYS
DEVICEHIGH=UMBPCI.SYS
Everything is OK!
DEVICE=UMBPCI.SYS
DEVICEHIGH=HIMEM.SYS
There will be an error prompt like the 18th floor.
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 20 Posted 2008-12-31 11:24 ·  中国 广东 揭阳 电信
高级用户
★★
Credits 774
Posts 293
Joined 2003-04-16 00:00
23-year member
UID 1579
Gender Male
From 湖北仙桃
Status Offline
When under REM there is DOS=HIGH,UMB, if a configuration block download does not load himem.sys, the above error will occur. Maybe there is a difference in the execution order between the menu driver and the original config.sys menu. This error does not affect the use, but it feels not perfect.
In addition, it would be nice if the ABC. in front of each menu could be indented by two spaces.
I tested on VMware and couldn't display the endnotes, but could on a physical computer.
Now, no Chinese hollow space phenomenon is found on both VMware and the real computer. The initial version had hollow spaces.


[ Last edited by xugaohui on 2008-12-31 at 11:30 ]
下载
09年7月7日 更新
感谢网友 囧HQY 提供空间
Floor 21 Posted 2008-12-31 12:12 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
Originally posted by xugaohui at 2008-12-31 11:24:
When there is DOS=HIGH,UMB under REM , if a configuration block download does not load himem.sys, the above error will occur. Maybe there is a difference in the execution order between the menu-driven and the original config.sys menu. This error...


Your judgment is the same as my analysis result.
When DOS executes the original config menu, it first executes the menu part, and then executes the configurations before and after the menu.
Confect is executed in order.

[ Last edited by sanchuan on 2008-12-31 at 12:15 ]
三川一笑
Floor 22 Posted 2008-12-31 12:40 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Originally posted by xugaohui at 2008-12-31 11:24:
When there is DOS=HIGH,UMB under , if a configuration block download does not load himem.sys, the above error will occur. Maybe there is a difference in the execution order between the menu driver and the original config.sys menu. This error...


Since "When there is DOS=HIGH,UMB under , if a configuration block download does not load himem.sys, the above error will occur", then put "DOS=HIGH,UMB" in the configuration block that loads himem.sys, not in the public block,
and this error can be avoided.
At least theoretically. Who will test and prove it?

[ Last edited by 本是 on 2008-12-31 at 12:41 ]
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 23 Posted 2008-12-31 13:57 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
In confect, the configurations before the REM statement and the configurations after the rem statement are both processed as public by DOS. That is to say: "DOS=HIGH,UMB" can be placed before the REM statement. Other public configurations can also be like this.

[ Last edited by sanchuan on 2008-12-31 at 13:58 ]
三川一笑
Floor 24 Posted 2008-12-31 17:43 ·  中国 广东 揭阳 电信
高级用户
★★
Credits 774
Posts 293
Joined 2003-04-16 00:00
23-year member
UID 1579
Gender Male
From 湖北仙桃
Status Offline
These methods have been tried. There is such an error when placed anywhere, and the effect is the same.
As long as this line appears and himem.sys is not loaded, there will be this error.
Also found a strange phenomenon, set color=7,0,0 and set color=7,0,8 have the same display effect.
On the physical computer and in VMware, the note display color after each menu item is always different. On the physical computer, set color=7,0,8 the note content is high brightness, and on the virtual machine it is not high brightness.

[ Last edited by xugaohui on 2008-12-31 at 20:31 ]
下载
09年7月7日 更新
感谢网友 囧HQY 提供空间
Floor 25 Posted 2008-12-31 23:02 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
三川一笑
Floor 26 Posted 2008-12-31 23:06 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
Originally posted by Ben Shi at 2008-12-31 12:40:

Put "DOS=HIGH,UMB" in the configuration block where himem.sys is loaded, not in the common block,
and the above error can be avoided.



Yes! It's really Ben Shi

[ Last edited by sanchuan on 2008-12-31 at 23:08 ]
三川一笑
Floor 27 Posted 2009-01-01 01:20 ·  中国 广东 揭阳 电信
高级用户
★★
Credits 774
Posts 293
Joined 2003-04-16 00:00
23-year member
UID 1579
Gender Male
From 湖北仙桃
Status Offline
Using the original config menu always doesn't have this error. The above methods have all been tried.

That is, there needs to be a menu that doesn't load the XMS UMB memory driver. The required effect is exactly the same as the effect of pressing the F5 key in the original English config menu, not loading any drivers. At the same time, this menu can also be used for other projects that need to load himem.sys. In short, if there is DOS=HIGH,UMB in this Chinese menu configuration but himem.sys is not loaded, there will be an error prompt.

set color=Defines the color of menu item characters, background color and background color of prompt information. The color value is 0-7;
Using set color=7,0,0. Why is the background color of the prompt information a bright white color on the real computer? Can it be the same as the color of the unselected menu item?

The following is a screenshot in VPC. The content of config.sys is exactly the same as that of floor 20.


[ Last edited by xugaohui on 2009-1-1 at 01:47 ]
下载
09年7月7日 更新
感谢网友 囧HQY 提供空间
Floor 28 Posted 2009-01-01 16:42 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
Originally posted by xugaohui at 2009-1-1 01:20:
set color=Define the color of the menu item characters, the background color, and the background color of the prompt information. The color value is 0-7;
Using set color=7,0,0. Why is the background color of the prompt information a bright white on the real computer? Can it be the same as the color of the unselected menu item? ...


Regarding the color setting, according to the information provided, improvements were made in version 4.2.

Among them: color 0 and 8 are both black, and color 7 and 15 are both white.

Version 4.2 added some settings, see the instructions in the compressed package.

[ Last edited by sanchuan on 2009-1-3 at 21:36 ]
Attachments
confect42.rar (6.12 KiB, Downloads: 101)
三川一笑
Floor 29 Posted 2009-01-01 19:57 ·  中国 广东 揭阳 电信
高级用户
★★
Credits 774
Posts 293
Joined 2003-04-16 00:00
23-year member
UID 1579
Gender Male
From 湖北仙桃
Status Offline
Version 4.2 finally supports menu indents, and now the menu looks even more beautiful. Although radio buttons or checkboxes are not commonly used, I still need to learn how to use them.

To be compatible with the original config.sys, the first two lines of my autoexec.bat are:
SET CONFIG=%CONFECT%
SET CONFECT=

Confect is the most convenient menu-driven one so far. The author was still updating the software on the first day of the new year. Thanks to the author.

I immediately tried it in VMware. Now the "==" titles don't have gaps between the equal signs. Previously, there were no gaps in VPC, which means the file doesn't explain what 0-15 represent in terms of colors, and I need to search online. You can set whether to display shortcut keys. In VMware, the EndNote endnotes can finally be displayed, and they are not as faint as on a real computer.

I hope the submenu can be closer to the main menu.
The & and @ displayed in front of the submenu are not very intuitive. The interface of nu8.0 is very vivid in terms of checkboxes and radio buttons. Displaying ASCII character 251 in front of menu items is more intuitive than "&".

The radio button function of the submenu is very strange. Use the up and down arrows to move the light band. Press Enter on the line where the light band is, and it will execute that line, regardless of whether there is an "@" in front. But when the light band moves up and down, the @ character in front doesn't move up and down. As shown in the figure, the line where the light band is will be executed, regardless of whether there is an @ character in front.
set confect=M4, minimal mode; select when updating BIOS, and you can select UMB drivers in different modes using the submenu.
The & menu item for checking can also be used for radio selection.
set option=M41, do not load UMB driver;@
set option=M42, load UMBPCI.SYS
set option=M43, load EMM386.EXE


[ Last edited by xugaohui on 2009-1-2 at 10:51 ]
下载
09年7月7日 更新
感谢网友 囧HQY 提供空间
Floor 30 Posted 2009-01-02 09:11 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
Originally posted by xugaohui at 2009-1-1 19:57:
The single selection function of the submenu is very strange. When moving the light band with the up and down keys, pressing Enter on that line will execute this line, regardless of whether there is "@" in front. However, when the light band moves up and down, the "@" character in front will not move up and down. As shown in the figure below, the light band will execute that line regardless of whether there is an "@" character in front.
set confect=M4, minimum mode; selected when updating BIOS, you can select UMB drivers of different modes using the submenu.
The & menu item used for multiple selection can also be single selected.


The single selection sub-items can be set or cleared using the number shortcut key (space bar). Moving the bright bar is not equivalent to selecting - there is a prompt at the bottom of the second picture upstairs.
If both & and @ are marked in the sub-item, it is judged as single selection.
In the sub-item, the Enter key is to confirm the single option at the bright bar or all the multiple options marked with &; if Enter is pressed on the main item, the main item will be executed and the marked sub-items will also be executed.
三川一笑
Forum Jump: