In config.sys, the menu editors used are BootCon.sys and Boot.sys. They are powerful but also large in size.
The menu editor ConMenu.sys compiled by me is only 1.78K.
Functions:
12 - line title and 4 - line endnote;
rem caption=
rem endnote=
16 items can display the menu (A, B, C... P);
rem cm0=
A
The labels must be arranged in the order of A, B, C...
9 items of implicit menu (1, 2, 3... 9);
rem cm0=(1
...
rem cm0=)1
The labels must be arranged in the order of 1, 2, 3...
The letters and numbers after =] and =) are not necessary, just for self - identification
The displayable menu and the implicit menu can be mixed in order;
that is, A, B, 1, C, 2...
Color attributes (background and foreground color, display mode of the selected menu item), if not input, the default is 07, F;
background and foreground color (00... FF) (the background flash bit is changed to highlight)
display mode of the selected menu item (f inverse color, g highlight)
Example: =07,g =07 =,g
rem color=
Default attributes (default menu item, display time), if not input, the default is A, 60;
rem default=
Example: =b,30 =b =,30
The displayable menu item can contain other menu items at the same level (displayable/implicit);
rem include0=
When include is used in the menu item containing the sub - menu, it should be placed after the end of the sub - menu and before the end of this menu item
rem cm0=
rem include0=...
...
rem cm0=]b
Check menu can select multiple items (use Enter key to select/clear);
rem cm0=
A
Sub - menu can be nested at multiple levels;
The first level is 0, the second level is 1...
cm0, cm1...
include0, include1...
Return parameters A, B... P by %cm0%, %cm1%...;
Program end mark rem cm0=;
Select the menu item by ↑↓ or corresponding letter; '?' is the check menu, press Enter to select/clear; in the single - choice menu press Enter to confirm
If the sub - menu does not contain title, endnote, background and foreground color, display mode of the selected menu item, time, it will inherit the content of the parent menu
Example 1: (In actual use, the Chinese font below needs to be replaced by 'Benshi' VTMagic.com)
device=config.exe (generated by 'Benshi' VTMagic.com)
device=ConMenu.sys
rem color=1e
rem default=a,30
rem caption= Chinese MSDOS 7.1 Boot Disk
rem caption=================================================
rem endnote=Press ↑↓ or corresponding letter to select the menu item; '?' is the check menu, press Enter to select/clear
rem endnote=Press Enter to confirm in the single - choice menu
rem cm0=
A
rem cm0=
B
rem cm0=
C
rem cm0=
D
rem cm0=
E
rem cm0=(1
devicehigh=vide - cdd.sys /d:ide - cd
devicehigh=aspicd.sys /d:scsi - cd
rem cm0=)1
rem cm0=(2
device=usbaspi.sys /r
device=aspiohci.sys /int /all
device=aspiuhci.sys /int /all
device=di1000dd.sys
device=usbcd.sys /d:usb - cd
rem cm0=)2
dos=high,umb,auto
fcbshigh=4,0
fileshigh=30
buffershigh=30,0
lastdrivehigh=32
stackshigh=9,256
rem cm0=Sample Text
[ Last edited by yaya on 2006 - 2 - 28 at 17:14 ]
The menu editor ConMenu.sys compiled by me is only 1.78K.
Functions:
12 - line title and 4 - line endnote;
rem caption=
rem endnote=
16 items can display the menu (A, B, C... P);
rem cm0=
A
The labels must be arranged in the order of A, B, C...
9 items of implicit menu (1, 2, 3... 9);
rem cm0=(1
...
rem cm0=)1
The labels must be arranged in the order of 1, 2, 3...
The letters and numbers after =] and =) are not necessary, just for self - identification
The displayable menu and the implicit menu can be mixed in order;
that is, A, B, 1, C, 2...
Color attributes (background and foreground color, display mode of the selected menu item), if not input, the default is 07, F;
background and foreground color (00... FF) (the background flash bit is changed to highlight)
display mode of the selected menu item (f inverse color, g highlight)
Example: =07,g =07 =,g
rem color=
Default attributes (default menu item, display time), if not input, the default is A, 60;
rem default=
Example: =b,30 =b =,30
The displayable menu item can contain other menu items at the same level (displayable/implicit);
rem include0=
When include is used in the menu item containing the sub - menu, it should be placed after the end of the sub - menu and before the end of this menu item
rem cm0=
rem include0=...
...
rem cm0=]b
Check menu can select multiple items (use Enter key to select/clear);
rem cm0=
A
Sub - menu can be nested at multiple levels;
The first level is 0, the second level is 1...
cm0, cm1...
include0, include1...
Return parameters A, B... P by %cm0%, %cm1%...;
Program end mark rem cm0=;
Select the menu item by ↑↓ or corresponding letter; '?' is the check menu, press Enter to select/clear; in the single - choice menu press Enter to confirm
If the sub - menu does not contain title, endnote, background and foreground color, display mode of the selected menu item, time, it will inherit the content of the parent menu
Example 1: (In actual use, the Chinese font below needs to be replaced by 'Benshi' VTMagic.com)
device=config.exe (generated by 'Benshi' VTMagic.com)
device=ConMenu.sys
rem color=1e
rem default=a,30
rem caption= Chinese MSDOS 7.1 Boot Disk
rem caption=================================================
rem endnote=Press ↑↓ or corresponding letter to select the menu item; '?' is the check menu, press Enter to select/clear
rem endnote=Press Enter to confirm in the single - choice menu
rem cm0=
A
rem cm0=
B
rem cm0=
C
rem cm0=
D
rem cm0=
E
rem cm0=(1
devicehigh=vide - cdd.sys /d:ide - cd
devicehigh=aspicd.sys /d:scsi - cd
rem cm0=)1
rem cm0=(2
device=usbaspi.sys /r
device=aspiohci.sys /int /all
device=aspiuhci.sys /int /all
device=di1000dd.sys
device=usbcd.sys /d:usb - cd
rem cm0=)2
dos=high,umb,auto
fcbshigh=4,0
fileshigh=30
buffershigh=30,0
lastdrivehigh=32
stackshigh=9,256
rem cm0=Sample Text
[ Last edited by yaya on 2006 - 2 - 28 at 17:14 ]

