Detailed Explanation of the Hardware Setup File SYSTEM.INI for Chinese Windows 95
--------------------------------------------------------------------------------
Composition of the SYSTEM.INI File
The SYSTEM.INI file contains several sections, each consisting of a set of related settings. The format of sections and settings is as follows:
Keyword Name=Value
The main section names and descriptions that make up the SYSTEM.INI file are as follows:
Segment Name Description
List of driver programs and Windows modules
Includes information about the keyboard
Device name that can be modified through Windows Setup
Information required by Windows in 386Enhanced mode
Information used by non-Windows applications
Media Control InterFace (MCI) driver program list
List of installable driver program names or aliases
List of installable 32-bit driver program names or aliases
Cache configuration of the TTF font library of Win 95
Note: Modifying the main settings in SYSTEM.INI is very dangerous and may cause fatal errors in Windows tasks.
Detailed Explanation of SYSTEM.INI File Configuration
1.
The records some basic settings established when Chinese Win 95 starts. The most important one is the shell program (SHELL program) of Win 95. Usually, this SHELL program is the Win 95 Explorer, but it can also be other programs, such as Program Manager, File Manager, etc. In this section, except for CacheFileHandles, other settings are necessary. If you modify or delete one of the settings, Win 95 may not work properly. For settings without a fixed default value, Win 95 will set them according to the system configuration.
(1) Comm.drv=File Name (Default: COMM.DRV)
This item is used to specify the name of the serial communication driver used by the system.
If you upgrade from a Win 3.x environment using a third-party communication driver, Win 95 will not replace the original driver with Microsoft's COMM.DRV. At this time, you need to add the setting item Commdrv30=ON in the section of SYSTEM.INI. If you want to replace the third-party communication driver with Microsoft's COMM.DRV, and the communication driver loads its own virtual communication driver while being installed, you also need to make some modifications in the section of SYSTEM.INI.
(2) Fixedfon.fon=File Name (Default: Determined according to the display driver)
This setting is used to indicate the fonts of Windows 2.x and 3.x that can run in Chinese Win 95. If there are old versions of applications in the system that use a mono-spaced font, you can update the font by modifying this line. To make Notepad use an appropriate space font on a VGA system, you should set Fixedfon.fon to VGASYS.FON. The specified in this setting is a raster font file with the extension.FON, and these font files must be placed in the SYSTEM directory.
(3) Fonts.fon=File Name (Default: Determined according to the display driver)
This setting is used to indicate the font used by Win 95 in menus and dialog boxes. Win 95 provides different versions of fonts for different resolutions and stores these fonts in the SYSTEM directory. The system fonts provided by Chinese Win 95 include: Egasys.FON, VGASYS.FON, and 8514SYS.FON, etc. You can specify any available system font in the "Fonts.fon=" line.
Another way to modify the Win 95 menu font is to modify the description of the section in the WIN.INI file.
Note: If an unavailable font is specified in this setting item, Win 95 will not run, and at this time, you must restart the computer.
(4) OemFonts.fon=File Name (Default: Determined according to the display driver)
This setting defines the clipboard browser program of Win 95, which can be used to display the font of OEM TEXT format text. The installation program SETUP of Win 95 installs the corresponding fonts for different resolutions and initializes the "OemFonts.Fon=" line accordingly. Chinese Win 95 supports three OEM-type fonts: EGAOEM.FON, VGAOEM.FON, and 8514FON.FON. The font specified in this setting item must be a mono-spaced font using the DOS character setting, not other Windows system fonts (except symbols) using the ANSI character setting. When you copy a text block to the clipboard, Win 95 generally stores it in OEM TEXT format. At this time, if you transfer the text to a non-Windows application, the clipboard will provide data to it in OEM TEXT format. For example, after appropriate character value conversion, you can display bold characters in a non-Windows application as in a Windows application.
Note: Before setting the font in the "OemFonts.fon=" line, you must first select the "Display" command and OEMTEXT in the clipboard browser. If you modify this line and the specified font is not the OEM font of Win 95, Win 95 will not run, and you can only restart the microcomputer system.
(5) Shell=File Name (Default: Explorer.exe)
This setting is used to specify the default SHELL program for starting or ending the Win 95 task. This setting item is necessary for the system, so you cannot delete this setting item or its parameters. The Explorer is the default SHELL program, but you can also change it to other programs such as Program Manager. For example: Shell=Winfile.exe.
Almost all Windows applications can be specified as the SHELL program, but when the program cannot activate other applications, it will make the Win 95 system a single application environment. Sometimes this feature is very useful. For example, if you only use Excel or Word, you can set Excel or Word as the default SHELL program of Win 95 to save startup time. When selecting a third-party SHELL program, such as Norton Desktop For Windows 95 as the default setting, the "Shell=" line is usually automatically modified.
Note: The "Shell=" line must have parameters, otherwise, Windows will not start.
(6) Sound.drv=File Name (Default: Determined according to the system's sound hardware)
This setting item is used for the sound driver used by the Win 95 system.
(7) ScrnSave.exe=File Name (Default: None)
This item is mainly used to set the screen saver for Win 95. For example:
ScrnSave.exe=D:\PWIN\SSMARQUE.SCR
2.
The contains some settings that affect the performance of non-Windows applications. For example, the operation of MS DOS 7.0 itself, the mouse operation in MS DOS 7.0, and other management work, etc.
(1) CommandEnvSize=Number of bytes (Default: For versions before MS-DOS 3.2, it is set to 0; for other versions, the default value is the value after /E: in the SHELL= command line parameter in the CONFIG.SYS file)
This setting is used to specify the size of the COMMAND.COM environment. When running a non-Windows application in Win 95, if the message "NotEnough Environment Space" is displayed, you need to increase this setting value. For example, to allocate 2KB of environment space, you can enter the following line:
CommandEnvSize=2048
Since Win 95 will start COMMAND.COM when executing a batch file (.BAT), this setting also applies to batch files. The setting value is 0-32768 or 160-32768. 0 means cancel this setting. If the value is too small, you can increase it to 160. If the value is too large, you can reduce it to 32768. If the set value is smaller than the current actual environment size, the setting value will be invalid, and the effect is the same as setting it to 0. When running a DOS application under Win 95, Win 95 will create a virtual machine (DOS VM) and provide a backup of the MS DOS 7.0 environment space for it. This DOS environment space is the same as the one allocated by CONFIG.SYS, and the default is 160 bytes. You can also specify other values. For example: SHELL=C:\DOS\COMMAND.COM /E:1024/P
(2) DisablePositionSave=0/1 (Default: 0)
If this setting is invalid, when exiting the application, the position and font used by the non-Windows application will be saved in the DOSAPP.INI file. If this setting item is set, the position and font used by the non-Windows application that are not saved in the DOSAPP.INI file in advance will not be saved.
(3) FontChangeEnable=0/1 (Default: 0)
Win 95 video grabber (for the display driver of Win 95). Contains internal support for changing the font when running a non-Windows application in a window. If the used Windows 3.x version grabber is not updated and does not include the function of changing the font, and you want to use this function, you can enable this setting. However, when enabling this setting, characters may be lost on the screen, and the size and position of the (mouse) cursor may change slightly. If your mouse does not work normally, you can restore the FontChangeEnable parameter to 0.
(4) LocalTSR=List of TSR applications (Default: DOSEDIT, CED)
This setting specifies which memory-resident programs (TSR) can work normally when copied to each instance of the virtual machine. When starting Win 95, the system checks all currently running TSR programs. If the TSR is in the Local TSRs list, Win 95 copies the TSR to each instance of the running virtual machine. However, many TSR programs cannot work normally even if they are added to this list. Therefore, before adding it to the list, you must ensure that the TSR program is fully compatible with Win 95 and can be copied to the virtual machine.
(5) MouseInDosBox=0/1 (Default: If a.COM or.SYS mouse driver is loaded and supports using the mouse in non-Windows applications, it is set to 1; otherwise, the default value is 0)
When running a non-Windows application in a window, it indicates whether the mouse is supported. If the Win 95 grabber is used, mouse support is automatically provided when executing a non-Windows application under Win 95. If the Windows 3.x version grabber is used and mouse support is needed, this setting can be enabled.
(6) NetAsynchSwitching=0 or -1 (Default: 0, unless the running application can use the task switcher API through NetBIOS support)
This setting indicates whether the application can switch out from the application after making an asynchronous network BIOS call in the standard mode. If this setting is canceled, switching is not possible. Switching out from some applications may cause the system to crash. Once Win 95 detects an asynchronous NetBIOS call, even if it is no longer called, switching out from the application is not possible. This setting can only be enabled when it is ensured that the used application is inactive and will not receive network messages.
(7) Screen Line=Number (Default: 25)
This setting item will specify the number of lines displayed on the screen when running a non-Windows application. The application can reset this value if it specifies a different screen mode. This setting parameter can be changed to 43 or 50, but the application may not receive this setting value.
3.
The section contains information specific to running Chinese Win 95, including some information for virtual memory paging. These parameter settings are mainly around how to make full use of processors above 386 and 486.
(1) AIIVMSExclusive=OFF/ON (Default: OFF)
Enabling this setting will force all applications to run in an exclusive full-screen mode and override all opposite settings in the program information file (PIF) of the application. When enabling this setting, if running incompatible network and memory-resident software with Win 95, the Chinese Windows dialogue period can be extended. Microsoft recommends using this setting when running network or TSR software that is not fully compatible with Win 95. If this setting item is ON, the function of the Alt+Enter key combination of Win 95 is blocked. When running a DOS application in Win 95, this key combination can switch the program between full-screen display mode and window display mode.
(2) AIIEMSLocked=OFF/ON (Default: OFF)
When this setting is ON, Win 95 no longer moves extended memory to the disk and cancels any PIF settings that prevent extended memory from being locked. In most cases, converting extended memory to the disk will not cause any problems.
If a disk buffer program is used in the Win 95 system or a DOS device driver that requires extended memory is used, set this setting to ON.
(3) AltKeyDelay=Seconds (Default: 0.005)
This setting defines the longest time Win 95 waits to process another keyboard interrupt after processing an Alt interrupt. If some applications in the system cannot correctly handle the Alt key, it is best to extend this setting parameter value.
(4) AltPasteDelay=Seconds (Default: 0.025)
This setting item defines the longest time Win 95 waits for character input after pressing the Alt key. Some applications require a higher setting value than the default value.
(5) AutoRestoreScreen=OFF/ON (Default: ON)
This setting is used to determine whether the screen of a non-Windows application running in Win 95 is restored by Chinese Win 95 or by the program itself when switching to it. It only works for applications running in VGA display mode. In this case, both the program itself and Win 95 can restore the program screen.
(6) CGA40WOA.FON=File Name (Default: CGA40WOA.FON - American usage)
Win 95 will use the font specified by this setting to display non-Windows applications that require a 40-column, less than or equal to 25-line display mode.
(7) CGA80WOA.FON=File Name (Default: CGA80WOA.FON - American usage)
Win 95 will use the font specified by this setting to display non-Windows applications that require an 80-column, less than or equal to 25-line display mode.
(8) COM1AutoAssign=Number (Default: 2)
(9) COM2AutoAssign=Number (Default: 2)
(10) COM3AutoAssign=Number (Default: 2)
(11) COM4AutoAssign=Number (Default: 2)
This setting item specifies the processing method of Win 95 when two non-Windows applications or one non-Windows application and another Windows application simultaneously request to use a specific COM interface. If the parameter is -1, Win 95 will issue a warning and ask the user which application to connect; if the parameter is 0, Win 95 will not intervene in the conflict, that is, any application can use this interface at any time; if the parameter is greater than 0, Win 95 will assign the interface to the first application that applies for it. When the application finishes using it, Win 95 will wait for several seconds (that is, the set value here), and then assign this interface to the second application. The set value here should be less than 1000.
Generally, this parameter is best not set to 0, but some non-Windows printing programs require setting the printer parameters on the serial port to 0.
Note: Win 95 often arbitrates device requests from Windows applications. The AutoAssign number is only used for requests between virtual machines, that is, at least one of the requests comes from a non-Windows application.
(12) COM1Base=Address (Default: Interface value in the BIOS data area)
(13) COM2Base=Address (Default: Interface value in the BIOS data area)
(14) COM3Base=Address (Default: 3E8H)
(15) COM4Base=Address (Default: Interface value in the BIOS data area)
These settings can define the base (start) address for each serial interface in Win 95.
(16) COM1Buffer=Number (Default: 128)
(17) COM2Buffer=Number (Default: 128)
(18) COM3Buffer=Number (Default: 128)
(19) COM4Buffer=Number (Default: 128)
These setting items define the number of characters in the buffer that Win 95 allocates to each interface. If there are more characters, the buffer needs to be increased. Microsoft recommends setting the "COMxProtocol=" line to XOFF before modifying this parameter.
If the system uses a 16550 Universal Asynchronous Receiver Transmitter (UART) and a non-Windows communication program under Win 95, set the communication buffer to 0 to make better use of the UART buffer.
(20) COM1FIFO=OFF/ON (Default: ON)
(21) COM2FIFO=OFF/ON (Default: ON)
(22) COM3FIFO=OFF/ON (Default: ON)
(23) COM4FIFO=OFF/ON (Default: ON)
These setting items are used to determine whether the FIFO buffer of the 16550 UART is available.
If a new version of the 16550 UART that does not support the FIFO buffer well is used in the system or a problem is encountered, the FIFO buffer of the corresponding interface should be turned off, that is, the above parameters are all changed to OFF.
(24) COM1IRQ=Number (Default: 4)
(25) COM2IRQ=Number (Default: 4)
(26) COM3IRQ=Number (Default: 4)
(27) COM4IRQ=Number (Default: 4)
These settings are used to indicate the interrupt request used by each serial interface in Win 95.
(28) COM1Protocol=XOFF|(Space) (Default: Space)
(29) COM2Protocol=XOFF|(Space) (Default: Space)
(30) COM3Protocol=XOFF|(Space) (Default: Space)
(31) COM4Protocol=XOFF|(Space) (Default: Space)
These settings are used to determine whether Windows running with Win 95 aborts the response character that emulates an XOFF character in the virtual machine. If the above parameters are set to other values than XOFF or all the setting lines are default, Win 95 will ignore the XOFF character; if one of the lines is set to XOFF, Chinese Windows will stop sending characters after receiving an XOFF character and resume sending when it receives the second character (no matter what character it is). When a binary file is transferred through a certain serial port, you should turn off its corresponding Protocol setting; if character loss occurs during high baud rate transfer, set the corresponding Protocol value to XOFF. If character loss still occurs at this time, you should increase the setting of the corresponding "COMxBuffer=" line.
(32) COMBoostTime=Number of milliseconds (Default: 2)
This setting specifies the time allowed for the virtual machine to process a COM interrupt. If the input characters do not appear on the screen when running a communication application, try increasing this setting value.
(33) COMIRQSharing=OFF/ON (Default: ON for MCA and EISA, OFF for ISA)
This setting is used to determine whether the serial port can share the interrupt request line. If COM1 and COM3 or COM2 and COM4 use the same IRQ in the system, this line should be set to ON.
(34) Commdrv30=OFF/ON (Default: OFF)
If this setting is enabled, the virtual COM driver (VCD) will use a copy of its interrupt handler for the serial communication driver, which will improve the performance of the COM port. If a serial communication driver of Windows 3.2 or later version is used, set it to OFF.
(35) DMABufferIn1MB=OFF/ON (Default: OFF)
This setting item is used to determine whether the direct memory access (DMA) buffer needs to be loaded into the first megabyte of memory to be compatible with 8-bit bus control cards.
(36) DMABufferSize=Number of bytes (KB) (Default: 16)
This setting item is used to define the size of the memory used by the DMA buffer. Some systems' DMA buffers need more than 16KB of memory. For example, Central Point Software suggests setting a 64KB DMA buffer. If the NetBIOS network is installed before starting Win 95, Win 95 will use a larger memory setting parameter and need to explain this parameter in "NetDMASize=".
If the system uses EMM386.EXE with the "D=" parameter, Win 95 will ignore this parameter and use the setting parameter of DMABufferSize.
(37) DualDisplay=OFF/ON (Default: Determined according to the display adapter)
Generally, when Win 95 is running, unless a second display is detected, the memory between B000:0000 and B7FF:000F is used by the system. If a VGA color display is used and you want EMM386.EXE to treat this address space as an upper memory block (UMB), select this setting and add the I= option to the DEVICE=EMM386.EXE command line in CONFIG.SYS, that is: DEVICE=EMM386.EXE I=B000-B7FF
If this setting does not work, the EGA system can use this address range, but the VGA system cannot use it because the VGA display device needs to support the monochrome mode, and the monochrome mode needs to use this address space.
(38) EGA40WOA.FON=File Name (Default: EGA40WOA.FON - American usage)
Win 95 will use the S font specified by this setting item to display non-Windows applications that require a 40-column, greater than or equal to 25-line display mode.
(39) EGA80WOA.FON=File Name (Default: EGA80WOA.FON - American usage)
Win 95 uses the font specified by this setting item to display non-Windows applications that require an 80-column, greater than or equal to 25-line display mode.
(40) EMMExclude=Segment-Range (Default: None)
This setting item specifies a memory range that Win 95 does not scan the unused address space in. The side effect is to turn off the search codes for RAM and ROM in this range. This range (two segment values separated by a hyphen) must be between A000 and EFFF. This scanning may interfere with some adapters that use the same memory range. The start value is rounded down and the end value is rounded up to a multiple of 16K. For example, set EMMExclude=C800-CFFF to prevent Chinese Windows from scanning the addresses between C800:0000 and CFFF:000F. To specify multiple ranges, you can add multiple lines of EMMExclude.
(41) EMMInclude=Segment-Range (Default: None)
This setting item specifies a memory range that WIN 95 treats as unused address space regardless of the content in this range. If the specified address range overlaps with EMMExclude, EMMInclude takes precedence over EMMExclude. This range (two values separated by a hyphen) must be between A000 and EFFF. The start value is rounded down and the end value is rounded up to a multiple of 16K. For example, set EMMExclude=C800-CFFF to ensure that Win 95 can use the addresses between C800:0000 and CFFF:000F. To specify multiple ranges, you can add multiple lines of EMMInclude.
(42) EMMPageFrame=Segment Range (Default: None)
When Win 95 cannot find a suitable page frame, this setting specifies the starting segment of a 64K page frame. Allows the EMM page frame in a certain area to contain some unused RAM or ROM. For example, set EMMPageFrame=C400 to make the page frame start from C400:0000.
(43) EMMSize=Number of bytes (KB) (Default: 64KB)
This setting item specifies the total amount of memory that can be mapped as extended memory. The default value maps the maximum possible amount of system memory as extended memory. If the running application occupies all available extended memory, specify the value of this setting. At this time, no new virtual machine can be created; if this value is zero, no extended memory will be allocated, but the EMM driver is loaded; if you want to disable EMM and prevent the EMM driver from loading, use the NoEMMDriver setting.
(44) FileSysChange=OFF/ON (Default: OFF)
This setting item indicates whether the file manager automatically receives messages at any time when a non-Windows application creates, renames, or deletes a file. If this setting is invalid, the virtual machine can run in exclusive mode even if the file is modified. Enabling this setting will significantly reduce the system performance.
--------------------------------------------------------------------------------
Composition of the SYSTEM.INI File
The SYSTEM.INI file contains several sections, each consisting of a set of related settings. The format of sections and settings is as follows:
Keyword Name=Value
The main section names and descriptions that make up the SYSTEM.INI file are as follows:
Segment Name Description
List of driver programs and Windows modules
Includes information about the keyboard
Device name that can be modified through Windows Setup
Information required by Windows in 386Enhanced mode
Information used by non-Windows applications
Media Control InterFace (MCI) driver program list
List of installable driver program names or aliases
List of installable 32-bit driver program names or aliases
Cache configuration of the TTF font library of Win 95
Note: Modifying the main settings in SYSTEM.INI is very dangerous and may cause fatal errors in Windows tasks.
Detailed Explanation of SYSTEM.INI File Configuration
1.
The records some basic settings established when Chinese Win 95 starts. The most important one is the shell program (SHELL program) of Win 95. Usually, this SHELL program is the Win 95 Explorer, but it can also be other programs, such as Program Manager, File Manager, etc. In this section, except for CacheFileHandles, other settings are necessary. If you modify or delete one of the settings, Win 95 may not work properly. For settings without a fixed default value, Win 95 will set them according to the system configuration.
(1) Comm.drv=File Name (Default: COMM.DRV)
This item is used to specify the name of the serial communication driver used by the system.
If you upgrade from a Win 3.x environment using a third-party communication driver, Win 95 will not replace the original driver with Microsoft's COMM.DRV. At this time, you need to add the setting item Commdrv30=ON in the section of SYSTEM.INI. If you want to replace the third-party communication driver with Microsoft's COMM.DRV, and the communication driver loads its own virtual communication driver while being installed, you also need to make some modifications in the section of SYSTEM.INI.
(2) Fixedfon.fon=File Name (Default: Determined according to the display driver)
This setting is used to indicate the fonts of Windows 2.x and 3.x that can run in Chinese Win 95. If there are old versions of applications in the system that use a mono-spaced font, you can update the font by modifying this line. To make Notepad use an appropriate space font on a VGA system, you should set Fixedfon.fon to VGASYS.FON. The specified in this setting is a raster font file with the extension.FON, and these font files must be placed in the SYSTEM directory.
(3) Fonts.fon=File Name (Default: Determined according to the display driver)
This setting is used to indicate the font used by Win 95 in menus and dialog boxes. Win 95 provides different versions of fonts for different resolutions and stores these fonts in the SYSTEM directory. The system fonts provided by Chinese Win 95 include: Egasys.FON, VGASYS.FON, and 8514SYS.FON, etc. You can specify any available system font in the "Fonts.fon=" line.
Another way to modify the Win 95 menu font is to modify the description of the section in the WIN.INI file.
Note: If an unavailable font is specified in this setting item, Win 95 will not run, and at this time, you must restart the computer.
(4) OemFonts.fon=File Name (Default: Determined according to the display driver)
This setting defines the clipboard browser program of Win 95, which can be used to display the font of OEM TEXT format text. The installation program SETUP of Win 95 installs the corresponding fonts for different resolutions and initializes the "OemFonts.Fon=" line accordingly. Chinese Win 95 supports three OEM-type fonts: EGAOEM.FON, VGAOEM.FON, and 8514FON.FON. The font specified in this setting item must be a mono-spaced font using the DOS character setting, not other Windows system fonts (except symbols) using the ANSI character setting. When you copy a text block to the clipboard, Win 95 generally stores it in OEM TEXT format. At this time, if you transfer the text to a non-Windows application, the clipboard will provide data to it in OEM TEXT format. For example, after appropriate character value conversion, you can display bold characters in a non-Windows application as in a Windows application.
Note: Before setting the font in the "OemFonts.fon=" line, you must first select the "Display" command and OEMTEXT in the clipboard browser. If you modify this line and the specified font is not the OEM font of Win 95, Win 95 will not run, and you can only restart the microcomputer system.
(5) Shell=File Name (Default: Explorer.exe)
This setting is used to specify the default SHELL program for starting or ending the Win 95 task. This setting item is necessary for the system, so you cannot delete this setting item or its parameters. The Explorer is the default SHELL program, but you can also change it to other programs such as Program Manager. For example: Shell=Winfile.exe.
Almost all Windows applications can be specified as the SHELL program, but when the program cannot activate other applications, it will make the Win 95 system a single application environment. Sometimes this feature is very useful. For example, if you only use Excel or Word, you can set Excel or Word as the default SHELL program of Win 95 to save startup time. When selecting a third-party SHELL program, such as Norton Desktop For Windows 95 as the default setting, the "Shell=" line is usually automatically modified.
Note: The "Shell=" line must have parameters, otherwise, Windows will not start.
(6) Sound.drv=File Name (Default: Determined according to the system's sound hardware)
This setting item is used for the sound driver used by the Win 95 system.
(7) ScrnSave.exe=File Name (Default: None)
This item is mainly used to set the screen saver for Win 95. For example:
ScrnSave.exe=D:\PWIN\SSMARQUE.SCR
2.
The contains some settings that affect the performance of non-Windows applications. For example, the operation of MS DOS 7.0 itself, the mouse operation in MS DOS 7.0, and other management work, etc.
(1) CommandEnvSize=Number of bytes (Default: For versions before MS-DOS 3.2, it is set to 0; for other versions, the default value is the value after /E: in the SHELL= command line parameter in the CONFIG.SYS file)
This setting is used to specify the size of the COMMAND.COM environment. When running a non-Windows application in Win 95, if the message "NotEnough Environment Space" is displayed, you need to increase this setting value. For example, to allocate 2KB of environment space, you can enter the following line:
CommandEnvSize=2048
Since Win 95 will start COMMAND.COM when executing a batch file (.BAT), this setting also applies to batch files. The setting value is 0-32768 or 160-32768. 0 means cancel this setting. If the value is too small, you can increase it to 160. If the value is too large, you can reduce it to 32768. If the set value is smaller than the current actual environment size, the setting value will be invalid, and the effect is the same as setting it to 0. When running a DOS application under Win 95, Win 95 will create a virtual machine (DOS VM) and provide a backup of the MS DOS 7.0 environment space for it. This DOS environment space is the same as the one allocated by CONFIG.SYS, and the default is 160 bytes. You can also specify other values. For example: SHELL=C:\DOS\COMMAND.COM /E:1024/P
(2) DisablePositionSave=0/1 (Default: 0)
If this setting is invalid, when exiting the application, the position and font used by the non-Windows application will be saved in the DOSAPP.INI file. If this setting item is set, the position and font used by the non-Windows application that are not saved in the DOSAPP.INI file in advance will not be saved.
(3) FontChangeEnable=0/1 (Default: 0)
Win 95 video grabber (for the display driver of Win 95). Contains internal support for changing the font when running a non-Windows application in a window. If the used Windows 3.x version grabber is not updated and does not include the function of changing the font, and you want to use this function, you can enable this setting. However, when enabling this setting, characters may be lost on the screen, and the size and position of the (mouse) cursor may change slightly. If your mouse does not work normally, you can restore the FontChangeEnable parameter to 0.
(4) LocalTSR=List of TSR applications (Default: DOSEDIT, CED)
This setting specifies which memory-resident programs (TSR) can work normally when copied to each instance of the virtual machine. When starting Win 95, the system checks all currently running TSR programs. If the TSR is in the Local TSRs list, Win 95 copies the TSR to each instance of the running virtual machine. However, many TSR programs cannot work normally even if they are added to this list. Therefore, before adding it to the list, you must ensure that the TSR program is fully compatible with Win 95 and can be copied to the virtual machine.
(5) MouseInDosBox=0/1 (Default: If a.COM or.SYS mouse driver is loaded and supports using the mouse in non-Windows applications, it is set to 1; otherwise, the default value is 0)
When running a non-Windows application in a window, it indicates whether the mouse is supported. If the Win 95 grabber is used, mouse support is automatically provided when executing a non-Windows application under Win 95. If the Windows 3.x version grabber is used and mouse support is needed, this setting can be enabled.
(6) NetAsynchSwitching=0 or -1 (Default: 0, unless the running application can use the task switcher API through NetBIOS support)
This setting indicates whether the application can switch out from the application after making an asynchronous network BIOS call in the standard mode. If this setting is canceled, switching is not possible. Switching out from some applications may cause the system to crash. Once Win 95 detects an asynchronous NetBIOS call, even if it is no longer called, switching out from the application is not possible. This setting can only be enabled when it is ensured that the used application is inactive and will not receive network messages.
(7) Screen Line=Number (Default: 25)
This setting item will specify the number of lines displayed on the screen when running a non-Windows application. The application can reset this value if it specifies a different screen mode. This setting parameter can be changed to 43 or 50, but the application may not receive this setting value.
3.
The section contains information specific to running Chinese Win 95, including some information for virtual memory paging. These parameter settings are mainly around how to make full use of processors above 386 and 486.
(1) AIIVMSExclusive=OFF/ON (Default: OFF)
Enabling this setting will force all applications to run in an exclusive full-screen mode and override all opposite settings in the program information file (PIF) of the application. When enabling this setting, if running incompatible network and memory-resident software with Win 95, the Chinese Windows dialogue period can be extended. Microsoft recommends using this setting when running network or TSR software that is not fully compatible with Win 95. If this setting item is ON, the function of the Alt+Enter key combination of Win 95 is blocked. When running a DOS application in Win 95, this key combination can switch the program between full-screen display mode and window display mode.
(2) AIIEMSLocked=OFF/ON (Default: OFF)
When this setting is ON, Win 95 no longer moves extended memory to the disk and cancels any PIF settings that prevent extended memory from being locked. In most cases, converting extended memory to the disk will not cause any problems.
If a disk buffer program is used in the Win 95 system or a DOS device driver that requires extended memory is used, set this setting to ON.
(3) AltKeyDelay=Seconds (Default: 0.005)
This setting defines the longest time Win 95 waits to process another keyboard interrupt after processing an Alt interrupt. If some applications in the system cannot correctly handle the Alt key, it is best to extend this setting parameter value.
(4) AltPasteDelay=Seconds (Default: 0.025)
This setting item defines the longest time Win 95 waits for character input after pressing the Alt key. Some applications require a higher setting value than the default value.
(5) AutoRestoreScreen=OFF/ON (Default: ON)
This setting is used to determine whether the screen of a non-Windows application running in Win 95 is restored by Chinese Win 95 or by the program itself when switching to it. It only works for applications running in VGA display mode. In this case, both the program itself and Win 95 can restore the program screen.
(6) CGA40WOA.FON=File Name (Default: CGA40WOA.FON - American usage)
Win 95 will use the font specified by this setting to display non-Windows applications that require a 40-column, less than or equal to 25-line display mode.
(7) CGA80WOA.FON=File Name (Default: CGA80WOA.FON - American usage)
Win 95 will use the font specified by this setting to display non-Windows applications that require an 80-column, less than or equal to 25-line display mode.
(8) COM1AutoAssign=Number (Default: 2)
(9) COM2AutoAssign=Number (Default: 2)
(10) COM3AutoAssign=Number (Default: 2)
(11) COM4AutoAssign=Number (Default: 2)
This setting item specifies the processing method of Win 95 when two non-Windows applications or one non-Windows application and another Windows application simultaneously request to use a specific COM interface. If the parameter is -1, Win 95 will issue a warning and ask the user which application to connect; if the parameter is 0, Win 95 will not intervene in the conflict, that is, any application can use this interface at any time; if the parameter is greater than 0, Win 95 will assign the interface to the first application that applies for it. When the application finishes using it, Win 95 will wait for several seconds (that is, the set value here), and then assign this interface to the second application. The set value here should be less than 1000.
Generally, this parameter is best not set to 0, but some non-Windows printing programs require setting the printer parameters on the serial port to 0.
Note: Win 95 often arbitrates device requests from Windows applications. The AutoAssign number is only used for requests between virtual machines, that is, at least one of the requests comes from a non-Windows application.
(12) COM1Base=Address (Default: Interface value in the BIOS data area)
(13) COM2Base=Address (Default: Interface value in the BIOS data area)
(14) COM3Base=Address (Default: 3E8H)
(15) COM4Base=Address (Default: Interface value in the BIOS data area)
These settings can define the base (start) address for each serial interface in Win 95.
(16) COM1Buffer=Number (Default: 128)
(17) COM2Buffer=Number (Default: 128)
(18) COM3Buffer=Number (Default: 128)
(19) COM4Buffer=Number (Default: 128)
These setting items define the number of characters in the buffer that Win 95 allocates to each interface. If there are more characters, the buffer needs to be increased. Microsoft recommends setting the "COMxProtocol=" line to XOFF before modifying this parameter.
If the system uses a 16550 Universal Asynchronous Receiver Transmitter (UART) and a non-Windows communication program under Win 95, set the communication buffer to 0 to make better use of the UART buffer.
(20) COM1FIFO=OFF/ON (Default: ON)
(21) COM2FIFO=OFF/ON (Default: ON)
(22) COM3FIFO=OFF/ON (Default: ON)
(23) COM4FIFO=OFF/ON (Default: ON)
These setting items are used to determine whether the FIFO buffer of the 16550 UART is available.
If a new version of the 16550 UART that does not support the FIFO buffer well is used in the system or a problem is encountered, the FIFO buffer of the corresponding interface should be turned off, that is, the above parameters are all changed to OFF.
(24) COM1IRQ=Number (Default: 4)
(25) COM2IRQ=Number (Default: 4)
(26) COM3IRQ=Number (Default: 4)
(27) COM4IRQ=Number (Default: 4)
These settings are used to indicate the interrupt request used by each serial interface in Win 95.
(28) COM1Protocol=XOFF|(Space) (Default: Space)
(29) COM2Protocol=XOFF|(Space) (Default: Space)
(30) COM3Protocol=XOFF|(Space) (Default: Space)
(31) COM4Protocol=XOFF|(Space) (Default: Space)
These settings are used to determine whether Windows running with Win 95 aborts the response character that emulates an XOFF character in the virtual machine. If the above parameters are set to other values than XOFF or all the setting lines are default, Win 95 will ignore the XOFF character; if one of the lines is set to XOFF, Chinese Windows will stop sending characters after receiving an XOFF character and resume sending when it receives the second character (no matter what character it is). When a binary file is transferred through a certain serial port, you should turn off its corresponding Protocol setting; if character loss occurs during high baud rate transfer, set the corresponding Protocol value to XOFF. If character loss still occurs at this time, you should increase the setting of the corresponding "COMxBuffer=" line.
(32) COMBoostTime=Number of milliseconds (Default: 2)
This setting specifies the time allowed for the virtual machine to process a COM interrupt. If the input characters do not appear on the screen when running a communication application, try increasing this setting value.
(33) COMIRQSharing=OFF/ON (Default: ON for MCA and EISA, OFF for ISA)
This setting is used to determine whether the serial port can share the interrupt request line. If COM1 and COM3 or COM2 and COM4 use the same IRQ in the system, this line should be set to ON.
(34) Commdrv30=OFF/ON (Default: OFF)
If this setting is enabled, the virtual COM driver (VCD) will use a copy of its interrupt handler for the serial communication driver, which will improve the performance of the COM port. If a serial communication driver of Windows 3.2 or later version is used, set it to OFF.
(35) DMABufferIn1MB=OFF/ON (Default: OFF)
This setting item is used to determine whether the direct memory access (DMA) buffer needs to be loaded into the first megabyte of memory to be compatible with 8-bit bus control cards.
(36) DMABufferSize=Number of bytes (KB) (Default: 16)
This setting item is used to define the size of the memory used by the DMA buffer. Some systems' DMA buffers need more than 16KB of memory. For example, Central Point Software suggests setting a 64KB DMA buffer. If the NetBIOS network is installed before starting Win 95, Win 95 will use a larger memory setting parameter and need to explain this parameter in "NetDMASize=".
If the system uses EMM386.EXE with the "D=" parameter, Win 95 will ignore this parameter and use the setting parameter of DMABufferSize.
(37) DualDisplay=OFF/ON (Default: Determined according to the display adapter)
Generally, when Win 95 is running, unless a second display is detected, the memory between B000:0000 and B7FF:000F is used by the system. If a VGA color display is used and you want EMM386.EXE to treat this address space as an upper memory block (UMB), select this setting and add the I= option to the DEVICE=EMM386.EXE command line in CONFIG.SYS, that is: DEVICE=EMM386.EXE I=B000-B7FF
If this setting does not work, the EGA system can use this address range, but the VGA system cannot use it because the VGA display device needs to support the monochrome mode, and the monochrome mode needs to use this address space.
(38) EGA40WOA.FON=File Name (Default: EGA40WOA.FON - American usage)
Win 95 will use the S font specified by this setting item to display non-Windows applications that require a 40-column, greater than or equal to 25-line display mode.
(39) EGA80WOA.FON=File Name (Default: EGA80WOA.FON - American usage)
Win 95 uses the font specified by this setting item to display non-Windows applications that require an 80-column, greater than or equal to 25-line display mode.
(40) EMMExclude=Segment-Range (Default: None)
This setting item specifies a memory range that Win 95 does not scan the unused address space in. The side effect is to turn off the search codes for RAM and ROM in this range. This range (two segment values separated by a hyphen) must be between A000 and EFFF. This scanning may interfere with some adapters that use the same memory range. The start value is rounded down and the end value is rounded up to a multiple of 16K. For example, set EMMExclude=C800-CFFF to prevent Chinese Windows from scanning the addresses between C800:0000 and CFFF:000F. To specify multiple ranges, you can add multiple lines of EMMExclude.
(41) EMMInclude=Segment-Range (Default: None)
This setting item specifies a memory range that WIN 95 treats as unused address space regardless of the content in this range. If the specified address range overlaps with EMMExclude, EMMInclude takes precedence over EMMExclude. This range (two values separated by a hyphen) must be between A000 and EFFF. The start value is rounded down and the end value is rounded up to a multiple of 16K. For example, set EMMExclude=C800-CFFF to ensure that Win 95 can use the addresses between C800:0000 and CFFF:000F. To specify multiple ranges, you can add multiple lines of EMMInclude.
(42) EMMPageFrame=Segment Range (Default: None)
When Win 95 cannot find a suitable page frame, this setting specifies the starting segment of a 64K page frame. Allows the EMM page frame in a certain area to contain some unused RAM or ROM. For example, set EMMPageFrame=C400 to make the page frame start from C400:0000.
(43) EMMSize=Number of bytes (KB) (Default: 64KB)
This setting item specifies the total amount of memory that can be mapped as extended memory. The default value maps the maximum possible amount of system memory as extended memory. If the running application occupies all available extended memory, specify the value of this setting. At this time, no new virtual machine can be created; if this value is zero, no extended memory will be allocated, but the EMM driver is loaded; if you want to disable EMM and prevent the EMM driver from loading, use the NoEMMDriver setting.
(44) FileSysChange=OFF/ON (Default: OFF)
This setting item indicates whether the file manager automatically receives messages at any time when a non-Windows application creates, renames, or deletes a file. If this setting is invalid, the virtual machine can run in exclusive mode even if the file is modified. Enabling this setting will significantly reduce the system performance.
欢迎大家观临我的个人主页:
http://dosdiy.bluepc.com.cn/
http://dosdiy.ys168.com/
EMAIL: lydong@china.com.cn lydong@yeah.net
----------------------------------------------
http://dosdiy.bluepc.com.cn/
http://dosdiy.ys168.com/
EMAIL: lydong@china.com.cn lydong@yeah.net
----------------------------------------------

DigestI