中国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 10:16
47,812 topics / 349,910 posts / today 0 new / 48,264 members
DOS汉化世界 & 中文系统 (中文化室) » Ask about the problem that the CONFIG Chinese menu configuration Confect.sys cannot execute the specified module
Printable Version  3,265 / 1
Floor1 vel770 Posted 2015-12-24 09:05
新手上路 Posts 1 Credits 4
The original code is as follows:
device=confect.sys /m a:\HZK16
; [SETTINGS]
set alHead=6
set align=10,1
set alNote=6
set shortcut=a,1
set color=14,0,9,2
set default=1,10,9
set heading=
set heading= Please select the boot mode
set heading=======================================
set heading=======================================
set endnote=Please use ↑↓ or the corresponding letters to select the menu item, and press Enter to execute.

set confect=M1,Boot: U disk universal driver mode, do not load the CD-ROM
set confect=M2,Boot: U disk universal driver mode, load the CD-ROM
set confect=M3,Boot: EHCI driver mode of USB device, load the CD-ROM
set confect=M4,Boot: OHCI driver mode of USB device, load the CD-ROM
set confect=M5,Boot: UHCI driver mode of USB device, load the CD-ROM
set confect=M6,Boot: driver mode of UMBPCI motherboard, do not load the CD-ROM
set confect=M7,Boot: driver mode of UMBPCI motherboard, do not load the CD-ROM
set confect=M8,Read the help document

; [M1]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS /testmem:off
DEVICE=EMM386.EXE NOEMS
DEVICE=ECHO.SYS
DEVICE=ECHO.SYS L/o/a/d/i/n/g USB /d/r/i/v/e/s /s/u/p/p/o/r/t...
DEVICE=USBASPI.SYS /R
DEVICEHIGH=DI1000DD.SYS
DEVICEHIGH=USBCD.SYS /D:USB-CD
DEVICE=ASPIOHCI.SYS /INT /ALL
DEVICE=ASPIUHCI.SYS /INT /ALL
DEVICE=ASPIEHCI.SYS /INT /ALL

; [M2]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS /testmem:off
DEVICE=EMM386.EXE NOEMS
DEVICE=ECHO.SYS
DEVICE=ECHO.SYS L/o/a/d/i/n/g USB /d/r/i/v/e/s /s/u/p/p/o/r/t...
DEVICE=USBASPI.SYS /R
DEVICEHIGH=DI1000DD.SYS
DEVICEHIGH=USBCD.SYS /D:USB-CD
DEVICE=ASPIOHCI.SYS /INT /ALL
DEVICE=ASPIUHCI.SYS /INT /ALL
DEVICE=ASPIEHCI.SYS /INT /ALL
DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
DEVICEHIGH=ASPICD.SYS /D:SCSI-CD
DEVICEHIGH=CLOAKING.EXE

; [M3]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS /testmem:off
DEVICE=EMM386.EXE NOEMS
DEVICE=ECHO.SYS
DEVICE=ECHO.SYS L/o/a/d/i/n/g USB /d/r/i/v/e/s /s/u/p/p/o/r/t...
devicehigh=usbaspi.sys /e /v /norst
DEVICE=USBASPI.SYS /R
DEVICEHIGH=DI1000DD.SYS
DEVICEHIGH=USBCD.SYS /D:USB-CD
DEVICE=ASPIOHCI.SYS /INT /ALL
DEVICE=ASPIUHCI.SYS /INT /ALL
DEVICE=ASPIEHCI.SYS /INT /ALL
DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
DEVICEHIGH=ASPICD.SYS /D:SCSI-CD
DEVICEHIGH=CLOAKING.EXE


; [M4]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS /testmem:off
DEVICE=EMM386.EXE NOEMS
DEVICE=ECHO.SYS
DEVICE=ECHO.SYS L/o/a/d/i/n/g USB /d/r/i/v/e/s /s/u/p/p/o/r/t...
devicehigh=usbaspi.sys /o /v /norst
DEVICE=USBASPI.SYS /R
DEVICEHIGH=DI1000DD.SYS
DEVICEHIGH=USBCD.SYS /D:USB-CD
DEVICE=ASPIOHCI.SYS /INT /ALL
DEVICE=ASPIUHCI.SYS /INT /ALL
DEVICE=ASPIEHCI.SYS /INT /ALL
DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
DEVICEHIGH=ASPICD.SYS /D:SCSI-CD
DEVICEHIGH=CLOAKING.EXE

; [M5]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS /testmem:off
DEVICE=EMM386.EXE NOEMS
DEVICE=ECHO.SYS
DEVICE=ECHO.SYS L/o/a/d/i/n/g USB /d/r/i/v/e/s /s/u/p/p/o/r/t...
devicehigh=usbaspi.sys /u /v /norst
DEVICE=USBASPI.SYS /R
DEVICEHIGH=DI1000DD.SYS
DEVICEHIGH=USBCD.SYS /D:USB-CD
DEVICE=ASPIOHCI.SYS /INT /ALL
DEVICE=ASPIUHCI.SYS /INT /ALL
DEVICE=ASPIEHCI.SYS /INT /ALL
DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
DEVICEHIGH=ASPICD.SYS /D:SCSI-CD
DEVICEHIGH=CLOAKING.EXE

; [M6]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS /testmem:off
DEVICE=EMM386.EXE NOEMS
DEVICE=ECHO.SYS
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h UMBPCI...
DEVICE=UMBPCI.SYS
DEVICE=LOWDMA.SYS
DEVICE=HIRAM.EXE
DEVICEHIGH=HIMEM.SYS

; [M7]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS /testmem:off
DEVICE=EMM386.EXE NOEMS
DEVICE=ECHO.SYS
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h UMBPCI...
DEVICE=UMBPCI.SYS
DEVICE=LOWDMA.SYS
DEVICE=HIRAM.EXE
DEVICEHIGH=HIMEM.SYS
DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
DEVICEHIGH=ASPICD.SYS /D:SCSI-CD
DEVICEHIGH=CLOAKING.EXE

; [M8]
device=ECHO.SYS P/l/e/a/s/e /w/a/i/t...
device=HIMEM.SYS
INCLUDE M2

; [CONFIG]
device=himem.sys /testmem:off
device=emm386.sys noems
SHELL=A:\COMMAND.COM /P /E:640
SET TMP=C:\
SET TEMP=C:\
DOS=HIGH,UMB,AUTO
NUMLOCK=OFF
FCBSHIGH=4,0
FILESHIGH=30
BUFFERSHIGH=30,0
LASTDRIVEHIGH=32
STACKSHIGH=9,256

After the above code is executed, Chinese can be displayed, but the selected code cannot be executed. For example, the first item of M1 is run by default, and the code under ; [M1] cannot be executed and directly jumps to autoexec.bat. The result I want is that no matter which item is selected, after the code in the corresponding module is executed, autoexec.bat is run. I hope experts can help solve it.
Floor2 lydcn Posted 2024-03-20 08:55
初级用户 Posts 16 Credits 40
I also discovered this strange problem. The CONFIG Chinese menu configures Confect.sys and cannot execute the specified module. After multiple tests, it was found that there needs to be a space between the semicolon and the label name, such as "; ".

There may also be restrictions on the label name. For example, the ones I used, "; " and "; ", cannot jump over, and the following appears:

Warning: the high memory area (HMA) is not available.
Additional low memory (below 640K) wi 11 be used instead.


Changing to other names like "; " and "; " can successfully jump over.

[ Last edited by lydcn on 2024-3-20 at 09:48 ]
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023