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 16:08
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » Parallel Configuration Menu for Config.sys ConfigP.Mnu v4.02 View 11,735 Replies 58
Floor 31 Posted 2009-04-26 11:37 ·  中国 广东 揭阳 电信
初级用户
Credits 84
Posts 39
Joined 2009-02-01 21:06
17-year member
UID 137797
Gender Male
Status Offline
Originally posted by yaya at 2009-4-26 00:08:
v4.01 2009/4/26 version released on floor 1

Modified: Up and down arrow keys can move in this column, left and right arrow keys can move across rows
Fixed: The number of characters in the project title is limited
Improved: Compatibility with virtual machines

It looks quite tempting... Download again and try it out...
Floor 32 Posted 2009-04-28 04:16 ·  中国 浙江 金华 电信电子政府网络
初级用户
Credits 29
Posts 16
Joined 2007-09-20 14:49
18-year member
UID 97887
Gender Male
Status Offline
I didn't expect DOS could make such a beautiful interface, saved it
Floor 33 Posted 2009-05-01 06:37 ·  中国 黑龙江 哈尔滨 联通
新手上路
Credits 16
Posts 8
Joined 2009-04-30 11:28
17-year member
UID 144139
Gender Male
Status Offline
I don't know how to use it, feeling regretful
Floor 34 Posted 2009-05-04 03:42 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
If the system does not load the Chinese character font library, but only displays the Chinese menu, the built-in font can be used, which is small in size.

Method 1. Use the MKFON.COM of this machine. The advantage is that it is convenient. It can generate menus with various font styles. But only one font can be used in the same menu. Currently, only simplified Chinese characters can be used.

Method 2. Generate the built-in font library by yourself. The disadvantage is that it is complicated. But different fonts can be used in the same menu, and custom characters can be made, such as personal signatures, special symbols, 16-dot foreign language characters, etc.

The character internal code does not need to be the same as the Chinese character internal code. For example, 8100 represents the Song typeface 'I', and 8101 represents the Kai typeface 'I'.

Built-in font format Offset Length Description
00 2 bytes Number of characters (x)
02 2x bytes Character internal code (8100-ffff)
2x+02 32x Character dot matrix image, horizontal mode taking the modulus

[ Last edited by yaya on 2009-5-4 at 03:46 ]
Attachments
mkfon.rar (1.79 KiB, Downloads: 19)
Floor 35 Posted 2009-05-04 06:09 ·  中国 广西 贺州 联通
初级用户
★★
Credits 188
Posts 84
Joined 2008-12-25 16:20
17-year member
UID 134893
Gender Male
Status Offline
The tool MKFON.COM is really hard to understand.
For the command line parameter "MKFON myfile.txt" which only has one text file, then how to generate fonts with different styles?
Floor 36 Posted 2009-05-04 08:01 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
Originally, different styles of hzk16 dot matrix font libraries were uploaded. MKFON.COM needs to place font library files in the current directory or root directory, such as SimSun, Heiti, KaiTi, etc.
Floor 37 Posted 2009-05-09 21:25 ·  中国 广东 深圳 电信
高级用户
★★
Credits 525
Posts 222
Joined 2006-08-28 21:07
19-year member
UID 61476
Status Offline
The menu of configp 4.01 can be made now, but I find that I don't fully understand relate unrelate. Can you explain it in detail?

In DOS, some drivers are mutually exclusive, some are related (that is, a must be loaded after b is loaded), and some are compatible relationships.

1. How to implement this related relationship with relate and unrelate.

2. Can mutual exclusion be increased to multi-exclusion? Because for example, if there are five options that are mutually exclusive, your unrelate will need five lines. When adding or reducing the menu, it is really inconvenient to modify.

3. Can your main control be changed to multiple items (that is, the same as the controlled one, can be multiple items)?

4. Can the project group be switched with a shortcut key? Can the project group be selected with a shortcut key? In this way, it is convenient to switch when there are many project groups. After all, there are five project groups plus one confirmation, and it is very troublesome to switch with the Tab key, and there are more than 12 options in the group. Don't consider the problem of the conflict between the project group shortcut key and the group internal shortcut key. I just need to press TAB and then press the shortcut key to switch to the shortcut key of another project group.

5. configp is very useful now, and I prefer the menu without a jpg background. I think this may have better compatibility.

6. There is also a regret that the modification of your menu is not very convenient. When adding or reducing options, if there are controlled drivers loaded, it is very inconvenient to modify.

Thank you yaya for making this great thing!
Waiting for your improvement!

[ Last edited by cchessbd on 2009-5-9 at 21:35 ]
Floor 38 Posted 2009-05-10 22:55 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
The so-called mutual exclusion and association are all for items at the menu level. For the mutual exclusion, association and compatibility factors of driver programs under DOS, the menu editor should make full use of the limited elements provided by the menu and consider them as a whole. As for loading a must load b first, in config.sys and autoexec.bat, load b first and then load a.

Selected association relate: The master is selected, and the slave is effective. That is, the slave can be selected (that is, there are selected/unselected points) only when the master is selected. If the master is not selected, the slave is invalid, and the slave is all treated as unselected. Or, first select the master, then you can select the slave; not selecting the master is equivalent to shielding the slave. The master is equivalent to a necessary premise for the slave.

Unselected association unrelate: The master is selected, and the slave is invalid. That is, if the master is selected, the slave is all treated as unselected, which is equivalent to shielding the slave. If the master is not selected, the slave can be selected (that is, there are selected/unselected points). Or, selecting the master shields the slave. The master and slave are equivalent to mutual exclusion.

The master can be considered to be changed to multiple items in parallel to simplify menu writing. Don't make the association too complicated. Alternating with each other may cause logical confusion.

There won't be too many project groups, so there is no need to set shortcut keys.

The jpg background does not affect compatibility. Not loading may make the startup faster.

[ Last edited by yaya on 2009-5-10 at 22:58 ]
Floor 39 Posted 2009-05-11 23:14 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
v4.02 2009/5/11 Posted in Floor 1
Modified: The related expression can set multiple master controls
For example: =1,2=3,4
Floor 40 Posted 2009-05-12 14:40 ·  中国 广东 揭阳 电信
初级用户
Credits 84
Posts 39
Joined 2009-02-01 21:06
17-year member
UID 137797
Gender Male
Status Offline
Originally posted by yaya at 2009-5-11 23:14:
v4.02 2009/5/11 Posted on floor 1
Modification: Multiple main controls can be set for the association expression
For example: =1,2=3,4

Marvelous... This update is quite satisfactory...
Floor 41 Posted 2009-05-13 03:48 ·  中国 广东 联通
高级用户
★★
Credits 525
Posts 222
Joined 2006-08-28 21:07
19-year member
UID 61476
Status Offline
yaya hello.
The config.sys tested well in the virtual machine, but there is no display when booting into the actual machine.
It automatically enters the default option after a while...

I'll try modifying the background color. The display effect in the virtual machine is good,
Why does the desktop LCD go black?
Floor 42 Posted 2009-05-13 04:45 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
Maybe your LCD desktop computer does not support the 800*600 114 mode?
Floor 43 Posted 2009-05-13 12:02 ·  中国 广东 深圳 电信
高级用户
★★
Credits 525
Posts 222
Joined 2006-08-28 21:07
19-year member
UID 61476
Status Offline
Can I customize the display parameters? For example, 600x480x60hz, it is suggested to be in the form of device=configp.mnu /s 800x600x60. This way, the compatibility will be better.

Or directly change to the text display mode? The current test is that the driver compatibility of configp is better, but now the interface cannot be displayed, which is a big problem.

Confect has the second best compatibility, and it is easy to use, but it is not easy to organize; sometimes there is a problem that grub4dos cannot run.

Also, for yaya, I have five mutually exclusive options. Use the unrelate five lines to implement. Suppose to implement this function with the syntax unrelate==1,2,3,4,5 (the master control is empty to indicate mutual exclusion), and it will be a little more convenient to modify. In this way, some two mutually exclusive options only need one line.

Or it looks more concise with unrelate=1,2,3,4,5;6,7;8,9;10,11. The entire mutual exclusion only needs one line. The original function suggestions are still reserved, because sometimes there are inclusion relationships.

Because of the mutually exclusive items, it will be very troublesome to add or reduce driver items in the future. I put the driver selection in an interface. All use checkboxes, but when a certain one is checked, the mutually exclusive ones will be invalidated to avoid crashing in the middle.

And in another window, it is a single-choice menu, which can run a certain command quickly.

So it is relatively fast to switch between projects.

Too late, sleepy. I don't know what I'm talking about...

[ Last edited by cchessbd on 2009-5-13 at 12:06 ]
Floor 44 Posted 2009-05-13 23:17 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
Single-choice option groups are the real way to achieve mutual exclusion. Mutually exclusive items should be treated as a functional group. This also makes the menu clear.

"Unrelate" is more suitable for upper-level control over lower-level ones.

You can use debug to check if the monitor does not support the 800×600 mode. Generally speaking, monitors all support this mode.
Floor 45 Posted 2009-05-14 12:05 ·  中国 广西 百色 德保县 电信
初级用户
Credits 52
Posts 17
Joined 2008-08-15 16:32
17-year member
UID 123279
Gender Male
Status Offline
Let's download it and try first. I used the version 3.03 before, and I don't know if it can be used now.
Forum Jump: