中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-26 13:06
47,812 topics / 349,910 posts / today 0 new / 48,264 members
DOS汉化世界 & 中文系统 (中文化室) » ConfigP.Mnu 2.02 for Config.sys Parallel Configuration Menu
Printable Version  18,561 / 84
Floor1 yaya Posted 2007-06-30 17:08
银牌会员 Posts 353 Credits 1,009
### 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 ]

Attachments
configp1.jpg (136.15 KiB)
configp2.jpg (134.67 KiB)
configp3.jpg (134.55 KiB)
Floor2 yaya Posted 2007-06-30 17:14
银牌会员 Posts 353 Credits 1,009
Packing files

[ Last edited by yaya on 2007-8-9 at 10:34 AM ]

Attachments
ConfigP202.rar (172.34 KiB)
Floor3 0451lym Posted 2007-06-30 19:08
高级用户 Posts 357 Credits 760
Great! !
The expert is really an expert! !

Thank you for sharing! ! ! ! ! ! !

[ Last edited by 0451lym on 2007-6-30 at 07:40 PM ]
Floor4 本是 Posted 2007-06-30 21:00
银牌会员 Posts 790 Credits 2,227
Congratulations! The technology has become more mature. It's not just ConfigP.Mnu anymore; it should be ChinBoot.sys. Good! Good! Good!
Floor5 gmy Posted 2007-07-01 08:57
版主 Posts 392 Credits 1,113
Support
Floor6 barton Posted 2007-07-01 09:51
中级用户 Posts 197 Credits 480 From 黄冈
Support

.........
Floor7 wangjf Posted 2007-07-01 14:29
中级用户 Posts 63 Credits 254
Floor8 minchengan Posted 2007-07-02 12:23
中级用户 Posts 164 Credits 376
Try it out, it should be pretty good. The startup disk menu interface made in the future will be very beautiful!!
Floor9 qzwqzw Posted 2007-07-02 14:37
银牌会员 Posts 636 Credits 2,343
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 ^?
Floor10 yaya Posted 2007-07-03 10:51
银牌会员 Posts 353 Credits 1,009
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.
Floor11 qingyangecho Posted 2007-07-03 13:21
初级用户 Posts 40 Credits 97
Relatively clumsy, I wonder if I can make a batch file for you
Floor12 hjch65655166 Posted 2007-07-03 22:57
新手上路 Posts 10 Credits 19
Collected. Haha, thanks
Floor13 hjch65655166 Posted 2007-07-03 22:58
新手上路 Posts 10 Credits 19
Staying on the first page means I've entered the expert ranks of the forum? Surprised
Floor14 yaya Posted 2007-07-05 11:48
银牌会员 Posts 353 Credits 1,009
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
Floor15 chen463 Posted 2007-07-05 21:55
初级用户 Posts 22 Credits 41
This is really a great initiative. Now adding background, it took a lot of time and effort! Keep it up
1 2 3 46  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023