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-08-26 14:29
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » ConfigP.Mnu 2.02 for Config.sys Parallel Configuration Menu View 18,568 Replies 84
Original Poster Posted 2007-06-30 17:08 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
### Features
1. The common configuration menu is executed step by step downward and cannot be returned, like a series connection. When the nesting level is large, the menu items will show an exponential growth trend, making menu writing more cumbersome and having more repeated items. This configuration menu is in a parallel relationship, with simple menu writing and strong readability. The menu can be continuously selected, or can be returned sequentially or directly to the main menu.
2. Works in 640×480 256-color mode (mode 101).
3. Can load GIF format images.
4. Can load Chinese character fonts, and has an embedded Chinese and English character display program, providing a good platform for displaying Chinese menus.
5. Has a title and a footer, and each line can set a color separately.
6. Has comments, providing a brief description for the menu, and can set the color and position separately.
7. Can shield the display information in the Config.sys processing process.

### Brief Description
1. Menus are divided into 3 types: nested menu (NestMenu), check menu (CheckMenu), and radio menu (RadioMenu).
- The nested menu is used to select which menu to open next. It is more like a directory, indicating which contents to configure and which contents are loaded by default.
- The nested menu can have no items.
- The check menu is used to load compatible drivers, and can be not selected or all selected.
- The radio menu is used to load mutually exclusive drivers, and should select 1 item and only 1 item.
2. Items are divided into 2 types: default item (DefaultItem) and ordinary item (Item).
- The default item is the item loaded by default at startup.
3. A configuration block (block) is a group of drivers organized as needed. Parameters can be set in the configuration block, and AutoExec.bat can be remotely controlled.
- Public configuration blocks can be placed before block=0 and after block=end.
4. If the sub-menu does not contain title, footer, item color, and first-line indentation of item description, it inherits the content of the parent menu.
5. If the title and footer in the menu do not contain color, the item color is used.
6. If the comment in the sub-menu does not contain color and position, it inherits the content of the parent menu.
7. Adjust the image size in Photoshop, save it as all web formats, select GIF format in the pop-up menu and be limited by web, select 256 colors (otherwise the character color is abnormal), and appropriately adjust the loss value to reduce the image size.
8. The Chinese character font 16j.dot should be placed in the current directory.

### Usage Method
1. Method of selecting items
a. Press the corresponding letter key.
b. Press the ↑/↓ key to cycle through selection upward/downward.
2. Method of setting items
a. For check items, press the space bar or Enter key to select/clear.
b. For radio items, it is set while being selected.
3. Method of selecting menus
a. Press the → key to continuously select backward.
b. Press the ← key to return sequentially.
c. Press the space bar or Enter key on the selected item in the nested menu to open the specified menu.
4. Method of exiting the menu
a. Press Esc or Backspace key on the main menu to exit the menu configuration.
b. On other menus, press Esc or Backspace key to return to the main menu.
5. Switch parameters
a. /s Shield the display information of Config.sys.
b. /u Remove shielding.
c. /i Background image.
6. Conversion of English letter case
In the same line, it is default to uppercase, and converted when encountering ^.
Example: c^onfig^p.m^nu is displayed as ConfigP.Mnu

### Syntax Description
1. Menu
rem 0NestMenu=rrggbb,u,....
rem 0CheckMenu=rrggbb,u,....
rem 0RadioMenu=rrggbb,u,....
0 Menu sequence number.
rrggbb Comment color, default is the same as color.
u Comment position (u is displayed in the upper part , d is displayed in the lower part ), default d.
.... Comment content.
Example: =ffff00,u,....
=ffff00,,....
=,u,....
=,,....
=
2. Item color, display mode of the selected item, default 000000999999,c
rem color=
Background/foreground color (rrggbbrrggbb).
rr, gg, bb are the color components of red, green, and blue respectively, ranging from 00 to ff, and taking values according to the web_216 color table.
Display mode of the selected item: c inverse color, h highlight. Only inverse color is allowed when the character background color is transparent.
Character background color transparent (t).
Example: =000000999999,h
=000000999999
=,h
=000000999999,c,t
=000000999999,,t
3. First-line indentation of item description, default 4 (decimal)
rem initial=
4. Main menu time, time label, default 60 (decimal)
rem time=30,....
30 Time (seconds).
.... Time label.
Example: =30,Remaining time
=30
5. Title
rem caption=rrggbb,....
rrggbb Title color, default is the same as color.
.... Title content.
Example: =999999,....
=,....
=
6. Footer
rem endnote=rrggbb,....
rrggbb Footer color, default is the same as color.
.... Footer content.
Example: =999999,....
=,....
=
7. Item
rem item=2=....
rem DefaultItem=2,11=....
Number For the nested menu, it is the menu sequence number (e.g., open the 2nd page menu).
For the radio menu and check menu, it is the configuration block sequence number (e.g., include configuration blocks 2 and 11).
.... Item description.
8. Configuration block
rem block=0
....
rem block=end
0 Configuration block sequence number.
end Configuration block end symbol.
9. rem can be replaced by '; '



Example 1: Unified title and footer, and the function of each menu is explained by comments.
device=himem.sys
device=ConfigP.Mun /i txz.gif /s
; 0NestMenu=ffff00,u, Main menu
; color=cc99ff00ffff,,t
; initial=22
; time=10,Remaining time
; caption=
; caption=
; caption=
; caption=
; caption=
; caption=ff3366, Chinese MSDOS_7.1 Boot Disk
; caption=3333ff, ================================================
; endnote=ff33ff, Select items by pressing up/down arrow keys or corresponding letter keys, and set items by pressing space bar or Enter key
; endnote=ffcc99, Continuously select menu pages by pressing left/right arrow keys, and press E^sc or Backspace key to return to main menu or exit editing
; item=1=Select startup mode Default load umbpci
; item=2=Select CD-ROM Default load vide-cdd
; item=3=Select USB Default not load

; 1RadioMenu=,, Select startup mode (Radio)
; DefaultItem=0,9=Load umbpci
; item=1,9=Load emm386
; item==Minimum load

; 2CheckMenu=,, Select CD-ROM (Check)
; DefaultItem=2=Load vide-cdd
; item=3=Load aspicd
; item=4=Load usbcd

; 3CheckMenu=,, Select USB (Check)
; item=5=Load usbaspi
; item=6=Load di1000dd
; item=7=Load aspiohci
; item=8=Load aspiuhci

device=xmsdsk.sys 9216 /y
; block=0
device=umbpci.sys
; block=1
device=emm386.exe
; block=2
device=vide-cdd.sys /d:ide-cd
; block=3
device=aspicd.sys /d:scsi-cd
; block=4
device=usbcd.sys /d:usb-cd
; block=5
device=usbaspi.sys /r /NORST
; block=6
device=di1000dd.sys
; block=7
device=aspiohci.sys /int /all
; block=8
device=aspiuhci.sys /int /all
; block=9
dos=high,umb,auto

; block=end


fcbshigh=4,0
fileshigh=30
buffershigh=30,0
lastdrivehigh=32
device=ConfigP.com /u

The main modifications in this version:
1. Changed from display mode 3 (640×480 16 colors) to display mode 101 (640×480 256 colors)
2. Added a module to display GIF format images
3. Added a module to display Chinese and English characters
4. Added radio buttons, check boxes, and progress bar icons

[ Last edited by yaya on 2007-8-8 at 02:32 PM ]
Recent Ratings for This Post ( 4 in total) Click for details
RaterScoreTime
qzwqzw +15 2007-07-02 11:04
0451lym +8 2007-07-02 21:18
hulongzhuo +2 2007-07-06 19:26
mayucai +1 2007-09-07 10:27
Attachments
configp1.jpg
configp2.jpg
configp3.jpg
Floor 2 Posted 2007-06-30 17:14 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
Packing files

[ Last edited by yaya on 2007-8-9 at 10:34 AM ]
Recent Ratings for This Post ( 2 in total) Click for details
RaterScoreTime
wangjf +4 2007-07-01 14:29
hulongzhuo +2 2007-07-09 10:24
Attachments
ConfigP202.rar (172.34 KiB, Credits to download 1 pts, Downloads: 219)
Floor 3 Posted 2007-06-30 19:08 ·  中国 黑龙江 哈尔滨 电信
高级用户
★★★
Credits 760
Posts 357
Joined 2005-10-10 22:33
20-year member
UID 43332
Status Offline
Great! !
The expert is really an expert! !

Thank you for sharing! ! ! ! ! ! !

[ Last edited by 0451lym on 2007-6-30 at 07:40 PM ]
Floor 4 Posted 2007-06-30 21:00 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Congratulations! The technology has become more mature. It's not just ConfigP.Mnu anymore; it should be ChinBoot.sys. Good! Good! Good!
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 5 Posted 2007-07-01 08:57 ·  中国 河北 唐山 中移铁通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
Support
DOS之家 http://doshome.com 站长 葛明阳
Floor 6 Posted 2007-07-01 09:51 ·  中国 福建 厦门 电信
中级用户
★★
Credits 480
Posts 197
Joined 2006-09-20 00:40
19-year member
UID 63115
From 黄冈
Status Offline
Support

.........
Floor 7 Posted 2007-07-01 14:29 ·  中国 江苏 常州 电信
中级用户
★★
Credits 254
Posts 63
Joined 2003-04-08 00:00
23-year member
UID 1430
Gender Male
Status Offline
Floor 8 Posted 2007-07-02 12:23 ·  中国 湖北 潜江 电信
中级用户
★★
Credits 376
Posts 164
Joined 2006-12-05 01:28
19-year member
UID 72582
Gender Male
Status Offline
Try it out, it should be pretty good. The startup disk menu interface made in the future will be very beautiful!!
Floor 9 Posted 2007-07-02 14:37 ·  中国 山西 运城 联通
银牌会员
★★★
天的白色影子
Credits 2,343
Posts 636
Joined 2004-03-06 00:00
22-year member
UID 19350
Gender Male
Status Offline
Not bad, very not bad!
It's just that the effect of that example is really...
The typesetting and art aspects need to be improved
Otherwise, a good work is wasted in vain

In addition,
Since there is your own "module for displaying Chinese and English characters"
Then why do uppercase letters still need to be converted with ^?
Floor 10 Posted 2007-07-03 10:51 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
The image quality is poor to reduce size, which increases image loss. Uppercase letters need to be prefixed with ^ because when DOS loads config.sys, it converts all English to uppercase. This program further processes on this basis.
Floor 11 Posted 2007-07-03 13:21 ·  中国 福建 泉州 石狮市 电信
初级用户
Credits 97
Posts 40
Joined 2006-11-01 13:59
19-year member
UID 69168
Gender Male
Status Offline
Relatively clumsy, I wonder if I can make a batch file for you
Floor 12 Posted 2007-07-03 22:57 ·  中国 上海 东方有线
新手上路
Credits 19
Posts 10
Joined 2006-03-23 10:02
20-year member
UID 52638
Gender Male
Status Offline
Collected. Haha, thanks
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
hulongzhuo -2 2007-07-06 19:41
Floor 13 Posted 2007-07-03 22:58 ·  中国 上海 东方有线
新手上路
Credits 19
Posts 10
Joined 2006-03-23 10:02
20-year member
UID 52638
Gender Male
Status Offline
Staying on the first page means I've entered the expert ranks of the forum? Surprised
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
hulongzhuo +2 2007-07-06 19:41
Floor 14 Posted 2007-07-05 11:48 ·  中国 山西 太原 联通(蓝汛云计算太原节点)
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
v2.01 Released on July 5, 2007 on floor 2

Modified: When shielding or error messages, uniformly black background with white text
Corrected: Error that occurs when /s is after /i
Recent Ratings for This Post ( 2 in total) Click for details
RaterScoreTime
qzwqzw +9 2007-07-06 08:17
hulongzhuo +2 2007-07-09 10:23
Floor 15 Posted 2007-07-05 21:55 ·  中国 台湾 桃园市 中华电信
初级用户
Credits 41
Posts 22
Joined 2006-05-25 20:22
20-year member
UID 55996
Status Offline
This is really a great initiative. Now adding background, it took a lot of time and effort! Keep it up
1 2 3 6 Next ›
Forum Jump: