![]() |
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-10-23 11:11 |
47,815 topics / 349,927 posts / today 0 new / 48,287 members |
| DOS汉化世界 & 中文系统 (中文化室) » Config Chinese menu-driven Confect.sys (updated to version 4.3) |
| Printable Version 34,935 / 117 |
| Floor46 sanchuan | Posted 2009-01-04 22:55 |
| 初级用户 Posts 51 Credits 113 From 武汉 | |
Originally posted by joinnow2008 at 2009-1-4 22:38: Confect42 arranges the first 32 Chinese characters of the menu options at the original tab position. For characters at this position, the system copies the 8th pixel to the 9th pixel, so there are no gaps. Confect42 also places the Chinese characters in the title and footer in another character set, so there are 64 Chinese characters without gaps. For menus with few Chinese characters, the gaps are not noticeable. That is to say: if there are many Chinese characters, there must be some Chinese characters with gaps - maybe not so obvious. |
|
| Floor47 joinnow2008 | Posted 2009-01-04 22:56 |
| 初级用户 Posts 17 Credits 37 | |
|
Please wait, I'll calculate the Chinese characters first......
|
|
| Floor48 joinnow2008 | Posted 2009-01-04 22:58 |
| 初级用户 Posts 17 Credits 37 | |
|
Originally, very embarrassed,
Just now I counted, at least no less than 70 different Chinese characters, including the Chinese book title "《 》" |
|
| Floor49 joinnow2008 | Posted 2009-01-04 23:01 |
| 初级用户 Posts 17 Credits 37 | |
|
Return to two, carefully read, no gutter.
But the menu words are not more than 32, referring to the words after options A, B, C, D, E But if the title and endnotes are added, it exceeds 70. |
|
| Floor50 joinnow2008 | Posted 2009-01-04 23:14 |
| 初级用户 Posts 17 Credits 37 | |
|
Re-test, and different points are found.
Using the earliest version, with 9 specified, the LCD is fine, and the Chinese characters have no gaps. Just now, I switched to version 4.2, specified 9, the LCD is fine, but part of the Chinese characters have gaps. The situation is as follows: Title, more than a dozen characters, no gaps. Menu options A, B, C, D, E, five items, about 25 characters, no gaps. There are two lines in the endnote, with gaps. |
|
| Floor51 chishingchan | Posted 2009-01-05 14:40 |
| 银牌会员 Posts 538 Credits 1,284 | |
|
Strongly request that the next version of the LZ supports the font file under XP: bootfont.bin
|
|
| Floor52 wuchan | Posted 2009-01-06 11:49 |
| 初级用户 Posts 59 Credits 119 | |
|
Today I used version 4.2 to replace my original one. I used the updated one and there is a problem. I want to ask for advice.
That is, in the config, I usually use empty execution, and all processing is placed in auto, which is convenient for our specific modifications. I use submenus, but only the first item can be executed each time. I don't know why. Specifically as follows: ***config.sys ...... ...... confect=sub_2,Load 8139 driver to start ghost set option=DHCP,DHCP mode set option=IP,IP mode (38.1) set confect=sub_3,Load 6103 driver to start ghost set option=DHCP,DHCP mode set option=IP,IP mode (38.1) set confect=sub_4,BIOS upgrade REM [sub_1] set exec= REM [sub_2] REM [DHCP] set exec1= REM [IP] set exec2= REM [sub_3] REM [DHCP] set exec1= REM [IP] set exec2= ....... *******autoexec.bat ...... ....... :SUB_2 %exec1% echo copy c:\watdh.cfg c:\wattcp.cfg CD \DOSNET\8139 call 8139.BAT c:\ghost.exe GOTO END %exec2% echo copy c:\wat38.cfg c:\wattcp.cfg CD \DOSNET\8139 call 8139.BAT c:\ghost.exe GOTO END :SUB_3 %exec1% echo copy c:\watdh.cfg c:\wattcp.cfg CD \DOSNET\VIA6103 call VIA.BAT c:\ghost.exe GOTO END %exec2% echo copy c:\wat38.cfg c:\wattcp.cfg CD \DOSNET\VIA6103 call VIA.BAT c:\ghost.exe GOTO END :SUB_4 %exec% cd \bios .......... When executing, only the first sub-item is executed. Does it mean that %exec*% cannot be automatically jumped and found in auto? Hope to help correct it, thank you! |
|
| Floor53 wuchan | Posted 2009-01-06 12:26 |
| 初级用户 Posts 59 Credits 119 | |
|
Could it be that all the execution statements in auto need to be placed in the corresponding %exec*% in config? According to my understanding, it should be that auto and config correspond through the block name of the main item and the corresponding sub-item variable. But I don't know why this doesn't work. I also tried putting some statements from auto in conf, but the effect is still the same.
|
|
| Floor54 sanchuan | Posted 2009-01-06 12:50 |
| 初级用户 Posts 51 Credits 113 From 武汉 | |
Originally posted by wuchan at 2009-1-6 11:49: The problem you encountered is not caused by confect.sys. Setting variables in Config cannot be empty - it is equivalent to not being set, and the result is that when encountering goto %confect% in auto, it will naturally execute the first item. According to your situation, in Config.sys, it should be changed to: ...... rem rem set sub2=DHCP rem set sub2=IP ...... In autoexc.bat, it is changed to: goto %confect% ...... :sub_2 goto %sub2% :DHCP echo copy c:\watdh.cfg c:\wattcp.cfg CD \DOSNET\8139 call 8139.BAT c:\ghost.exe GOTO END :IP echo copy c:\wat38.cfg c:\wattcp.cfg CD \DOSNET\8139 call 8139.BAT c:\ghost.exe GOTO END ...... In addition, in the example of confect4.0, autoexec.bat uses %exec1%. It should be noted that this variable is set as a DOS command in config.sys, not a label in auto. If a variable set in Config is a DOS command, for example set exec=dir, then in auto it can appear in the form of %exec%. [ Last edited by sanchuan on 2009-1-6 at 13:15 ] |
|
| Floor55 wuchan | Posted 2009-01-06 15:22 |
| 初级用户 Posts 59 Credits 119 | |
|
Got it's clear now.
I originally thought that exec represented a variable used for transmission. Also, referring to 3.0, in config, it's not necessary to set %××××%. Got it, and I sincerely thank Teacher sanchuan... |
|
| Floor56 wuchan | Posted 2009-01-06 15:45 |
| 初级用户 Posts 59 Credits 119 | |
|
Still not working. The prompt: "label not found"
I referred to the following: ×××config.sys ....... set confect=sub_2, load 8139 driver to start ghost set option=DHCP, DHCP mode set option=IP, IP mode (38.1) set confect=sub_3, load 6103 driver to start ghost set option=DHCP, DHCP mode set option=IP, IP mode (38.1) set confect=sub_4, BIOS upgrade REM [sub_1] set sub1= REM [sub_2] rem [DHCP] set sub2=DHCP rem [IP] set sub2=IP REM [sub_3] rem [DHCP] set sub3=DHCP REM [IP] set sub3=IP ....... ****autoexec.bat ..... GOTO %CONFECT% :SUB_1 %sub1% GOTO END :SUB_2 goto %sub2% :DHCP echo copy c:\watdh.cfg c:\wattcp.cfg CD \DOSNET\8139 call 8139.BAT c:\ghost.exe GOTO END :IP echo copy c:\wat38.cfg c:\wattcp.cfg CD \DOSNET\8139 call 8139.BAT c:\ghost.exe GOTO END :SUB_3 goto %sub3% :DHCP echo copy c:\watdh.cfg c:\wattcp.cfg CD \DOSNET\VIA6103 call VIA.BAT c:\ghost.exe GOTO END :IP echo copy c:\wat38.cfg c:\wattcp.cfg CD \DOSNET\VIA6103 call VIA.BAT c:\ghost.exe GOTO END ....... This still doesn't work. Just the prompt came up. I think it should be the connection between the conf and auto files that's not right. Teacher... |
|
| Floor57 本是 | Posted 2009-01-06 15:46 |
| 银牌会员 Posts 790 Credits 2,227 | |
Originally posted by chishingchan at 2009-1-5 14:40: I have extracted the Chinese character library among them, nothing special; the so-called good compatibility is because the NTLDR display method is graphical (not the character method like CONFECT, VTMAGIK), not bootfont.bin!! And bootfont.bin is too large, and it is troublesome to extract the character patterns!! The program for converting between bootfont.bin and hzk16 can be found in the relevant posts: http://www.cn-dos.net/forum/viewthread.php?tid=45546&fpage=1 http://www.cn-dos.net/forum/viewthread.php?tid=45267&fpage=1 |
|
| Floor58 wuchan | Posted 2009-01-06 15:58 |
| 初级用户 Posts 59 Credits 119 | |
|
I tried it. The single-item menu block is okay. It's just that when executing the sub-item menu, there's a prompt '"label not found"'. It should be the variable passing of the sub-item menu. According to the introduction, I can't connect from config to auto.
|
|
| Floor59 sanchuan | Posted 2009-01-06 16:31 |
| 初级用户 Posts 51 Credits 113 From 武汉 | |
Originally posted by wuchan at 2009-1-6 15:45: You didn't select the sub-item in the menu after booting into DOS, so there is the prompt: "label not found" You should press the spacebar to set the sub-item to execute, then press Enter |
|
| Floor60 wuchan | Posted 2009-01-06 16:41 |
| 初级用户 Posts 59 Credits 119 | |
|
5555. I'm dizzy, it's that simple..
It's not just directly selecting with the cursor... |
|
| Prev 1 2 3 4 5 6 7 … 8 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |