DOS game general description

xiaoxiao2021-03-06  68

DOS game general description

(Wen: Woible in the day)

-------------------------------------------------- ------------------------------

The system introduces memory problem config.sys writing autoexec.bat's writing display, sound card, CD-ROM problem utility utility, in view of the DOS era, a new generation of gamers rarely contact DOS systems. Many seemingly "simple" issues, they are also helpless. This briefly introduces the gameplay of the DOS game.

Suitable operating system for DOS games

DOS5.0, DOS6.0 (relatively stable DOS old version, default directory C: / DOS) DOS6.22 (final version of pure DOS, default directory C: / DOS) DOS7.0 (Win95, Win98 with DOS, default Directory C: / Windows / Command Offer WinXP, Winnt and Win2000 have their own DOS Command Prompt, but can not be used as a boot system, if your machine has only these systems, it is unfortunate, you can't play DOS game unless installed For the analog platform, please see "WinXP DOS Game Play".

Start and load

The old DOS (DOS6.22 previous version) will load MSDOS.sys, IO.SYS, and Command.com system files after startup, and it is not possible. Then loading the hypervisor in config.sys and autoexec.bat, if the 2 files are default, then you can hardly walk, you can only operate the most basic DOS command.

The new version of DOS (win95 / win98 with DOS7.0) starts load IO.SYS and Command.com system files, MSDOS.sys is just as a boot profile. Config.sys and autoexec.bat are basically empty because the system is loaded with important configurations such as EMM386, HIMEM, DOS, FILES.

Memory common sense

There is a type with basic memory (Base Memory, 640K), high-end memory (Upper Memory, 384K), expansion memory (total number of physical memory of users).

General DOS game starts are placed in base memory, because only 640K, and other resident programs are placed here, so it is usually prompted to be insufficient memory because users do not load high-end memory and turn off other programs. Storage position, they occupy the game program space, leading to the "Not Enough Memory" prompt.

High-end memory (UPPER MEMORY) is not used in general game programs, then some resident programs, such as mouse, mscdex, doskey, gb, etc., you can make a lot of space to basic memory.

Expand memory is not available for the start of the game, but to process a lot of data in the exchange game, and the game starts, sometimes the game is halfway, maybe the expansion memory is not enough.

The most deadly bottleneck of DOS games is memory. Its different Windows systems is smart to manage memory. All settings must slowly debug themselves, and early game design can only use high-end memory and basic memory, even if your expansion memory has 128M is also useless - the program design itself is not available they.

Writing of config.sys file

This boot system file can be edited, the most common use is the edit command comes with DOS. If your PATH (later explains later) does not point to the wrong place, then you can edit this file in C: / below, you can edit this file, you can edit autoexec.bat. Config.sys file management DOS system's memory, commonly loaded memory management statement:

DEVICE (Loading Manager) DOS (Located to High Dedication) DOS (Location of System File) Files (Open File Number) Buffers (Number of Buffers) LastDrive (Last Disk) SHELL (Location of Command) REM (Note) Example Explanation:

1, Device = C: /DOS/HIMEM.SYS / TESTMEM: OFF

This statement is very important, load high-end memory management, so that DOS can use high-end memory, if your machine is slow, you can add / testmem: OFF Skip Memory Detection

2, DeviceHigh = C: /DOS/emm386.exe ram

Loading EMM386 in high-end memory, EMM386.EXE is used to manage expanded memory, this statement is also important. The common parameters are RAM and NOEMS, which is interpreted as using expansion memory and using extended memory. Noems release more basic memory than RAM, but this NOEMS statement is not used, so the use surface is narrow.

3, dos = high, umb

This statement is important, puts MSDOS.sys, IO.SYS, and Command.com system files in high-end memory.

4, FILES = 30

At the same time, the maximum number of files is opened, some games need to open a lot of data flow at the same time, if this statement is not set, its default is 10, the game may be wrong.

5, buffers = 20, 8

Set the number of buffers and the number of high-speed buffers to accelerate file read speed.

6, LastDrive = Z

Specifies the last hard disk disk letter to z, that is, you can use Z: These drive characters, even if you don't have so many partitions, you can vanely derived some hard disk partitions via Subst, FCD, Ramdrive, IMG. If this statement is not loaded, the above command will not work.

7, Shell = C: /DOS/command.com

This command exists by default, generally not loaded. The action is the interpretation command for specifying DOS. Generally, the default is C: /DOS/command.com, if you need Japanese DOS or other interpretation commands, such as 4DOS, NDOS, you need to specify a shell.

8, REM this is a SAMPLE

REM is a comment statement, and no matter what DOS you write, it is often used to block some temporary statements. For example, you don't need to load shell = c: /dos/command.com, just rem shell = C: / DOS / Command.com, DOS will skip the line without execution. Similarly Applying for Autoexec.bat

Summarize the CONFIG configuration of DOS games:

Device = c: /dos/HIMEM.SYS Device = C: /DOS/emm386.exe Ram (or Device = C: /DOS/emm386.exe noems) DOS = high, umb files = 30 If you need to play, You may also need to load the optical drive boot program, such as Device = C: / CDROM/vide-cdd.sys / d: MSCD001, which is usually done by the installer. If you still need a sound card to play, you may need to load the sound card launch program, such as Device = C: /SOUND/SBCD.sys, which is usually done by the installer. Note: The C: / DOS mentioned herein is the default DOS directory. If you are the Win98 DOS7.0, put it on the D disk, then Himem.sys and Emm386.exe inside D: / Windows. And other DOS files are in D: / Windows / Command. If you can't find DOS, find it in the root directory, such as C: /, run the "Dir Himem.sys / S" command.

AutoExec.bat writing

AutoExec.bat Management The resident program of the DOS system, which can be manually run step by step, but you can run the program every time you turn it on, you can use this file to automatically run. Commonly used statement:

Path (specified path) set (Setting Variable) PROMPT (Command Tip) LH (Loader to High Delivery) MSCDEX (CD Driver) SmartDRV (Dish Acceleration Program) Rem Example Explanation:

1, PATH = C: / Windows; C: / Windows / Command; D: / DOS; D: / Tools

Specify the running range of Command, which is convenient to call the program, assume you in the E: / GAME directory, then you can also run the format statement in C: / DOS directly. If you don't specify PATH, you must run this command in the C: / DOS directory.

2, PROMPT $ P $ g

Command line prompts you in place, such as C: / DOS, E: / FPE, F: / Game / SAN2, etc. If you do not load this command, no matter what directory you are, it is a disk, such as C: / , E: /, f: /. There are still many prompts in this prompt, studying yourself.

3, LH C: /DOS /MOUSE.COM

Loading the mouse driver mouse.com, many DOS games require mouse support if you don't load the mouse driver statement, so you cannot use the mouse.

4, doskey

After loading, you can record your keyboard history command, you can use the cumbersome command used to use, and use the up and down arrow to select history.

5, set command, set environment variables, there are many statements, such as

SET TEMP = f: / temp Specifies the temporary directory of DOS in F: / TEMP, the premise is that you have an F disk, and there is a TEMP directory exists, DOS default Temp directory in C: / DOS, but I recommend using an empty table of Contents. Because the DOS use time, there will be many garbage, like the Windows system, will be placed in the Temp directory, as long as there is files, it is garbage, can be deleted. There are many system files in the default DOS directory. Unfamiliar people may tell which is garbage, which is the system file.

SET TMP = f: / Temp Specifies the Windows Temporary Directory in F: / TEMP, other descriptions. Set Blaster = A240 i10 D3 H7 P330 T6 Sets the variables of the sound card, such as volume, channel, port, etc., is set by the installer.

SET PATH = C: / DOS is simplified to path =, refer to the top

SET DIRCMD = $ 1 / OG / P Setting DIR variables

6, LH C: /Windows/Command/mscdex.exe / s / d: MSCD001 / V / M: 20

Load the CD driver at high-end memory, which is usually done by the installer.

7, C: / DOS / SMARTDRV C D E

Start the hard disk / disc acceleration program, allow the read disk park acceleration, C D E , etc. to specify C: D: E: The disc is provided with a cache.

Summary DOS game usually required AUTOEXEC configuration:

Path C: / Windows; C: / Windows / Command; C: / DOS; Prompt $ P $ g LH C: / Windows / Command / Doskey LH C: /WINDOWS/Command/Mouse.com set variables to see specific situations If you also need a sound card to play, you may also need to load the sound card launch program, such as C: /Progra ~ 1/Creative/sblive/dosdrv/sbeinit.com, which is usually done by the installer.

Note: The C: / Windows / Command mentioned in this article is DOS7.0 default DOS directory, if you are DOS6.0, put it on the D disk, then the DOS file is in D: / DOS. Mouse.com file is not a file configured by DOS, you need to get through other channels.

Through the configuration of these two files, each startup, you can check if your basic memory is large, usage MEM / C / P, see the Base Memory column, in general, 550K is enough to run Most DOS games, if not enough, release some of the resident programs, such as Doskey, etc., restart, slowly debug ... (DOS is so annoying)

Other game problems

Some procedures need specially to display card program support, such as DOS4GW, EGA, SVGA, etc., some require a lot of memory to play. The current graphics card is basically no problem, but there is a possible advanced graphics card to eliminate the old display mode, and these patterns are just used by a game, unless you change an old graphics card, you don't play. this game. For example, the three Kingdoms 5, many advanced PC can't play this game, the reason is that the graphics card mode and the sound card mode are too old, the new graphics card cannot be achieved. Therefore, it is impossible to revisit myself. There is also a 1st generation of the three countries, and some graphics cards will play a periodic black screen, which is also a conflict.

If the program requires the sound card support, then you need to install the Sound card driver for DOS; some games come with a universal sound card installer, in general, you can choose the Sound Blaster series. Some motherboard synthesized sound cards offer only Win drivers, and there is no DOS driver, you can't have music when you play games.

If the game needs to be used to the CD-ROM, then you have to install the drive driver. If the appropriate CD-ROM driver is not found, you can use the universal light driver that came with Win98, there is when making the installation disk. If it is a disc version of the game, you can use FakeCD (CDX) to virtualize a disc, for example, unzip the game into a directory, such as d: / sANGuo, then run CDX D: / SANGUO / L: Z (specified Z The disk virtual is the CD of Sanguo. For details, please see CDX /? Instructions, if the game requires mouse support, you need to install mouse driver, which is commonly used in mouse.com, qmouse.com, gmouse, mmouse, etc.

If the game speed is too fast, you can adjust the game shift software such as FPE. The computer clock frequency of the old game is far from the current P4. Many old DOS games are very amazing. If they don't slow down, many things can't play, you are not a computer's opponent.

Related DOS game software

GB5, GAMEBUSTER 5.0, game gamebuster 5.0, game game, early game modification software, have a fuzzy query function, can save the game schedule, can adjust the game speed. Disadvantages are not to support, for example, a graphic DOS4GW interface system of KoEi. Press 2 Tab key to activate the interface, it is inconvenient to operate, and the input needs to be converted to 16.

FPE, whole person, than GB excellent, support DOS4GW interface, support fuzzy query (this feature is canceled in WIN version, unfortunately), can not save progress, press * activation interface, support 10 credit input. The speed is much faster than GB, recommended for use.

Getcap, game graphics, press SHIFT graph, save the disk into a GIF format, more easy to use. The disadvantage is that it is not universal, and some special interface systems cannot grasp.

Diskedit, Norton Utilities file modification tool, can modify the game archive, the specific usage is not detailed.

supplement:

1. About the game gb GB, I think it has a good place than the FPE, there are two main features that are FPE:

1. It can save the image of the current memory. This feature can be used to store the progress in some games that do not store progress functions, and this feature can also be used to save some games such as the password table, so that Turntable password table. This feature is not limited to the game. For some other DOS, some of the application software to read the secret disk, you can use GB to save the memory image after reading the secret disk, so you don't have to read the disk, but its limit is DOS startup The configuration is the same, and it is unsuccessful.

2, GB has tracking function, after finding the position of blood or health in memory, GB can track the monitoring of this address, once the program modifies this address, GB will automatically pop up the menu and send the current modified number of memory addresses. The machine code of the instruction is displayed in red. You can then automatically cancel these instructions so your game is invincible. Also, if you put a few machine code instructions displayed (preferably even the few machine code next to it), then find and modify the instruction in the game program with the tools such as PCTools. You can make an invincible game that you can run from GB yourself, this feature is also very practical.

转载请注明原文地址:https://www.9cbs.com/read-85167.html

New Post(0)