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-06-24 14:35
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » Ask about the problem that the CONFIG Chinese menu configuration Confect.sys cannot execute the specified module View 2,169 Replies 1
Original Poster Posted 2015-12-24 09:05 ·  中国 广西 桂林 联通
新手上路
Credits 4
Posts 1
Joined 2015-12-22 14:31
10-year member
UID 181389
Gender Male
Status Offline
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.
Floor 2 Posted 2024-03-20 08:55 ·  中国 广东 广州 联通
初级用户
Credits 40
Posts 16
Joined 2006-02-19 23:54
20-year member
UID 50650
Status Offline
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 ]
Forum Jump: