22.008 bytes

Service Hints & Tips

Document ID: PMYS-3THH6Q

IBM PC - DOS/Windows 3.x preload CD-ROM installation guide

Applicable to: World-Wide

I. Installing an IBM IDE CD-ROM for DOS / Windows (DOS Version 3.3 or later)

1. Insert the device driver diskette (IBMIDECD.EXE) provided with your CD-ROM drive into drive A.

2. At a DOS prompt, type A:UINSTALL and press Enter.

3. Follow the instructions on the screen. UINSTALL prompts you for the source and target drives and displays a menu of installation options, which are described below. Each installation option has a help menu. Install one or more of the options as appropriate for your computer.

4. Exit from the program, remove the diskette from drive A, and restart the computer (press Ctrl+Alt+Delete).

Options:
- Install IDE CD-ROM DOS/Windows Support Software
Select this option to install the basic software that supports the IBM IDE CD-ROM drive in DOS computers.

- Update for SMARTDRV 4.0
Select this option if you are using SMARTDRV 4.0. To display the version number, at a DOS prompt, change to the directory that contains SMARTDRV.EXE, type SMARTDRV ?, and press Enter.

- DOS 6.2+ - Update for SMARTDRV/PhotoCD
Select this option if you have MS-DOS 6.2 or PC-DOS 6.3 and you want to use Kodak PhotoCD or other multisession CDs in your computer.

- Win 3.0+ - 32 Bit Disk Driver/Primary IDE Port
Select this option if you installed the IBM IDE CD-ROM drive on the primary IDE controller (or on the only IDE controller in a single-controller computer) and you are using Windows.

II. Installing a Non-IBM CD-ROM Drive under DOS Version 3.3 or Later with Windows

If your IDE CD-ROM drive comes with installation software, insert the diskette into drive A, and follow the instructions included with the drive. If you do not have installation instructions for your non-IBM IDE CD-ROM drive, you can try using the instructions in section 1.0 (above) for IBM IDE CD-ROM drives to troubleshoot problems with your non-IBM CD-ROM drive installation.

III. Installing the CD-ROM Drive Device Driver without an Installation Diskette

Attention: These instructions involve modifying your CONFIG.SYS and AUTOEXEC.BAT files. Make a backup copy of each of these files before following this procedure.

If you do not have an installation diskette that automatically installs the IDE CD-ROM drive device drivers and updates your system files, follow these instructions to manually install the IDE CD-ROM drive device drivers for DOS with Windows:

1. Obtain the device driver for the CD-ROM drive.

2. Copy the device driver to the root directory of your hard disk (at a DOS prompt, type COPY drivername C: and press Enter.)

3. Edit your CONFIG.SYS file and add the following line to the end of the file:

DEVICE = C:\path\IBMIDECD.SYS /D:drivername /P:i/o address

Where C:\path\ is the directory where IBMIDECD.SYS is located, drivername is the device driver supplied with your CD-ROM drive, and i/o address is the I/O address of your CD-ROM drive.

4. If you have a LASTDRIVE= statement in your CONFIG.SYS file, set LASTDRIVE equal to Z. If you do not have a LASTDRIVE= statement in your CONFIG.SYS file, add the following line below the STACKS= statement:

LASTDRIVE = Z

Here is a sample CONFIG.SYS file:

FILES=30
BUFFERS=10
DOS=HIGH
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\WINDOWS\SMARTDRV.EXE\DOUBLE_BUFFER
STACKS=9,256
LASTDRIVE=Z
DEVICE=C:\WINDOWS\IFSHLP.SYS
DEVICE=C:\CDDRV\IBMIDECD.SYS /D:MSCD001 /P:220

5. Edit your AUTOEXEC.BAT file and add the following line:

C:\path\MSCDEX.EXE /D:drivername /V /M:15 /L:driveletter

Where C:\path\ is the directory where MSCDEX.EXE is located, drivername is the device driver supplied with your IDE CD-ROM drive, and driveletter is the drive letter you want assigned to your CD-ROM drive.

Here is a sample AUTOEXEC.BAT file:

C:\WINDOWS\SMARTDRV.EXE /L /X
@ECHO OFF
SET PATH= \C:\WINDOWS; C:\DOS
SET TEMP=C:\DOS
C:\DOS\MOUSE.COM
C:\DOS\DOSKEY.COM
C:\CDDRV\MSCDEX.EXE /D:MSCD001 /V /M:15

IV. Customizing the IDE CD-ROM Drive Device Driver

Attention: These instructions involve modifying your CONFIG.SYS and AUTOEXEC.BAT files. Make a backup copy of each of these files before following this procedure.

You might need to customize the setup installed by the UINSTALL program. This section describes the parameters that you can use to customize your software.

Device Driver (IBMIDECD.SYS) Parameters:
Most computers function adequately with the default settings. However, you can change the following parameters if necessary. Use a text editor to modify the appropriate line in your CONFIG.SYS file.

In the CONFIG.SYS file, the syntax of the statement for the IBMIDECD.SYS device driver is as follows:

DEVICE=[drive:][path]IBMIDECD.SYS /D:device name[/P:xxx,yy][/A:n][/U:n] [/L:xx][/T:n][/I:n]
The parameters are as follows:

[drive:][path]IBMIDECD.SYS
This paramter specifies the location (drive and directory) and name of the device driver file.

/D:device name
This parameter specifies the device name of the CD-ROM drive. This name must be identical to the device name specified in the MSCDEX.EXE parameters (for example, DEVICE=C:\IBMIDECD.SYS /D:IBMCD100).

[/P:xxx,yy]
This parameter specifies the address and interrupt level of the controller to which the IDE CD-ROM drive is connected. The device driver automatically checks the industry-standard primary IDE controller (address 1F0, Interrupt 14) and secondary IDE port (address 170, Interrupt 15). The /P parameter is not needed if your CD-ROM drive is on either of these controllers. However, if your computer (or IDE adapter) uses different IDE controller addresses or interrupts, you must use this option. Refer to the instructions that come with your computer or IDE adapter to understand how your computer or adapter is configured.

xxx is the base address of the IDE controller:
xxx = 1F0 - Primary (port 1)
= 170 - Secondary (port 2)
= 1E8 - Port 3
= 168 - Port 4

yy is the interrupt (IRQ) level:
yy = 14 - Primary (port 1)
= 15 or 10 - Secondary (port 2)
= 12 or 11 - Port 3
= 10 or 9 - Port 4

For example, if eight drives are connected, the statement in the CONFIG.SYS file is:

DEVICE=C:IBMIDECD.SYS /D:IBMCD100 /P:1F0,14 /P:170,15 /P:1E8,12 /P:168,10

[/A:n]
This parameter specifies the audio play mode. For a stereo CD, /A:0 or /A:1 is acceptable. For a monaural CD (left or right channel only), /A:1 plays the monaural audio signal from both the right and left channels. The default value of n is 0.

[/U:n]
This parameter determines whether the CD-ROM drive tray is locked or unlocked when the device driver is initialized. /U:0 is "unlock." /U:1 is "lock." The default value of n is 0. You can use this parameter to secure a CD in the drive.

[/L:xx]
This parameter specifies the message language. The supported languages are:
xx = US - English (the default)
= GR - German
= FR - French
= SP - Spanish
= IT - Italian
= JP - Japanese

[/T:n]
This parameter specifies that the device driver will initialize with time delays built into the IDE read loop. Use this parameter only if your computer does not support the IOCHRDY signal on the IDE bus and reads from the IDE controller faster than the CD-ROM drive can provide data. This is an uncommon situation; this parameter is not be required in most computers. The value of n is a timing parameter relative to microprocessor speed. Valid values of n are 0 through 99. The larger the value of n, the more slowly the device driver transfers data. The default value of n is 0; if n is 0, the /T parameter is not required.

[/I:n]
This parameter enables interrupt sharing. If n is 1, interrupt sharing is enabled. If n is 0, interrupt sharing is disabled. The default value of n is 0. Enable this parameter if the IDE interrupt must be shared with another device. For example, a PS/2 model 9577 computer with IDE can share Interrupt 14 with the IBM SCSI Adapter /A.

Microsoft CD-ROM Extensions (MSCDEX) Parameters:
Microsoft CD-ROM Extensions (MSCDEX.EXE) is a program that works in conjunction with the IDE CD-ROM drive device driver (IBMIDECD.SYS) to allow your computer to access CD-ROMs as if they were DOS-formatted disks. MSCDEX is specifically designed to work with DOS and Windows. UINSTALL automatically adds an MSCDEX statement to your AUTOEXEC.BAT file. You can change the following MSCDEX parameters to customize your installation. Use a text editor to modify the MSCDEX statement in your AUTOEXEC.BAT file.

In the AUTOEXEC.BAT file, the syntax of the MSCDEX.EXE statement is:

[drive:][path]MSCDEX.EXE /D:device name[/M:n][/E][/V][/L:drive letter][/K][/S]

The parameters are as follows:

[drive:][path]MSCDEX.EXE
This parameter specifies the location (drive and directory) of the MSCDEX.EXE file.

/D:device name
This parameter specifies the name of the CD-ROM drive (eight characters maximum). This name must be identical to the device name specified in the device driver in the CONFIG.SYS file (for example, C:\MSCDEX.EXE /D:IBMCD100).

You can support multiple CD-ROM drives (of different types) by installing each of their device drivers (naming them different names) and placing a /D:device name parameter in the MSCDEX line for each different drive. For example, to support an IBM IDE CD-ROM drive and an IBM SCSI CD-ROM drive, your CONFIG.SYS file would have these statements:

DEVICE=C:\IBMIDECD.SYS /D:IDE_CD
DEVICE=C:\IBMCDROM.SYS /D:SCSI_CD

and your AUTOEXEC.BAT file would have this statement:

C:\MSCDEX /D:IDE_CD /D:SCSI_CD

[/M:n]
This parameter specifies the number of sector buffers for temporary storage of the most recent CD-ROM data. For example, to specify 12 sector buffers, you would use:

C:\MSCDEX.EXE /D:IBMCD100 /M:12

UINSTALL sets the value of n to 10. If this parameter is not specified, the default is 4 sector buffers.

Note: The greater this value, the better the CD-ROM drive will perform. However, each buffer uses about 2 KB of memory, and specifying too many buffers might slow down your computer or interfere with other programs that have large memory requirements. Using expanded memory (see the /E parameter in this section) or loading MSCDEX.EXE into high memory (refer to your MS-DOS user manual or Memory Manager user manual) might allow you to specify a larger number of sector buffers to enhance CD-ROM performance without adversely affecting programs that have large memory requirements.

[/E]
This parameter instructs the computer to use expanded memory, if available (for example, C:\MSCDEX.EXE /D:IBMCD100 /E).

Note: You must first load an expanded memory device driver before using this option. If no expanded memory device driver is loaded, the following error message appears:

Expanded Memory not present or not usable.

[/V]
This parameter instructs the computer to display a summary of RAM allocation and expanded memory usage at startup.

[/L:drive letter]
This parameter specifies the drive letter to be assigned to the first CD-ROM drive. Do not assign a letter already used by an existing drive or your computer will be unable to access the CD-ROM drive. For example, you might use:

C:\MSCDEX.EXE /D:IBMCD100 /L:F

DOS automatically assigns the CD-ROM drive to the next available drive letter after the diskette drives, hard disk drives, and other drives. Therefore, you need to use this option only to assign a drive letter beyond the next available drive letter.

[/K]
This parameter instructs MSCDEX to use Kanji (Japanese) file structures, if present, rather than the default alphanumeric file structures.

[/S]
This parameter instructs MSCDEX to allow sharing of CD-ROM drives on networked systems.

Conserving DOS Conventional Memory
If the CD-ROM drive device driver is loaded in DOS conventional memory (below 640 KB), there might be insufficient memory to run some DOS applications. The UINSTALL program attempts to load the IDE CD-ROM drive device driver and MSCDEX into upper memory, when possible, to avoid this problem.

See the following topics in your DOS user's guide for more information on techniques to conserve conventional memory:

- DOS=UMB, DOS=HIGH,UMB
This CONFIG.SYS statement loads DOS high and enables the use of upper memory. This is essential to effectively load MSCDEX and the IDE CD-ROM device driver in upper memory.

- HIMEM.SYS (CONFIG.SYS statement)
This statement calls a device driver that manages extended memory (memory above 1 MB). Windows automatically loads this device driver.

- EMM386.EXE (CONFIG.SYS statement)
This statement calls a device driver that allows the extended memory to be made available by HIMEM.SYS to be used as expanded memory. You can use the MSCDEX /E parameter in conjunction with this device driver to move the cache allocated by MSCDEX into this memory, thus freeing some conventional memory.

- MEM /DEBUG
Use this DOS utility program to display your computer's current memory allocation to help you understand where device drivers and programs are located. At a DOS command prompt, type MEM /DEBUG and press Enter.

Enhancing CD-ROM Drive Performance
You can use the follow methods to enhance CD-ROM drive performance in your computer:

- Allocate more MSCDEX cache (see the /M parameter mentioned previously in this document).

- Allow SMARTDRV to cache CD-ROM accesses. Caching is disabled by the DOS 6.2+ - Update for SMARTDRV/PhotoCD installation option to allow the use of multisession CDs, which are not compatible with the SMARTDRV caching method. If you do not plan to use multisession CDs, you can reenable caching by removing the /U parameter from the SMARTDRV statement in your AUTOEXEC.BAT or CONFIG.SYS file. This might improve the performance of some CD-ROM applications. You must have SMARTDRV 5.0 or later to cache CD-ROM data.

Using the IDE CD-ROM Drive in a Network
If you are using the IDE CD-ROM drive in a DOS network server, you must make the following changes:

- Add the /S parameter to the MSCDEX statement in the AUTOEXEC.BAT file (see section 4.2).

- Ensure that the MSCDEX statement is located after the statement that loads the network services (NET START for the IBM PC LAN program).

- Do one of the following, depending on your operating system:
- If you are using DOS 3.3, install the PC Local Area Network (LAN) Program Corrective Service Diskette level IP00755 or later.
- If you are using DOS 4.0, install the DOS Corrective Service Diskette level UR 29015 or later.

Note: The computer cannot be configured as an extended services domain controller for the IBM PC LAN program. Contact your IBM reseller or IBM marketing representative for more information about the PC LAN Program Corrective Service Diskette or the DOS Corrective Service Diskette.

Search Keywords

Hint Category

CD-ROM Drives, Hardware Installation/Configuration

Date Created

13-04-98

Last Updated

25-02-99

Revision Date

25-02-2000

Brand

IBM PC

Product Family

PC 100, PC 140, PC 300GL, PC 300XL, PC 300PL, PC 330, PC 340, PC 350, PC 360, PC 365, PC 730, PC 750, PS/2, ValuePoint

Machine Type

6271, 6281, 6260, 6272, 6282, 6284, 6561, 6591, 6588, 6562, 6592, 6862, 6892, 6571, 6573, 6575, 6576, 6577, 6560, 6581, 6583, 6585, 6586, 6587, 6598, 6589, 6875, 6876, 6877, 6885, 6886, 6887, 8530, 8535, 8540, 8550, 8555, 8556, 8557, 8560, 8565, 8570, 8573, 8580, 8590, 8595, 9533, 9553, 9556, 9557, 9576, 9577, 9590, 9595, 6381, 6382, 6384, 6387, 6472, 6482, 6484, 6492, 6494

Model

Various

TypeModel

Retain Tip (if applicable)

Reverse Doclinks
and Admin Purposes