Click the image to view the full size

Content of config.sys:
DEVICE=CONFECT.SYS
DEVICE=HIMEM.SYS /TESTMEM:OFF /NUMHANDLES=128
DOS=HIGH,UMB
REM
set alHead=3
set align=6,1
set alNote=3
set shortcut=a,1
set color=7,0,0,0
set default=1,6,9
set heading=
set heading=Microsoft MS-DOS 7.1 Startup Menu
set heading==================================
set heading=
set endnote=
set endnote=Use ↑→↓ or ← keys to move the highlight bar, or use A, B, C... keys to select main items
set endnote=
set endnote=Set (or clear) options using number keys or space bar, and press Enter to confirm.
set confect=M1,Real mode (load UMBPCI.SYS); Start network function by executing runnet under DOS.
set confect=M2,Real mode and start network; Start network function directly using IBM TCP/IP protocol.
set confect=M3,Real mode and load CD-ROM; Support SATA optical drive, start network function by executing runnet under DOS.
set confect=M4,Minimal mode; Select when updating BIOS, use submenu to select UMB drivers of different modes.
set option=M41,No load UMB driver;@
set option=M42,Load UMBPCI.SYS
set option=M43,Load EMM386.EXE
REM
DEVICE=UMBPCI.SYS
REM
DEVICE=UMBPCI.SYS
SET IBMLAN=1
REM
DEVICE=UMBPCI.SYS
DEVICEHIGH=UIDE.SYS /D:CDROM
REM
REM
REM
DEVICE=UMBPCI.SYS
REM
DEVICE=EMM386.EXE NOEMS I=B000-B7FF
REM
SHELL=COMMAND.COM /P /E:512
Contradictory problems were found during single selection, multiple selection, empty selection, and mixed use. Repeatedly testing at m41, m42, m43 here.
Content of submenu:
set option=M41,11111;&
set option=M42,22222
set option=M43,33333
set option=M44,44444;@
REM
device=11111
REM
device=22222
REM
device=33333
REM
device=44444

Test 1: When moving from the main menu to the submenu, it is displayed as shown in the above picture.
Error 1: But after pressing Enter, the line with & in front is not executed, which does not correspond to the display status.
Test 2: As shown in the above picture: Move the 4th item to the 1st item, turn it into an @ item, then press space bar to switch to an & item, and repeatedly press space bar to switch.
Error 2: The first item menu can only switch between @ and &. According to previous understanding, the correct state is: when switching on a menu with & or @, it should be @->empty selection->&->empty selection->then cycle.....
From this situation, the understanding is: If all sub-items have no checkboxes, but there is a single selection, when pressing space bar on this single selection, it becomes an empty selection, and when pressing Enter, all sub-items will be ignored (because the front of the sub-items are all empty).
Or understand the second error in this way: It is not allowed to turn a check menu into a single selection by pressing the space bar. When an @ single selection item is moved to a front & check item, this item should not be turned into @, and the @ single selection item should stay on the previous menu position. This restriction is more reasonable. It will not make both very complicated.
[
Last edited by xugaohui on 2009-1-3 at 21:35 ]