Board logo

标题: [求助]不加载汉字系统也可以显示汉字? [打印本页]

作者: 柏仔     时间: 2003-9-26 00:00    标题: [求助]不加载汉字系统也可以显示汉字?

我最近在一个批处理文件中看到这样一段


@echo off
copy bootfont.bin c:\ /y >nul
copy ntdetect.com c:\ /y >nul
copy ntldr c:\ /y >nul
cls
:res1
BTE M
BTE F
BTE B 1
BTE C 86 69 155
BTE C 166 69 155
BTE C 246 69 155
BTE C 326 69 155
BTE C 406 69 155
BTE C 486 69 155
BTE C 566 69 155
BTE C 646 69 155
BTE C 726 69 155
BTE C 806 69 155
BTE C 886 69 155

rescue
ECHO.
ECHO.
ECHO.                        [Windows98+2000 聜脙纮羴膭艆茊]
ECHO.
ECHO.                                 菄葓: 蓧蕣藡
echo        -------------------------------------------------------------------
echo                                   虒葓蛵螏:
ECHO.
echo          蠌袗褢覓訐 win2000 setup 詳諘謻, 袗 2 貥褢覓贆, 讞袗 2 貥 F3 贆.
ECHO.
ECHO         跉蹧軠...
echo        -------------------------------------------------------------------


但显示出来却是中文的,想问一下几位版主知不知道这个怎么实现
[em27]
作者: 联盟     时间: 2003-9-27 00:00
不是中文
作者: 柏仔     时间: 2003-9-27 00:00
刚才又试了试,单独把Autoexec.bat提取出来的确不行
我把整个映象上传吧打开附件打开附件打开附件
作者: 柏仔     时间: 2003-9-27 00:00
共四个分卷打开附件
作者: weiq1     时间: 2003-9-27 00:00
重点是 bte
作者: Roy     时间: 2003-9-27 00:00


  Quote:
以下是引用weiq1在2003-9-27 14:01:55的发言:
重点是 bte

哈哈...你答錯了.....是rescue.com才對!
rescue.com是一個由bt.exe所生成的小程序!
一個改變ascii 0x80~0xFF的字模的小程序!
作者: pizigao     时间: 2003-9-28 00:00
有意思!!!看看
作者: 如是大师     时间: 2003-9-28 00:00
嗯。。。是bt生成的图形化汉字。。
作者: 柏仔     时间: 2003-9-30 00:00
原来是这样,谢谢解答
作者: noshoj     时间: 2003-10-12 00:00
暗里寻她千百次,原来就在此,正是这个BTE,加载它在内存中,便可以显示一些汉文字。谁有?E一个给我:QQ33725@163.com,或Q我:33725。
作者: gao7240     时间: 2003-10-17 00:00
这样加载了能输入中文的吗?
作者: Roy     时间: 2003-10-17 00:00


  Quote:
以下是引用gao7240在2003-10-17 20:17:03的发言:
这样加载了能输入中文的吗?

不能...
作者: pizigao     时间: 2003-10-18 00:00


  Quote:
以下是引用柏仔在2003-9-26 17:58:16的发言:
我最近在一个批处理文件中看到这样一段


@echo off
copy bootfont.bin c:\ /y >nul
copy ntdetect.com c:\ /y >nul
copy ntldr c:\ /y >nul
cls
:res1
BTE M
BTE F
BTE B 1
BTE C 86 69 155
BTE C 166 69 155
BTE C 246 69 155
BTE C 326 69 155
BTE C 406 69 155
BTE C 486 69 155
BTE C 566 69 155
BTE C 646 69 155
BTE C 726 69 155
BTE C 806 69 155
BTE C 886 69 155

rescue
ECHO.
ECHO.
ECHO.                        [Windows98+2000 聜脙纮羴膭艆茊]
ECHO.
ECHO.                                 菄葓: 蓧蕣藡
echo        -------------------------------------------------------------------
echo                                   虒葓蛵螏:
ECHO.
echo          蠌袗褢覓訐 win2000 setup 詳諘謻, 袗 2 貥褢覓贆, 讞袗 2 貥 F3 贆.
ECHO.
ECHO         跉蹧軠...
echo        -------------------------------------------------------------------


但显示出来却是中文的,想问一下几位版主知不知道这个怎么实现
[em27]

里面的乱码,用什么软件才能让它显示中文呢?怎样修改它!!!!!
作者: SailorStudio     时间: 2003-10-21 00:00
我有他的下载地址:
http://www.ipdown.com/dosbbs/uploadImages/200310216204851562.rar
作者: pizigao     时间: 2003-10-31 00:00
kk
作者: 陈沫     时间: 2003-11-1 00:00
在显示时,可以使用汉字点阵码替换ASCII码即可。
作者: pizigao     时间: 2003-11-3 00:00
怎样用“汉字点阵码”查阅自己所需要的汉字!!!
作者: MLD     时间: 2004-1-11 00:00
http://www.onlinedown.net/soft/18197.htm
作者: howen7     时间: 2004-1-19 00:00
高手过招,我旁观,虽看不懂也高兴
真是人生何处有,菜鸟也风流
作者: 柏仔     时间: 2004-2-20 00:00
再随便问一下
版主所说的bt.exe是什么软件?在哪里有下载?
作者: Kinglion     时间: 2004-4-24 00:00    标题: 我来上传 BT 3.2 版



  Quote:
以下是引用柏仔在2004-2-20 14:24:14的发言:
版主所说的bt.exe在哪里有下载?

打开附件

[ Last edited by Kinglion on 2005-11-5 at 21:46 ]
附件 1: BT32.rar (2005-11-5 21:39, 131.87 K, 下载附件所需积分 1点 ,下载次数: 248)

作者: s32307     时间: 2004-6-24 00:00
叫版主给我们好好上一课!
作者: doshill     时间: 2004-8-1 00:00
很久以前不知哪里讨论过,KV300界面里那几个汉字的显示原理。
纯文本模式用替换ASCII字符点阵的办法显示少量汉字。
一个汉字要换掉两个ASCII字符。修改西文方式下的ASCII字符点阵数据
INT 10H, AH = 11H, AL = 00H
传入寄存器:
BH = [1 - 32] 每个字符的点阵数据大小(单位bytes), 即字符的高度. (字符宽度固定为8)
BL = 0 (含义未知,取0就可以了)
CX = [1 - 256] 要替换点阵数据的字符数
DX = [1 - 255] 要替换的第一个字符的ASCII码,可以一次替换ASCII码连续的若干个字符的点阵数据
ES:BP = 新的点阵数据地址
传出寄存器:无恢复默认的ASCII字符点阵数据
INT 10H, AH = 11H, AL = 04H
传入寄存器: BL = 0 (含义未知,取0就可以了)
传出寄存器:无
作者: ccbbsyyl     时间: 2004-8-12 00:00
BT是个好软件,如果有谁研究出来请共享
作者: gmy     时间: 2005-9-25 12:10
请上传一个实例CONFIG.SYS源贴及抓图!
作者: cbtk     时间: 2005-9-27 12:27
关注ing.....
作者: Roy     时间: 2005-9-28 00:29


  Quote:
Originally posted by gmy at 2005-9-25 12:10 PM:
请上传一个实例CONFIG.SYS源贴及抓图!

附件 1: Snap1.png (2005-9-28 00:29, 11.42 K, 下载附件所需积分 1点 ,下载次数: 107)


附件 2: btcon.rar (2005-9-28 00:29, 141.3 K, 下载附件所需积分 1点 ,下载次数: 844)

作者: born2be     时间: 2005-9-30 09:25
软件中的使用又一例!请参见“格式化加速器4.COM=QF.COM+KILLER.EXE+SHELL+永远显示汉字!”(http://www.cn-dos.net/forum/viewthread.php?tid=17090&fpage=1
作者: born2be     时间: 2005-9-30 10:27
好极了!
终于能在CONFIG.SYS里使用汉字了!!

我试了。
请问版主ROY:
(1)是不是有了wrapper.sys就等于有了config里的shell功能?
(2)wrapper.sys和btcon.sys软件能不能介绍一下:使用方法+原始网站URL。

好极了!!!
作者: Roy     时间: 2005-10-1 13:02


  Quote:
Originally posted by born2be at 2005-9-30 10:27 AM:
好极了!
终于能在CONFIG.SYS里使用汉字了!!

我试了。
请问版主ROY:
(1)是不是有了wrapper.sys就等于有了config里的shell功能?
(2 ...

這兩個都是老軟件了...
1. 可以算是的...可是不能加載CCDOS這類大型軟件
2. wrapper.sys是用來加載小型軟件的, 而bootcon.sys是老牌的開機選單系統, 在DOS 3~5 時期風行甚廣...
作者: brglng     时间: 2005-10-1 15:15
有了wrapper.sys就等于有了config里的shell功能是什么意思?是不是可以在config.sys里使用DOS命令了?
作者: chujiafu     时间: 2005-10-4 11:29


  Quote:
Originally posted by born2be at 2005-9-30 10:27 AM:
好极了!
(2)wrapper.sys和btcon.sys软件能不能介绍一下:使用方法+原始网站URL。...

请Roy超级版主详细介绍一下Wrapper.sys和Btcon.sys的功能和用法。
作者: jyssysz     时间: 2005-10-5 21:47
学习学习,老早就见过这样的启动盘,不知怎样作的。
作者: born2be     时间: 2005-10-6 19:05
我在网上搜索了一下,未查到wrapper.sys,只有一篇和btcon.sys相关的,内容如下(只可惜是E文的!网址http://home.flash.net/~hoselton/pubs/mah_002.txt):

BOOTCON PREVENTS RECONFIGURATION CATASTROPHE


The certain way to work around this difficulty is to prepare a boot floppy
diskette in advance of any work on CONFIG.SYS.  Then, if a fatal CONFIG.SYS
error occurs, rebooting with the boot floppy in the A: drive will get the
system working again.  Every PC user should have a boot floppy available in
the event of a total catastrophe.   Booting from a boot floppy makes testing
CONFIG.SYS an excruciatingly tedious process, however.  Now there is a better
way.  BOOTCON is the answer.

This month's report introduces BOOTCON, a utility that can switch among 26
different user defined configurations on the fly during the boot process.
BOOTCON supplements rather than replaces the MBOOT utility introduced last
month.  Both utilities let the user make a selection from a menu at boot-up.  
MBOOT provides a selection among operating systems and BOOTCON provides a
selection among groups of device drivers and system configuration parameters.
It is even possible to use both utilities on one system at the same time.  

I currently use BOOTCON by itself since I only need one operating system, DOS
6.0.  BOOTCON provides a safe and easy way to select different configurations
at boot-up.  It completely eliminates any need to swap pairs of CONFIG.SYS and
AUTOEXEC.BAT files.  It almost, but not quite, eliminates the need to keep a
boot floppy.

Best of all, BOOTCON virtually removes fatal crash worries while experimenting
with different combinations of device drivers and system parameters.  As long
as one of the user defined configurations in BOOTCON works properly, the
system can always be rebooted by selecting a working configuration from the
BOOTCON menu.  After successfully booting the PC, the user can edit the
CONFIG.SYS file and try again.   

BOOTCON is published by Modular Software Systems, 115 W. California Blvd,
Suite 113, Pasadena, CA 91105.  It can be ordered from Modular Systems at
(818) 440-9104 or from The Programmers Shop at (800) 421-8006.  The price is
$60.  BOOTCON version 1.6 is compatible will all versions of DOS from 3.0
through 6.0.  

BOOTCON has a menu driven interface.  It is customizable and has context
sensitive help.  It also offers password protection (except against someone
with a boot floppy to stick in the A: drive).  Features of the newly released
version 1.6 include full DOS 6.0 compatibility, more customization options, a
syntax checker for CONFIG.SYS and AUTOEXEC.BAT, enhanced password protection,
and a new auto-boot utility.  After it has done its work, BOOTCON shrinks down
to occupy only 176 bytes of memory.


USING BOOTCON TO CREATE A MULTIPLE CONFIGURATION CONFIG.SYS FILE


Using BOOTCON requires three steps.  The first is to add the BOOTCON device
driver to the CONFIG.SYS file.  Normally this command appears early in the
CONFIG.SYS file.  Listing other device drivers and configuration commands
first is all right, if that is necessary or convenient.  Adding BOOTCON to
CONFIG.SYS requires typing in the following line.

          DEVICE=C:\BOOTCON\BOOTCON.SYS

This assumes that BOOTCON.SYS is in the BOOTCON directory on drive C:.

The second step in using BOOTCON is to define up to 26 "menu definition
blocks" (MDBs for short) inside the CONFIG.SYS file.  The MDBs appear after
the BOOTCON.SYS command in CONFIG.SYS.  Each MDB begins with a line that looks
like the following example.

          REM BC=[ Label for this Menu Definition Block.

Each MDB ends with a line that looks like the following example.

          REM BC=]

The command lines between the REM BC=[ and REM BC=] execute only after making
the appropriate selection from the opening BOOTCON menu.  The text that
constitutes the MDB label will appear on the BOOTCON menu and should, at the
very least, tell the user something distinctive about that selection.  The
choices of text for the MDB label and of the lines within the MDB itself are
entirely up to the CONFIG.SYS author.

The third step in using BOOTCON is to add the following line at the very end
of the CONFIG.SYS file.

          REM BC=[END]


AN EXAMPLE: BOOTCON IN A REALISTIC CONFIG.SYS FILE


In reading through the example in LISTING 1, it may be helpful to recognize a
few important points as you go along.  

a) DOS allows blank lines to appear anywhere in CONFIG.SYS.  In the
   example, they enhance readability both for this article and in the
   actual file on the hard disk.  

b) Under DOS versions before 4.00, MSDOS.SYS could transmit only capital
   letters from the CONFIG.SYS file to BOOTCON.  No matter how an MDB
   label appears in the CONFIG.SYS file, the label appears to contain only
   capital letters when BOOTCON displays the menu.  Under DOS 6.0 both
   capital and small letters display correctly.

c) No matter which MDB you select from the BOOTCON menu, CONFIG.SYS
   statements that appear before, between and after the MDBs always execute .

d) One MDB, usually the first one, is the default configuration.  If no
   configuration is selected from the BOOTCON menu within a specified  
   time, BOOTCON selects the default configuration.  This relieves the
   user of any obligation to sit in front of the keyboard and monitor the
   boot process.  The BOOTCON start-up menus can change the default
   configuration.

e) The MDB labels appear on the BOOTCON menu in the order in which the
   MDBs appear in CONFIG.SYS.  Each label will have a letter appended in
   front of it.  The letters from "A" through "Z" appear in order.  Make menu
   selections either by typing the letter that appears in front of the label
   for the required configuration or by moving the cursor to that label and
   pressing [RETURN].

f) The commands BREAK, BUFFERS, FCBS, FILES, LASTDRIVE, STACKS and SWITCHES
   can execute more than one time in a single CONFIG.SYS file.  Only the last
   executed version of each command has an effect on the final configuration.
   The default value for these commands should appear at the beginning of
   CONFIG.SYS, before the first MDB.  Then any MDB that requires a non-default
   value can include its own revised value for any particular configuration
   parameter.  MDBs that use the default values do not need to include any of
   these configuration commands.

g) Finally, the DOS= command represents a new type of DOS command.
   This particular command should only appear once in any CONFIG.SYS
   file.  MSDOS.SYS will find this command even if it is in one of the
   MDBs not selected from the BOOTCON menu.  The best way to handle this
   situation is to include the DOS=HIGH (or DOS=HIGH,UMB) command
   near the beginning of CONFIG.SYS.  DOS will then load itself HIGH
   whenever it can.  If CONFIG.SYS does not install a memory manager, DOS will
   load low.  BOOTCON includes a special syntax convention to override the
   DOS= statement inside specific MDBs.

A simplified version of a real CONFIG.SYS file containing BOOTCON and several
MDBs might look like LISTING 1.

===========================================================================
LISTING 1 - Sample CONFIG.SYS file

1       DEVICE=C:\QEMM\HOOKROM.SYS
2
3       DOS=HIGH
4       BREAK=ON
5       BUFFERS=35
6       FILES=25
7       LASTDRIVE=P
8       STACKS 0,0
9       SWITCHES=/K
10
11       DEVICE=C:\BOOTCON\BOOTCON.SYS
12
13       REM BC=[DOS 6.0 w/QEMM386, ANSI and DOS=HIGH
14       DEVICE=C:\QEMM\QEMM386.SYS RAM ROM
15       DEVICE=C:\DOS_620\RAMDRIVE.SYS 352 /A
16       DEVICE=C:\QEMM\LOADHI.SYS /R:2 C:\DOS_620\SETVER.EXE
17       DEVICE=C:\QEMM\LOADHI.SYS /R:2 C:\DOS_620\ANSI.SYS /k
18       REM BC=]
19
20       REM BC=[DOS 6.0 w/386MAX, ANSI and DOS=HIGH
21       DEVICE=C:\386MAX\386MAX.SYS PRO=C:\386MAX\386MAX.PRO
22       DEVICE=C:\386MAX\386LOAD.SYS PRGREG=2 PROG=C:\DOS_620\SETVER.EXE
23       DEVICE=C:\386MAX\386LOAD.SYS PRGREG=2 PROG=C:\DOS_620\ANSI.SYS /k
24       REM BC=]
25      
26       REM BC=[DOS 5 w/HIMEM w/DOS HIGH
27       BUFFERS=25
28       FILES=20
29       DEVICE=C:\DOS_620\HIMEM.SYS
30       DEVICE=C:\DOS_620\SETVER.EXE
31       REM BC=]
32
33       REM BC=[DOS 5 w/HIMEM w/DOS LOW
34       REM BC=[DOS=LOW]
35       DEVICE=C:\DOS_620\HIMEM.SYS
36       DEVICE=C:\DOS_620\SETVER.EXE
37       REM BC=]
38
39       SHELL=C:\COMMAND.COM /P /E:656
40
41       REM BC = [END]

===========================================================================

There will be more to say in later articles about the specific commands in
LISTING 1.  For now the emphasis is on BOOTCON and its capabilities.

The following is a summary of what each statement or group of statements in
the CONFIG.SYS file in LISTING 1 accomplishes.

Line  1:     Loads the HOOKROM.SYS device driver.  QEMM386 requires
             HOOKROM.SYS when it is not the first device driver in CONFIG.SYS.
             HOOKROM.SYS does not interfere with 386MAX or HIMEM drivers.

Line 3:      Instructs DOS 6.0 to load itself into the high memory area.
             This command should appear early in the file.  Even BOOTCON
             cannot prevent DOS from finding it.  It does no good to
             include it in one of the "menu definition blocks."  Include
             this line one time in CONFIG.SYS to be sure that DOS will load
             HIGH if a suitable memory manager is in the selected MDB.

Lines 4-9:   Typical CONFIG.SYS statements; they do not effect BOOTCON,
             BOOTCON does not effect them.  They will execute no matter
             which MDB is selected from the BOOTCON menu.  Commands in
             particular MDBs may override some of these.  BOOTCON
             cannot protect against fatal errors that appear outside of one
             of the MDBs.  Edit these lines with great care.  Rebooting the
             system may require a boot floppy if there is an error in one
             of these lines.

Line 11:     Installs the BOOTCON.SYS driver.

Line 13:     Start of the first MDB; includes first MDB label.

Lines 14-17: Will be executed if the first MDB is selected from the menu.

Line 18:     End of the first MDB.

Line 20:     Start of the second MDB; includes the second MDB label.

Lines 21-23: Will be executed if the second MDB is selected from the menu.

Line 24:     End of the second MDB.

Line 26      Start of the third MDB; includes the third MDB label.

Lines 27-28: Override the BUFFERS and FILES commands at the beginning of the
             CONFIG.SYS file if the third MDB is selected from the menu.

Lines 29-30: Will be executed if the third MDB is selected from the menu.

Line 31:     End of the third MDB.

Line 33:     Start of the fourth MDB; includes the fourth MDB label.

Line 34:     Overrides the DOS=HIGH command at the beginning of CONFIG.SYS
             if the fourth MDB is selected from the menu.  This is a special
             BOOTCON syntax.

Lines 35-36: Will be executed if the fourth MDB is selected from the menu.

Line 37:     End of the fourth MDB.

Line 39:     This SHELL command makes COMMAND.COM the primary command
             processor and increases the primary DOS environment to 656 bytes.
             Edit this line carefully.  A boot floppy may be required to
             reboot the PC if there is an error in this line.

Line 41:     Marks the last line in the CONFIG.SYS file.  It is required by
             BOOTCON.

DOS starts processing this CONFIG.SYS file and eventually gets around to
loading and executing BOOTCON.  BOOTCON reads the entire CONFIG.SYS file and
presents a four item Start-up Menu as shown in LISTING 2.

===========================================================================
LISTING 2 - BOOTCON Start-up Menu

         =============================================================
         | Select A Configuration...                         F1=Help |
         =============================================================
         |  A - DOS 6.0 w/QEMM386, ANSI and DOS=HIGH                 |
         |  B - DOS 6.0 w/386MAX, ANSI and DOS=HIGH                  |
         |  C - DOS 5 w/HIMEM w/DOS HIGH                             |
         |  D - DOS 5 w/HIMEM w/DOS LOW                              |
         =============================================================

                     =================================================
                     | Auto Select Countdown...     9 Seconds Remain |
                     |                                               |
                     |    Press [Spacebar] to abort Auto Select,     |
                     |       or any other key to continue...         |
                     =================================================

===========================================================================

The BOOTCON menu can display up to 15 selections on one page.  If the
CONFIG.SYS file defines more than 15 MDBs, BOOTCON allows the user to access
the extra MDBs by their prefix letter or by scrolling down through the list
with the cursor.

Pressing the F1 key while the BOOTCON menu is active, resets and freezes the
Auto Select timer and displays the BOOTCON Help Menu shown in LISTING 3.

===========================================================================
LISTING 3 - BOOTCON Help Menu

         ========================BOOTCON Help===========================
         | Move the highlighted selection bar to the boot option you   |
         | want to use and press [ENTER], or press the letter next to  |
         | the option you want to select.  Press [ESCAPE] if you don't |
         | want any of the options.                                    |
         |                                                             |
         | Other options are:                                          |
         |              F1  -  Display this help window                |
         |              F2  -  Display system information              |
         |              F3  -  Program Configuration Menu              |
         |              F9  -  View the CONFIG.SYS file                |
         |              F10 -  View the AUTOEXEC.BAT file              |
         |              ESC -  Exit the program                        |
         |                                                             |
         |                Press any key to continue...                 |
         ===============================================================

===========================================================================

Exiting from the BOOTCON Help menu and pressing F3 displays the BOOTCON
Configuration Menu shown in LISTING 4.

==========================================================================
LISTING 4 - BOOTCON Configuration Menu

                       ==Program Configuration==
                       |                       |
                       | BOOTCON Customization |
                       | Advanced Options      |
                       | Set System Password   |
                       | Set Advanced Password |
                       | Lose Changes and Exit |
                       | Save Changes and Exit |
                       =========================

===========================================================================

Selecting BOOTCON Customization from the Configuration Menu produces the
Customization Menu in LISTING 5.

===========================================================================
LISTING 5 - BOOTCON Customization Menu

         ======================BOOTCON Customization======================
         | Default Menu Selection        :    A   (A-Z, blank=last used) |
         | Audio Enabled                 :    N   (y/n)                  |
         | Phaser Count                  :    0   (0-9)                  |
         | Auto Select                   :   15   (1-999), 0 to disable) |
         | Exploding Windows             :    Y   (y/n)                  |
         | Remove Video Snow             :    Y   (y/n)                  |
         | Clear Screen on Startup       :    Y   (y/n)                  |
         | Maximum Vertical Menu Height  :   15   (0-15 rows)            |
         | Maximum Horizontal Menu Width :   55   (0 or 30-74 columns)   |
         |                                                               |
         |        OK          Cancel         Revert        Defaults      |
         =================================================================

===========================================================================

In LISTING 2 and LISTING 5 Auto Select indicates the count-down time in
seconds to make a selection.  Moving the cursor halts the Auto Select timer.  
If the Auto Select timer runs out before the user makes a selection, BOOTCON
installs the default configuration.  From the BOOTCON Customization menu it is
possible to change the default configuration, control the sound effects that
alert the user to the appearance of the BOOTCON menu, control whether windows
around the menus are exploding, adjust the size of the window and adjust the
video driver for the clearest display.  BOOTCON will restore the default
values as a last resort.  Save any changes on the Program Configuration menu.


EFFECTS OF BOOTCON ON AUTOEXEC.BAT


Using BOOTCON does not necessarily require making any changes in the
AUTOEXEC.BAT file.  Almost inevitably, however, what happens in CONFIG.SYS
determines what AUTOEXEC.BAT can do and how it should do it.  For example,
installation of a memory manager may enable AUTOEXEC.BAT to load programs into
high memory.  The loading syntax for these programs in AUTOEXEC.BAT is
different when loading them into high memory or low memory.  The syntax
changes with each memory manager, too.  Clearly, there are command lines that
AUTOEXEC.BAT should execute only when CONFIG.SYS installs a particular memory
manager.  The sample menu shows BOOTCON offering to install three different
memory managers.  Each has its own loading commands.  AUTOEXEC.BAT must
determine which memory manager CONFIG.SYS installed and execute the
appropriate commands.  

To help programmers work around these complications, BOOTCON creates a DOS
environment variable called BOOTCON.  If the user chooses the second menu item
from the BOOTCON menu, BOOTCON adds the string BOOTCON=B to the DOS
environment.  BFCL (Batch File Control Language) commands in AUTOEXEC.BAT can
check the value of this environment variable and chose which commands to
execute based on the current value of the BOOTCON environment variable.

[ Last edited by born2be on 2005-10-6 at 19:07 ]
作者: born2be     时间: 2005-10-6 19:16
wrapper.sys后面跟的config.com是载入汉字字模信息替换VGA文本屏字符集的程序,有关方面可参考"不加载汉字系统也可以显示汉字?"
http://www.cn-dos.net/forum/viewthread.php?tid=6916&fpage=1以及"格式化加速器4.COM=QF.COM+KILLER.EXE+SHELL+永远显示汉字!"http://www.cn-dos.net/forum/viewthread.php?tid=17090&fpage=1

[ Last edited by born2be on 2005-10-7 at 10:56 ]
作者: ywzhuss     时间: 2005-10-28 07:42    标题: 给我发一份

可以给我发一份吗?这儿不能下载,所提供的链接也不能下载.
请发至:ywzhuss@163.com
我还可以把英文翻译成中文的.
作者: baoxin1968     时间: 2005-10-30 19:56    标题: 能请Kinglion老师再给我传一个bt3.2文件吗?

Kinglion老师:
     你好!你上传的bt3.2文件链接已经失效了,能否请你再上传一次,或者给我发e-mai,(baoxin1968@yahoo.com.cn),谢谢!!!
作者: 本是     时间: 2005-10-30 20:01
我这儿有一份。
附件 1: BT.RAR (2005-10-30 20:01, 90.31 K, 下载附件所需积分 1点 ,下载次数: 115)

作者: yaya     时间: 2005-11-2 17:52
以前下载过BT,后来丢失了。感谢38楼。
作者: 本是     时间: 2005-11-3 07:55    标题: 本是编译的BOOTCON.SYS的使用说明

BOOTCON.SYS的用法

  BOOTCON.SYS是CONFIG.SYS中使用启动菜单进行配置选择的程序。由美国加州Modular Software Systems公司推出,兼容DOS3.0以上版本。它的菜单界面可以定制,并可获得上下文敏感的帮助信息,甚至提供密码保护。完成任务后,它只占用176字节的内存。

  通过BOOTCON实现多配置CONFIG.SYS的三步:

  第一步、载入设备驱动程序,方法如下(假设你的BOOTCON在C:盘的BOOTCON目录):
        DEVICE=C:\BOOTCON\BOOTCON.SYS
  第二步、设定菜单定义块,最多可以有26个,块第一行为--
        REM BC=[块标题名
块末行为--
        REM BC=]
REM BC=[和REM BC=]定义的块只有在菜单项选定之后才会执行。
  第三步、在CONFIG.SYS文件尾加上一行--
        REM BC=[END]
  下面是CONFIG.SYS文件的举例:
===============================================
1       REM 前面的COMMON块,首先执行至第9行...
2       DEVICE=C:\QEMM\HOOKROM.SYS
3       DOS=HIGH
4       BREAK=ON
5       BUFFERS=35
6       FILES=25
7       LASTDRIVE=P
8       STACKS 0,0
9       SWITCHES=/K
10
11       REM 载入并启用汉字字模信息
12       DEVICE=BOOTFONT.COM
13
14       REM 然后是载入BOOTCON设备
15       DEVICE=C:\BOOTCON\BOOTCON.SYS
16
17       REM 第A块
18       REM BC=[DOS 6.0 w/QEMM386, ANSI and DOS=HIGH
19       DEVICE=C:\QEMM\QEMM386.SYS RAM ROM
20       DEVICE=C:\DOS_620\RAMDRIVE.SYS 352 /A
21       DEVICE=C:\QEMM\LOADHI.SYS /R:2 C:\DOS_620\SETVER.EXE
22       DEVICE=C:\QEMM\LOADHI.SYS /R:2 C:\DOS_620\ANSI.SYS /k
23       REM BC=]
24
25       REM 第B块
26       REM BC=[DOS 6.0 w/386MAX, ANSI and DOS=HIGH
27       DEVICE=C:\386MAX\386MAX.SYS PRO=C:\386MAX\386MAX.PRO
28       DEVICE=C:\386MAX\386LOAD.SYS PRGREG=2 PROG=C:\DOS_620\SETVER.EXE
29       DEVICE=C:\386MAX\386LOAD.SYS PRGREG=2 PROG=C:\DOS_620\ANSI.SYS /k
30       REM BC=]
31
32       REM 第C块
33       REM BC=[DOS 5 w/HIMEM w/DOS HIGH
34       BUFFERS=25
35       FILES=20
36       DEVICE=C:\DOS_620\HIMEM.SYS
37       DEVICE=C:\DOS_620\SETVER.EXE
38       REM BC=]
39
40       REM 第D块
41       REM BC=[DOS 5 w/HIMEM w/DOS LOW
42       REM BC=[DOS=LOW]
43       DEVICE=C:\DOS_620\HIMEM.SYS
44       DEVICE=C:\DOS_620\SETVER.EXE
45       REM BC=]
46
47       REM 后面的COMMON块
48       SHELL=C:\COMMAND.COM /P /E:656
49
50       REM BootCon执行结束标志
51       REM BC = [END]
===============================================
  DOS系统启动时会显示如下菜单:
        ==================================
         | Select A Configuration...                         F1=Help |
        ==================================
         |  A - DOS 6.0 w/QEMM386, ANSI and DOS=HIGH    |
         |  B - DOS 6.0 w/386MAX, ANSI and DOS=HIGH       |
         |  C - DOS 5 w/HIMEM w/DOS HIGH                        |
         |  D - DOS 5 w/HIMEM w/DOS LOW                        |
         ==================================

                     ================================
                     | Auto Select Countdown...     9 Seconds Remain  |
                     |                                                                     |
                     |    Press [Spacebar] to abort Auto Select,            |
                     |       or any other key to continue...                   |
                     ================================

===============================================
中文意思是:
         ======================================
         | 选择一种配置...                       F1=帮助 |
         ======================================
         |  A - DOS 6.0 启用QEMM386, ANSI 和 DOS=HIGH             |
         |  B - DOS 6.0 启用386MAX, ANSI 和 DOS=HIGH                |
         |  C - DOS 5 启用HIMEM 和DOS HIGH选项                          |
         |  D - DOS 5 启用HIMEM 和DOS LOW选项                          |
         ======================================

                     ============================
                     | 默认选项倒计时...            9 秒剩余时间     |
                     |                                                            |
                     |    按 [空格键] 放弃自动选择,                     |
                     |       按其它键继续...                                |
                     ============================
===============================================

  BOOTCON菜单一页只能显示最多15个选项,再多的话就要加前缀字符或用光标键进行滚动。按F1键会冻结自动计时,显示如下的帮助:
===============================================
         ================BOOTCON Help==============
         | Move the highlighted selection bar to the boot option you   |
         | want to use and press [ENTER], or press the letter next to |
         | the option you want to select.  Press [ESCAPE] if you don't |
         | want any of the options.                                                 |
         |                                                                                    |
         | Other options are:                                                          |
         |              F1  -  Display this help window                             |
         |              F2  -  Display system information                          |
         |              F3  -  Program Configuration Menu                       |
         |              F9  -  View the CONFIG.SYS file                          |
         |              F10 -  View the AUTOEXEC.BAT file                    |
         |              ESC -  Exit the program                                     |
         |                                                                                   |
         |                Press any key to continue...                             |
         =======================================

===============================================
中文意思是:
         ==============BOOTCON 帮助=============
         | 移动加亮选择条到你想使用的启动选项,                        |
         | 按 [回车键],                                                             |
         | 或 按你要的选项前面的字母,                                        |
         | 按 [ESC键] 放弃所有选项。                                         |
         |                                                                               |
         |                                                                               |
         | 其它:                                                                       |
         |              F1  -  显示本帮助窗口                                    |
         |              F2  -  显示系统信息                                       |
         |              F3  -  程序配置菜单                                       |
         |              F9  -  查看 CONFIG.SYS 文件                          |
         |              F10 -  查看 AUTOEXEC.BAT 文件                    |
         |              ESC -  退出程序                                            |
         |                                                                               |
         |                按任意键继续...                                          |
         =====================================
===============================================

  退出帮助后,按F3则配置程序:
===============================================
                       ==Program Configuration==
                       |                                    |
                       | BOOTCON Customization |
                       | Advanced Options          |
                       | Set System Password     |
                       | Set Advanced Password  |
                       | Lose Changes and Exit    |
                       | Save Changes and Exit    |
                       =========================
===============================================
中文意思是:
                       ==      程序配置       ==
                       |                              |
                       | BOOTCON 定制        |
                       | 高级选项                 |
                       | 设置系统密码           |
                       | 设置高级密码           |
                       | 放弃改动并退出        |
                       | 改动存盘并退出        |
                       ===============
===============================================

  选择“BOOTCON 定制”项,会显示如下菜单:
         ============BOOTCON Customization=============
         | Default Menu Selection            :    A   (A-Z, blank=last used) |
         | Audio Enabled                        :    N   (y/n)                         |
         | Phaser Count                         :    0   (0-9)                         |
         | Auto Select                           :   15   (1-999), 0 to disable)  |
         | Exploding Windows                 :    Y   (y/n)                         |
         | Remove Video Snow               :    Y   (y/n)                         |
         | Clear Screen on Startup           :    Y   (y/n)                         |
         | Maximum Vertical Menu Height  :   15   (0-15 rows)               |
         | Maximum Horizontal Menu Width :   55   (0 or 30-74 columns) |
         |                                                                                       |
         |             OK          Cancel         Revert        Defaults              |
         ========================================
===============================================
中文意思是:
         ===========  BOOTCON 定制  ========
         | 默认菜单项    :    A   (A-Z, 空白=最近的选项)  |
         | 允许使用声音 :    N   (y/n)                           |
         | 同步计数器    :    0   (0-9)                           |
         | 自动选择       :   15   (1-999), 0 关闭)          |
         | 窗口爆炸       :    Y   (y/n)                          |
         | 取消视频雪花 :    Y   (y/n)                          |
         | 启动时清屏    :    Y   (y/n)                          |
         | 菜单最大高度 :   15   (0-15 行)                    |
         | 菜单最大宽度 :   55   (0 或 30-74 列)           |
         |                                                               |
         |         OK      取消      反选      默认              |
         =============================
  如果你选择第二块,BOOTCON.SYS会向DOS传递环境参数BOOTCON=B,以便批处理中用“IF "%bootcon%"=="B" 执行/跳转”调用。
作者: 本是     时间: 2005-11-3 22:31
我来上传一个实例程序--自动判断屏幕环境(汉字、英文[包括虽启动了汉字系统,但当时已切换到英文屏幕,不能看到汉字字形]),并显示英文信息和汉字信息(常规内码、扩展ASCII内码)。程序中含有自动判断程序段和取消VGA文本汉字正中的断裂的程序段,当然也包含替换字模的程序段。见附件。
注意:要先将文件扩展名改为.COM再执行!
附件 1: XSHZ.RAR (2005-11-3 22:31, 612 bytes, 下载附件所需积分 1点 ,下载次数: 135)

作者: baoxin1968     时间: 2005-11-3 22:54
本是老师:你发的软件不能下载啊!你能修复一下链接吗?
作者: 本是     时间: 2005-11-3 22:58


  Quote:
Originally posted by baoxin1968 at 2005-11-3 22:54:
本是老师:你发的软件不能下载啊!你能修复一下链接吗?

不会呀!你可以直接点击下载或者右击鼠标用网际快车下载。我自己试过可以的。
作者: 本是     时间: 2005-11-3 22:59


  Quote:
Originally posted by baoxin1968 at 2005-11-3 22:54:
本是老师:你发的软件不能下载啊!你能修复一下链接吗?

你说的是几楼的?应该都行的。
作者: baoxin1968     时间: 2005-11-3 23:27
谢谢!我已经下到了,是不是把它放到config的开始部分:
DEVICE=xshz.COM  来调用它啊?
作者: 本是     时间: 2005-11-3 23:49


  Quote:
Originally posted by baoxin1968 at 2005-11-3 23:27:
谢谢!我已经下到了,是不是把它放到config的开始部分:
DEVICE=xshz.COM  来调用它啊?

不是!
要借助WRAPPER.SYS载入汉字字模、借助BOOTCON.SYS做菜单,参见第27楼的图及附件用例和第40楼的用法解释。
载入汉字字模的程序要用生成器做,参考“不用汉字系统显示汉字的程序”的生成器(452字节)(http://www.cn-dos.net/forum/viewthread.php?tid=17591&fpage=1)
程序设计用例参考第41楼。
作者: 本是     时间: 2005-11-4 11:06
在CONFIG.SYS中显示字符(包括汉字),要有工具帮忙,一般有ECHO.SYS(功能单一、使用麻烦)、CONFIX.SYS(功能更多、更方便),要做菜单用BOOTCON.SYS、系统自带的菜单功能。
作者: Kinglion     时间: 2005-11-5 21:47
我来上传 BT 3.2 版
作者: 本是     时间: 2005-11-6 20:17    标题: 汉字多重启动菜单又一着!

今天翻旧杂志《电子&电脑》96处第2期,看到一个多重启动菜单,觉得它对我们解决汉字菜单应该是有帮助的,所以现在摘录其部分(有改动):

device=c:\windows\himem.sys
dos=high
[MENU]
menuitem=WIN98,Windows 98
menuitem=DOS71,DOS 7.10
menucolor=15,0
menudefault=WIN98,6
[WIN98]
...
[DOS71]
...

这个菜单本来没有什么特殊的地方,但请注意[MENU]之前还有两行,这是关键。因为我一般看到的是[MENU]出现在第1行,这就有了重大差别--这意味着:

device=himem.sys
device=wrapper.sys vgaHZfnt.com
dos=high,umb
[MENU]
menuitem=WIN98,Windows 98中文版
menuitem=DOS71,DOS 7.10英文版
menucolor=15,0
menudefault=WIN98,6
[WIN98]
...
[DOS71]
...

这样的汉字多重启动菜单就应该可以实现了--不必一定要借助device=bootcon.sys这个菜单驱动程序,即启动盘上又可以节约几十K字节的空间了!

哈哈哈哈!!!!
与大家分享!
作者: baoxin1968     时间: 2005-11-7 11:51
你这个办法不行啊!我试过了,显示的是乱码。
作者: 本是     时间: 2005-11-7 12:06


  Quote:
Originally posted by baoxin1968 at 2005-11-7 11:51:
你这个办法不行啊!我试过了,显示的是乱码。

注意:凡是用VTHZ技术显示的汉字,内码都必须与替换字符的规律相吻合。
这一版的替换是把每个汉字拆成两个ASCII扩展字符,分别位于C0h和80h开始的左、右半字模区,所以新汉字内码必须是C0h+n和80h+n(n=不重复的汉字序号)的组合,不能再保持原来的汉字内码!否则肯定是乱码!

下一版的汉字替换规则将进行简化,以方便字模和文本的合并!
参考http://www.cn-dos.net/forum/view ... id=blhb0Q#pid104148

[ Last edited by 本是 on 2005-11-7 at 12:26 ]
作者: 本是     时间: 2005-11-7 12:34
除非CONFIG.SYS的执行顺序是不先执行[MENU]之前的语句而一定要先执行[MENU]部分,这个办法应该是可行的!希望“一定要先执行[MENU]部分”这个最坏的可能不是真的!!!
作者: yaya     时间: 2005-11-8 14:55
我已经做了试验。
config.sys执行顺序是:先执行[menu]显示菜单;然后执行[menu]前面的内容;再执行选定菜单的内容;最后执行[common]的内容。
如:device=himem.sys
      device=wrapper.sys vgaHZfnt.com
      [MENU]
      ......
启动时先显示乱码菜单,选择菜单后才执行wrapper.sys,这时菜单才转换为中文。
作者: 本是     时间: 2005-11-8 15:37


  Quote:
Originally posted by yaya at 2005-11-8 14:55:
我已经做了试验。
config.sys执行顺序是:先执行[menu]显示菜单;然后执行[menu]前面的内容;再执行选定菜单的内容;最后执行[common]的内容。
如:devi ...

也就是说,
[common]
...
[menu]
...
[COMMON]
...
是先执行
[menu]
...
[common]
...
[COMMON]
...

那样的话,我们想要得到汉字菜单就只能靠BOOTCON.SYS了。
作者: yaya     时间: 2005-11-8 17:06
是的。目前只能靠BOOTCON.SYS了。
作者: yaya     时间: 2005-11-9 14:22
下载的BOOTCON.SYS好像有问题。
1. 不能向AUTOEXEC.BAT传递环境参数。"%bootcon%"==""。
2. 按F3没有出现第1个菜单,直接显示第2个菜单,而且少了几项。只有
Phaser Count
Auto Select
Exploding Windows
Remove Video Snow
3. 在使用液晶显示屏的计算机上启动时显示“输入频率超出范围”,不能显示正常内容。在一般计算机上使用正常。
作者: 本是     时间: 2005-11-9 22:07
Re yaya:
1.我在虚拟软盘里试过,ECHO %bootcon%显示正确选项字母。向AUTOEXEC.BAT传递环境参数应该不成问题。
2.在bootcon界面出现时,分别按F1、F2、F3、F9、F10对应不同功能和菜单:帮助、系统信息、定制菜单、看CONFIG.SYS、看AUTOEXEC.BAT。Fn之间不存在层次关系。“按F3没有出现第1个菜单,直接显示第2个菜单,而且少了几项”是否因为这个BOOTCON.SYS是DEMO版/SHAREWARE版?但这与我们要求的系统启动菜单的汉字显示,其它可以弃而不顾了!
3.我没有使用液晶显示屏,没法知道情况和原因。很抱歉。
作者: willsort     时间: 2005-11-9 22:08
Re All:

      从MSDOS6的源代码中提取出了config菜单中的模块,可惜对 asm 很不熟悉,大家谁有兴趣可以研究一下,通过修改 io.sys 达到其要求。
附件 1: bios_config_menu.rar (2005-11-9 22:08, 29.24 K, 下载附件所需积分 1点 ,下载次数: 37)

作者: 本是     时间: 2005-11-9 22:22
谢谢willsort版主!

另外,MSDOS7.1的IO.SYS反汇编时报“找不到入口地址”,不知道是怎么回事?
作者: ywzhuss     时间: 2005-11-10 07:08    标题: 不需要任何中文系统而显示中文的启动盘!

本人有直接全面支持中文显示的启动盘,不需要任何中文系统.
也没有像BTE讨论的那样复杂,只要你在AUTOEXEC.BAT中输入
中文就行了.开机启动的就是中文显示,没有其它任何多余的步骤.
唯一的遗憾是不能输入中文!!!
作者: baoxin1968     时间: 2005-11-10 08:42
是吗?能共享以下让我们研究研究吧!
作者: ywzhuss     时间: 2005-11-10 16:11
它包括下面几个文件:
ibmcpi.exe
font.exe
disp.exe
hzfnt16
hzfnt24
command.com
ibmio.sys
有这几个文件就可以完全显示中文了.
hzfnt24字库文件稍大一点,174K.其它小一些.它不可省略,否则不能显示全部中文.而hzfnt16只有17K.也是不可少的.否则不能显示中文.
此盘总共364K
作者: 本是     时间: 2005-11-10 16:13
Re ALL:

我对BOOTCON的表格符进行了“汉化”,免除了显示汉字时的半汉字“重影”问题,重新上传,欢迎使用。已经在VPC(谢谢willsort版主提供的mini虚拟机!)中调试通过。
附件 1: BootCon.rar (2005-11-10 16:13, 26.87 K, 下载附件所需积分 1点 ,下载次数: 638)

作者: yaya     时间: 2005-11-10 16:40
Re 本是:
    我的BOOTCON.SYS是从27楼下载的,确实存在问题。
    1. 我只好在每个选择块里增加赋值语句,解决不能传递环境参数的问题。如第A块增加
        SET BOOTCON=A
    2. 关于BOOTCON.SYS界面问题,我估计是版本问题。从27楼下载的是1.51a版,40楼介绍的是1.6版。在网上查找,最后的是2.0版(1995),可惜只能查到序列号,要不就是病毒程序。
    3. 关于不能用于液晶显示屏的问题,我又做了试验,不是BOOTCON.SYS的问题。只要用WRAPPER.SYS加载vthz.com就出问题,不加载vthz.com就正常,但不能显示汉字了。
    您上传的BOOTCON.SYS我下载了,验证后再叙。
作者: yaya     时间: 2005-11-10 17:42
Re 本是:
    经验证,问题依旧。
作者: 本是     时间: 2005-11-10 20:53


  Quote:
Originally posted by ywzhuss at 2005-11-10 16:11:
它包括下面几个文件:
ibmcpi.exe
font.exe
disp.exe
hzfnt16
hzfnt24
command.com
ibmio.sys
有这几个文件就可以完全显示中文了.
hzfnt24字库文件稍大一点,174K.其它 ...

能打包传上来吗?We're all waiting for you.
作者: 本是     时间: 2005-11-10 21:01


  Quote:
Originally posted by yaya at 2005-11-10 17:42:
Re 本是:
    经验证,问题依旧。

注意:我解决的是显示汉字字形后的半汉字“重影”问题,不是其他。

  Quote:
Originally posted by yaya at 2005-11-10 16:40:
Re 本是:
关于不能用于液晶显示屏的问题,我又做了试验,不是BOOTCON.SYS的问题。只要用WRAPPER.SYS加载vthz.com就出问题…

请再带参数(参数任意,只要有就行)试试:
DEVICE=WRAPPER.SYS VTHZ.COM A
也许是调整了字符8/9点宽度参数带来的问题。
作者: Roy     时间: 2005-11-11 01:22


  Quote:
Originally posted by ywzhuss at 2005-11-10 07:08 AM:
本人有直接全面支持中文显示的启动盘,不需要任何中文系统.
也没有像BTE讨论的那样复杂,只要你在AUTOEXEC.BAT中输入
中文就行了.开机启动的就是中文� ...

這個應該是PC-DOS 6.x/7.x 中文版吧...情況跟PDOS6/95或是日本的DOS/V一樣...
要在config.sys中顯示漢字還是不能達到的...
作者: ywzhuss     时间: 2005-11-11 07:48
绝对可以的,不过你要在config.sys中的第一行加入一条country.sys语句。N年前我就试了。不会出现半个字符现象。你可以在autoexec.bat加入任何中文。我用的是7.0版。我的个性化一键恢复用的就是它,显示中文是完全可以的。当然我也用qbwin画出来的菜单,它其实也是一个很好的选择,我其中的一个启动盘就是用qbwin画的,比autoexec.bat有过之而无不及。
作者: ywzhuss     时间: 2005-11-11 08:58
忘了一点,country.sys这一行还要加上代码页086,437(分别支持中文与英文)
作者: baoxin1968     时间: 2005-11-11 12:54
谁有pcdos2000的安装盘吗?共享一下吧!我在网上没有找到。
作者: ywzhuss     时间: 2005-11-11 15:25
I have one,but it can't suppert fat32 file system.
作者: yaya     时间: 2005-11-11 16:22
哪里有country.sys?怎样用法?
作者: yaya     时间: 2005-11-11 18:44
不好意思,country.sys是DOS自代的文件。
country=086,936,a:\country.sys
作者: willsort     时间: 2005-11-15 21:09


  Quote:
Originally posted by willsort at 2005-11-9 22:08:
Re All:

      从MSDOS6的源代码中提取出了config菜单中的模块,可惜对 asm 很不熟悉,大家谁有兴趣可以研究一下,通过修改 io.sys 达到其要求。

对模块中的注释内容稍作研究,基本上是说,IO.SYS 会在内存中的 configworkspace 区域根据 menu 的选择重组织(organize) config.sys ,在重组后的 config.sys 中剔除了所有菜单的内容,未选择的 block 内容也被省略,而只包括了被选择的 block ,common块,include 块等等。

      目前来看,要修改它,只能在菜单处理(menu_check)模块之前。

  Quote:
; Summary:
;
;   The procedure "organize" crunches the in-memory copy of config.sys
;   into lines delimited by CR/LF (sometimes no CR, but *always* an LF)
;   with the leading "keyword=" replaced by single character codes (eg, B
;   for BUFFERS, D for DEVICE, Z for any unrecognized keyword);  see comtab
;   and/or config.inc for the full list.
;
;   [blockname] and INCLUDE are the major syntactical additions for multi-
;   configuration support.  blockname is either MENU, which contains one
;   or more MENUITEM lines, an optional MENUDEFAULT (which includes optional
;   time-out), or any user-defined keyword, such as NETWORK, CD-ROM, etc.
;   INCLUDE allows the current block to name another block for inclusion
;   during the processing phase of CONFIG.SYS.  An INCLUDE is only honored
;   once, precluding nasty infinite-loop scenarios.  If blocks are present
;   without a MENU block, then only lines inside COMMON blocks are processed.
;


作者: fffggg     时间: 2005-11-17 20:10
我也看看
作者: 本是     时间: 2005-11-18 13:01    标题: "WRAPPER.SYS"的完整配套程序和文档!

我无意中下载到了"WRAPPER.SYS"的完整配套程序和文档--尽管是E文的!自己阅读吧!

语法:
        DEVICE=WRAPPER.SYS [/Dxx][/C-][/R-][/P+][/N-][/Mnnn]
 开关:
        /R[+ 或 -]       (报告信息,开关:  默认 +)
          /R- 关闭WRAPPER.SYS的所有信息.
        /P[+ 或 -]       (暂停,开关:  默认 +)
          /P+ 有报告信息就暂停.
        /N[+ 或 -]       (不停,开关:  默认 -)
        /D[xx]           (DEBUG中断,16进制值:  默认 ?)
        /C[+ 或 -]       (关闭文件句柄 0,开关:  默认 +)
        /M[nnn]          (限用内存,值:  默认 ?)
*  所有"[]"中的内容都是可选项。

用例:
        DEVICE=WRAPPER.SYS /R- /P- /M4 MYPROG.EXE
        DEVICE=WRAPPER.SYS -R- -P- -M4 MYPROG.EXE
        DEVICE=WRAPPER.SYS -R--P-M4 MYPROG.EXE

报告信息格式:

        WRAPPER.SYS :  Ver. 1.0, Copyright (1992) by Philip B. Gardner
              ERROR :  (Error Messages)
            WARNING :  (Warning Messages)
             ADVICE :  (Advisory Messages)
                    :  (Report Messages)
                    :  (Allocation Status)
              PAUSE :  Press any key to continue...

        WRAPPER.SYS :  版本 1.0, Copyright (1992) by Philip B. Gardner
              ERROR :  (出错信息)
            WARNING :  (警告信息)
             ADVICE :  (建议信息)
                    :  (报告信息)
                    :  (分配状态)
              PAUSE :  按任意键继续...

出错信息:

        MS-DOS version 3.10 or above is required
        An 80186 processor or better is required
        Bad or missing program specification
        User Interrupts 60h - 67h are in use

        需要MS-DOS 3.10 或更高版本
        需要80186 或更好的处理器
        程序参数无效或缺
        60h - 67h 号用户中断已被使用
附件 1: wrap10.zip (2005-11-18 13:01, 16.82 K, 下载附件所需积分 1点 ,下载次数: 98)

作者: 本是     时间: 2005-11-19 23:49
Sorry. Deleted.

[ Last edited by 本是 on 2005-11-21 at 11:19 ]
作者: home     时间: 2005-12-4 15:58
device=himem.sys
device=wrapper.sys vgaHZfnt.com
dos=high,umb
[MENU]
menuitem=WIN98,Windows 98中文版
menuitem=DOS71,DOS 7.10英文版
menucolor=15,0
menudefault=WIN98,6
[WIN98]
...
[DOS71]
...
实际是应该如何操作啊
作者: 本是     时间: 2005-12-4 20:24
注意:
  CONFIG.SYS中有[MENU]
总是先执行[MENU]
再前[COMMON]、
选择项、
后[COMMON]。
这一点已在VPC中验证。
作者: willsort     时间: 2005-12-4 22:26
Re home:

      从 io 的源代码来看,[menu]、[common]和其它标签都是可以省略的。省略[menu]就是单模式启动,会有一些处理上的不同,比如对行的大写转换。无论何种模式的启动过程中,位于最前面的块总是最先执行的,当然这个执行的开始点,是在菜单中选择了某个模式后才正式开始的。前面的都是一些预处理的工作,类似于高级语言的预处理机制,解释某些参数,比如switch ;分析、展示、选择菜单、合并所有的将要运行的语句块,同时将这些语句中的命令转换成易识别的二进制标记。

      如果要加载汉字显示模块,最先想到的办法是在 device 语句中,但是所有的 device 语句都在直到所有菜单模块执行完毕后才会被分析,所以通常此种方法无法改变菜单中的语言状态。
作者: LiveOnLove     时间: 2005-12-20 22:18
牛啊。N久没有来,DOS发生了F天F地的变化。。。
作者: LiveOnLove     时间: 2005-12-29 14:57


  Quote:
Originally posted by 本是 at 2005-11-3 07:55 AM:
BOOTCON.SYS的用法

  BOOTCON.SYS是CONFIG.SYS中使用启动菜单进行配置选择的程序。由美国加州Modular Software Systems公司推出,兼容DOS3.0以上版本。它的菜占...


  如果你选择第二块,BOOTCON.SYS会向DOS传递环境参数BOOTCON=B,以便批处理中用“IF "%bootcon%"=="B" 执行/跳转”调用。

奇怪,怎么我在搞出中文菜单后,选择了一个菜单,接着说没有找到lable
我用SET查看了一下环境变量,结果BOOTCON这个环境变量都没有。。。我晕。。。(WIN98 OS下制作了启动菜单)
请问是怎么意思啊?
作者: LiveOnLove     时间: 2005-12-29 16:13
我的大概是这样的:
config.sys
device=c:\config.exe
device=c:\bootcon.sys
REM BC=[测试
REM BC=]

REM BC=[中文WIN98
REM BC=]

REM BC=[END]

AUTOEXEC.BAT内容:
@echo off
goto %bootcon%
:A
echo A menuitem
goto end

:B
echo B menuitem
goto end

:end
作者: ygp2sfec     时间: 2006-3-1 23:24
附件下载不动
作者: hahayuxin     时间: 2007-8-29 14:50
我也想试试看
作者: pizigao     时间: 2007-9-4 19:02
再次回顾一下~
作者: gudoudou     时间: 2007-9-20 23:00
呵这个BTE我也有啊
作者: lachs     时间: 2007-12-13 11:09    标题: 谁能帮帮我.我的分不够!

我想下一个vtmagic用一下试试.可是我没有分下不了,哪位好心人发一个给我吧,如果有说明就更好了.我的邮箱:chs@wxdn.com.cn
我先谢了!
作者: Sun51y9y     时间: 2007-12-22 12:04
新手不可以下载附件?
作者: ljmam     时间: 2008-3-3 20:23
搜索到这个,看一下
作者: dudubird     时间: 2008-7-29 23:20
级别太低,下载不了,郁闷啊!
作者: eotect     时间: 2009-6-15 18:12
学习了很多东西啊,哈哈