Обновление
Программы
(Санкт-Петербург)
Преимущества (1)
Разработчику (1)
(Пайпы программ) Компании: (1)
История (1):
(Бонусы) Советы:
(Барьеры и решения) Технологии: (1)
(Применение в науке, лаборатории, ..)
Готовые решения:
Новая eComStation:
Будущее: (1)
(Ссылки на другие сайты) (Картинка дня) Артефакты OS/2
Гаджеты
|
ConfigTool 1.0.0 database - DOS SPECIFICS
[ConfigTool page] [Table of contents] [Index]
- BREAK
- DOS
- FCBS
- FILES
- LOADHIGH
- RMSIZE
- SHELL
- WIN3DIR
BREAK
[Table of contents] [Index] [DOS SPECIFICS]
=OFF or ON
For DOS programs only. Many DOS programs can be stopped by holding down the Ctrl key and then pressing the Break key. BREAK controls how quickly DOS programs stop when you interrupt them with the Ctrl+Break sequence. If BREAK=OFF, DOS will stop the program only when the programs next reads a character from the keyboard or writes to the screen or printer. With BREAK=ON, DOS will check for the Ctrl+Break on a more frequent basis. Remember that this extra checking can make your DOS programs run slower.
DOS
[Table of contents] [Index] [DOS SPECIFICS]
=LOW,NOUMB
This is a standard DOS command that lets you control how DOS uses memory. The default is DOS=LOW,NOUMB and is considered by many to be the best setting for it conserves memory for OS/2. DOS=HIGH (including ,UMB) reduces available memory for OS/2, but increases the available memory in EVERY DOS session. Few DOS sessions need maximum memory. Also remember that you can move DOS HIGH for a specific program by changing that programs Settings. This is done in the programs Settings Notebook and is likely the better way to go. Finally, keep in mind that in OS/2 many device drivers are not taking up room in your 640k DOS area. So you generally have more memory in the typical OS/2 DOS session than in a standard DOS session.
The following is the amount of memory my system reports in each DOS session with DOS=LOW,NOUMB. The vast majority of all DOS programs will run just fine with this amount of memory.
655360 bytes total memory
655360 bytes available for DOS
618208 largest executable program size <---- About 604k.
With DOS=HIGH, the amount of memory reported is:
655360 bytes total memory
655360 bytes available for DOS
643632 largest executable program size <---- About 629k.
<<=TIP=>> If you need the maximum available RAM in a DOS session and can get by on CGA or MONO, in the DOS Settings of your applications Settings Notebook, change VIDEO_MODE_RESTRICTION to CGA or MONO. (Note that there are some reports from users that this procedure does not work on their hardware.) A final
note: For this to work on some systems, you may need to change RMSIZE command to 639 (RMSIZE=639). See description of this parameter under RMSIZE. This is the result of a bug in OS/2.
FCBS
[Table of contents] [Index] [DOS SPECIFICS]
=4,2
File Control Blocks (FCBS) are an outmoded holdover from old versions of DOS. The blocks are an internal holding area for data about concurrently open files. In newer versions of DOS, these FCBS have been replaced by File Handles, but some DOS
programs still use them and you need this statement for compatibility. The command tells an OS/2 VDM how many FCBS can be open at once, or, when DOS needs to open more FCBS than are available, how many currently open but not active FCBS may be closed to make room for new ones.
The syntax is FCBS=a,b where a=the number of FCBS that DOS can have open at one time and b=the number of FCBS DOS cannot close to make room for new FCBS. "a" can be as high as 255. "b" can have a value of 0 to 254, but must be less than "a". Unless you get some kind of error message when running a DOS program that tells you the program doesn't have enough FCBS, leave the default as set.
<<=TIP=>> You may wish to experiment with a smaller number. If you can get by with a smaller number, you will get back a little memory in each of your DOS sessions. My suggestions is that you set it to 4,2. If you make this change and then load a DOS program that says it can't open a file, increase the first value, reboot, and see if the error message goes away. You can also increase or change the value in the DOS programs Settings notebook.
FILES
[Table of contents] [Index] [DOS SPECIFICS]
=n
This is a standard DOS command which sets the maximum number of files that DOS can access at the same time. OS/2 sets the install default is 20, but some DOS programs may require an increased number. The maximum parameter is 255. The FILES command is for DOS only and has no effect on OS/2 sessions which can have up to 64,000 files open at the same time.
LOADHIGH
[Table of contents] [Index] [DOS SPECIFICS]
=drive:\OS2\MDOS\TSR.EXE
LH does the same as LOADHIGH.
This command is for DOS sessions and loads TRS programs into upper memory blocks if they are available. If upper memory blocks are not available, the TRS will be loaded into conventional memory.
RMSIZE
[Table of contents] [Index] [DOS SPECIFICS]
=640
This is a DOS command and sets the amount of memory available for use by each DOS session. The maximum is 640k. Since some DOS programs require 640k, its best to have RMSIZE set to 640.
<<=TIP=>> If you need maximum memory (more than 640k), see tip under DOS=LOW,NOUMB.
SHELL
[Table of contents] [Index] [DOS SPECIFICS]
=drive:\OS2\MDOS\COMMAND.COM drive:\OS2\MDOS /P
This line identifies and loads the DOS command processor COMMAND.COM which you must have to make DOS sessions work. The /p parameter keeps the command processor in memory until shut down.
<<=NOTE=>> This is the line where you can also specify the size of the DOS environment variable. The range is 160 through 32768. For example, to set a 1024 byte environment you would add the following to the end of the SHELL command line: /E:1024
<<=TIP=>> You can also load and run other command processor's such as 4DOS. To do so, just put 4DOS in your MDOS directory and change the SHELL line to read 4DOS.COM instead of COMMAND.COM.
WIN3DIR
[Table of contents] [Index] [DOS SPECIFICS]
This variable must point to the directory where Windows 3.1 resides if you use the TrapDoor feature for Warp 4.
|