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-20 19:15
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » Configuration menu for driver parallel configuration for Config.sys ConfigP.Mnu v1.01 View 29,341 Replies 115
Floor 61 Posted 2007-04-08 03:33 ·  中国 黑龙江 哈尔滨 电信
高级用户
★★★
Credits 760
Posts 357
Joined 2005-10-10 22:33
20-year member
UID 43332
Status Offline
Originally posted by yaya at 2007-4-8 01:11:
Solved, please re-download from floor 49


I used the one downloaded from floor 49, but there are still problems!
Is there something wrong with the CONFIG I wrote?

DOS=HIGH,UMB,AUTO
NUMLOCK=ON
device=\SYS\config.exe
device=\SYS\ConfigP.Mnu

; 0NestMenu=
; color=1d,c
; initial=
; time=5, remaining time
; caption=
; caption=
; caption=a, My Image Restoration System
; caption=4, ----------------------------------------------
; endnote=e, Press the ↑↓ keys or corresponding letter keys to jump, press the space bar to select the item
; endnote=e,
; endnote=e, Press the → key to enter the sub - menu continuously, press the ← key to return in sequence
; endnote=e,
; endnote=e, Press the Enter key to end the driver selection and enter my image restoration system
; endnote=e,
; item=1=Select memory driver Default loading: HIMEM + UMBPCI
; item=2=Select CD - ROM driver Default not loaded
; item=3=Select _USB disk driver Default not loaded
; item=4=Select _USB CD - ROM driver Default not loaded
; item=5=Select _USB mouse driver Default not loaded

; 1RadioMenu=
; caption=
; caption=
; caption=
; caption=a, Select memory driver
; caption=4, ==============================================
; item=0=Load HIMEM
; item=0,1=Load HIMEM + EMM386
; DefaultItem=0,2=Load HIMEM + UMBPCI

; 2CheckMenu=
; caption=
; caption=
; caption=
; caption=a, Select CD - ROM driver
; caption=4, ==============================================
; item=3=Load gcdrom (SATA-CD)
; item=4=Load vide-cdd (PATA-CD)
; item=5=Load QCDROM (PATA-CD)

; 3RadioMenu=
; caption=
; caption=
; caption=
; caption=a, Select _USB disk driver
; caption=4, ==============================================
; item=6,7=Load DI1000DD
; item=6,8=Load ASPIDISK

; 4RadioMenu=
; caption=
; caption=
; caption=
; caption=a, Select _USB CD - ROM driver
; caption=4, ==============================================
; item=6,9=Load USBCD
; item=6,10=Load NJUSBCDA


; 5RadioMenu=
; caption=
; caption=
; caption=
; caption=a, Select _USB mouse driver
; caption=4, ==============================================
; item=6,11= Load UHCI
; item=6,12= Load OHCI

; block=0
DEVICE=\SYS\MEM\HIMEM.SYS /TESTMEM:OFF
; block=1
DEVICE=\SYS\MEM\EMM386.exe noems
DEVICEHIGH=\SYS\MEM\QSCACHE.SYS /F /S7
; block=2
DEVICE=\SYS\MEM\UMBPCI.SYS /S
DEVICEHIGH=\SYS\MEM\QCACHE.SYS /L /S5
; block=3
DEVICE=\SYS\CD\GCDROM.SYS /D:SATA-CD
; block=4
DEVICE=\SYS\CD\vide-cdd.sys /d:PATA-CD
; block=5
DEVICE=\SYS\CD\QCDROM.sys /d:PATA-CD
; block=6
DEVICE=\SYS\USB\usbaspi.sys
; block=7
DEVICE=\SYS\USB\di1000dd.sys
; block=8
DEVICE=\SYS\USB\ASPIDISK.SYS
; block=9
DEVICE=\SYS\USB\USBCD.sys /d:USB-CD
; block=10
DEVICE=\SYS\USB\NJUSBCDA.sys /D:USB-CD
; block=11
DEVICE=\SYS\USB\UHCI.EXE
; block=12
DEVICE=\SYS\USB\OHCI.EXE
; block=end

FILESHIGH=100
BUFFERSHIGH=30,0
SHELL=COMMAND.COM /P /F /E:4096
FCBSHIGH=8,0
STACKSHIGH=18,512
LASTDRIVEHIGH=Z
Floor 62 Posted 2007-04-08 03:51 ·  中国 黑龙江 哈尔滨 电信
高级用户
★★★
Credits 760
Posts 357
Joined 2005-10-10 22:33
20-year member
UID 43332
Status Offline
Can we add a space before the letters like A, B, C..... in the menu selection? It looks really awkward without spaces! (Fill border)

Hehe!

[ Last edited by 0451lym on 2007-4-8 at 04:49 AM ]
Floor 63 Posted 2007-04-08 15:25 ·  中国 黑龙江 哈尔滨 电信
高级用户
★★★
Credits 760
Posts 357
Joined 2005-10-10 22:33
20-year member
UID 43332
Status Offline
Some more suggestions!

Extremely difficult: Can we upgrade the background color to a background image, just like the menu for CD boot!

The following are all ideas based on the background image:
When executing the configuration, we can use a command prompt waiting statement, or use small images to accumulate and fill on the basis of the large background image. When executing the last sentence of AUTOEXEC, use a command to clear the screen and return to the DOS interface (erase the background image)

Thanks to the building of the building owner! Thanks for sharing!

[ Last edited by 0451lym on 2007-4-8 at 03:26 PM ]
Floor 64 Posted 2007-04-09 00:44 ·  中国 广东 汕头 潮阳区 电信
新手上路
Credits 2
Posts 1
Joined 2007-04-08 22:41
19-year member
UID 84416
Gender Male
Status Offline
A tough guy! Tianfeng's one-click recovery uses this to display Chinese.
Floor 65 Posted 2007-04-09 01:25 ·  中国 山西 太原 联通(蓝汛云计算太原节点)
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
Add a space before the letters A, B, C..... in the menu selection, and you can set the 'initial=' item. The default value is 4.

[ Last edited by yaya on 2007-4-10 at 03:19 AM ]
Floor 66 Posted 2007-04-09 04:58 ·  中国 黑龙江 哈尔滨 电信
高级用户
★★★
Credits 760
Posts 357
Joined 2005-10-10 22:33
20-year member
UID 43332
Status Offline
Boss, it still doesn't work. Is it a problem with my mainboard? Mine is an 848P mainboard, and I forgot what brand it is!

Also, there are spaces added before letters like A, B, C..... I mean the menu highlight bar, not the left and right indent positions of the line! That is, leave 1 highlight space at both ends of the highlight bar!
Attachments
1.jpg
Floor 67 Posted 2007-04-09 05:01 ·  中国 黑龙江 哈尔滨 电信
高级用户
★★★
Credits 760
Posts 357
Joined 2005-10-10 22:33
20-year member
UID 43332
Status Offline
This is what you have now, compare it!
Attachments
1.jpg
Floor 68 Posted 2007-04-10 03:17 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
Re 0451lym

I don't know the reason, but yesterday when testing your menu with version 1.11, there was an issue. After making a little modification, it became version 1.12, and the test was okay. Today, when I re-tested your menu with version 1.11, there was no problem! I carefully looked at my program, and indeed, there was no need for changes.

A single-choice menu should select 1 item, and only 1 item can be selected. If you don't want to load any item when starting, it's best to set an empty item and set it as the default. Of course, you can also not set an empty item or a default.

If more than 2 defaults are set in a single-choice menu, the program only recognizes the first default item.

A single-choice menu doesn't need to be selected with the space bar; it's automatically selected by pressing the up and down keys.

If there is no default item in a single-choice menu, when the startup time is reached, the relevant item of this menu will not be loaded. If the menu is set manually, as long as you press the up and down keys, it will be automatically loaded. At this time, an empty item should be set, referring to the downloaded example.

[ Last edited by yaya on 2007-4-10 at 03:18 AM ]
Floor 69 Posted 2007-04-10 05:08 ·  中国 黑龙江 哈尔滨 电信
高级用户
★★★
Credits 760
Posts 357
Joined 2005-10-10 22:33
20-year member
UID 43332
Status Offline
Got it
Floor 70 Posted 2007-04-11 23:22 ·  中国 香港
初级用户
Credits 35
Posts 18
Joined 2006-09-08 11:37
19-year member
UID 62142
Gender Male
Status Offline
It's very practical, thank you very much!
Floor 71 Posted 2007-04-15 09:51 ·  中国 湖北 潜江 电信
高级用户
★★★
Credits 894
Posts 411
Joined 2007-02-17 12:15
19-year member
UID 79697
Gender Male
Status Offline
How do I use it?
@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul


Floor 72 Posted 2007-04-15 09:53 ·  中国 湖北 潜江 电信
高级用户
★★★
Credits 894
Posts 411
Joined 2007-02-17 12:15
19-year member
UID 79697
Gender Male
Status Offline
How to open a .mnu file
@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul


Floor 73 Posted 2007-04-16 01:13 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
Originally posted by 6622186 at 2007-4-15 09:53 AM:
How to open a .mnu file?


Load it in config.sys, for example:
device=ConfigP.Mnu
Floor 74 Posted 2007-04-20 04:12 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
v1.12 Added: When shielding information, according to whether the Chinese system has been loaded, display Chinese/English "Wait" prompt respectively

[ Last edited by yaya on 2007-4-20 at 04:13 AM ]
Attachments
ConfigP1.12.rar (5 KiB, Downloads: 42)
Floor 75 Posted 2007-04-20 22:03 ·  中国 浙江 杭州 联通
新手上路
Credits 2
Posts 1
Joined 2007-04-20 21:41
19-year member
UID 85879
Gender Male
Status Offline
Originally posted by yaya at 2006-2-9 08:33 PM:
I. 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 a trend of increasing by the level, making the menu writing relatively cumbersome, and there are more repeated items...


This is really good. :P
Forum Jump: