Category : Recently Uploaded Files
Archive   : INFOPACK.ZIP
Filename : EXAMPLE.TXT
Installation
This example driver is for use on an AT style bus with most of Hitachi's drives and controllers except their SCSI devices (CDR-3650). The device driver is installed in the same way as any other device, with an entry in CONFIG.SYS. The syntax of this entry is:
DEVICE=
where the arguments are:
/D:
/N:
/P:
/C:
Building the Driver
The source files and the makefile you need to build the driver are in the HITACHIA directory on the SUP: disk. The tools (MASM 5.1, etc.) are in BIN directory of the TOOLS: disk. The files needed to build the driver include:
MAKEFILE The makefile to build the driver.
MSCDEX.ASM This file is device independent and can be used by a device driver with no changes. It contains all the entry points for the commands that a MSCDEX CD-ROM device driver is expected to handle. Some commands, and certain device independent data, are handled without actually calling the device dependent code in CD.ASM.
CD.ASM This file contains device dependent code for all the entry points defined in MSCDEX.ASM. These routines start with the letters "cdrom_", and have explicitly defined entry and exit conditions. A device driver should use this file as a starting point by replacing the Hitachi implementation with the necessary device dependent code to perform the equivalent functions, and carefully adhering to the indicated entry and exit conditions.
MSCDEX.INC This is an include file for MSCDEX.ASM and CD.ASM with useful definitions for command structures, error codes, and the status word.
MACROS.MAC This is an include file for MSCDEX.ASM and CD.ASM with useful macro definitions to make the code easier to read.
CD.INC This is an include file for CD.ASM defining names for the low-level driver commands provided in CDREAD.ASM.
CDREAD.ASM This file contains the function CDREAD() which has about 26 sub-functions to perform various low level driver commands.
CDREAD.AT This is an include file for CDREAD.ASM defining various port addresses, control codes, and other defines.
CDREAD.DOC This file documents the entry and exit conditions for the sub-functions provided by CDREAD().
ECC.ASM This file contains the routine to do the last level of error correction in the event the Cross Interleave Reed-Solomon Code implemented in the drive is not able to correct a read error. For performance considerations it is recommended that this level of error correction also be done on the drive.
TRACER.ASM This file is linked if the DEBUG label is defined in the MAKEFILE. It defines WriteAux which directs messages to the serial port.
CMACROS.INC This is an include file used by TRACER.ASM, and defines various constructs to improve readability and ease writing of assembly code.
Example Device Driver - Microsoft MS-DOS CD-ROM Extensions Version 2.20
Example Device Driver Description - Copyright (C) Microsoft Corp. 1990. All rights reserved - page {page|2}
Microsoft MS-DOS CD-ROM Extensions
Example Device Driver
15 August 1990
Example Device Driver Description - Copyright (C) Microsoft Corp. 1990. All rights reserved - page {page|1}
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/