5.098 bytes

Service Hints & Tips

Document ID: DJON-3G5NX6

Aptiva - DOS games and OS/2

Applicable to: United States

When a DOS game is started from OS/2, the program C:\OS2\SYSTEM\HYBERNAT.EXE is called. It uses the CONFIG.SYS found in the game directory, along with some hard-coded information to build a C:\DOS.CFG that is used when DOS is loaded. The DOS support that is loaded uses the DOS.CFG, instead of CONFIG.SYS to establish its environment.

NOTE: If HYBERNAT.EXE is called with no parameters, it hibernates OS/2, and prompts you to power down. C-A-D
restores OS/2.

If no CONFIG.SYS file is found, the file C:\OS2\SYSTEM\CONFIG.DOS file (the dual boot DOS CONFIG.SYS) is used to
build the DOS.CFG file. Again, this path is hard coded within HYBERNAT.EXE.

The hard-coded information includes the drive and path, so it will be difficult to use the DOS_GAME support function from
any other drive.

The COMSPEC and SHELL statements in the DOS.CFG file point to C:\OS2\SYSTEM\SHELL.COM. Normally, for DOS,
COMMAND.COM is the shell. This is why BAT files don't work properly under this pseudo DOS. The game that is being
run is a parameter to SHELL.COM. The SHELL.COM program allows a return to OS/2 when the game terminates.

The CONFIG.SYS statements:
INSTALLHIGH=C:\MWD\MANAGER\DOSMGR.EXE SBP401.SCR /Q /D
INSTALLHIGH=C:\MWD\MANAGER\DOSMIDI 1
will permit MIDI support in a DOS_GAME session. Unfortunately, not all is well with this. Using the MIDI support like this
increases the game load time from the normal 10-12 seconds up to 35-45 seconds.


When MIDI music is playing, the joystick does not respond properly. Right turns do not proceed smoothly. They are
interrupted by each MIDI note played. This is true in DOS, as well as OS/2 DOS_GAME's.

One can set up a DOS game that calls COMMAND.COM. This provides a pretty good DOS environment. From there
you can load any DOS programs that you like. The EXIT command causes a return to OS/2.

Search Keywords

DOS

Hint Category

DOS/Windows 3.x, OS/2, Entertainment Software, Software Installation/Configuration

Date Created

14-04-97

Last Updated

22-03-99

Revision Date

22-03-2000

Brand

IBM Aptiva

Product Family

Aptiva

Machine Type

2144, 2168

Model

2R5; 2R7; 2R8; M30; M35; M50; 2R6; 4R7; 4R8; M40; M54; M58; 3R0; 3R8; M60; M70; 2R0; P30

TypeModel

21442R5

Retain Tip (if applicable)

Reverse Doclinks
and Admin Purposes