OS/2 2.x Device Managers (DMD) - Course OS2DD305 Logical Device Interface Layer for SCSI and other I/O interfaces Objective ====================== To expedite Independent Hardware Vendors (IHV) support of OS/2 2.x by writing device drivers (DD) to support various PC I/O devices such as CDROM, WOM, etc. Since SCSI supports multiple device types, a ladder of Device Drivers exist under OS/2 to partition I/O bus dependent code (ADD) from I/O bus-independent code (DMD). This class will identify the protocol on how to implement a Device Manager (DMD) in order to provide a uniform interface between clients and Adapter Device Drivers (ADD). Installation and debug techniques will also be covered. Target audience ====================== IBM or IHV programmers who code device drivers for logical devices such as CDROM, WOM, etc. The code developed in this module is independent of the physical connection (i.e. SCSI, proprietary) to the logical device. Attendee prerequisites ====================== a. Programming expertise: C (MASM useful) b. Knowledge of OS/2 1.x Physical DD (attend OS2DD101 or equivalent) c. Knowledge of IHV programming protocol d. Purchased development software (MASM 5.1, MSC 6.0, DDK, OS/2 2.1) Course length: 5 days Outline ====================== OS/2 Structure Device Driver types Driver Stack under OS/2 2.0 Adapter Device Driver (ADD) Filter ADD Device Manager (DM) CONFIG.SYS Installation (BASEDEV= ) Boot sequence DMD Development considerations Command line parameters Error handling IORB Control Format Device Table Structure OS2DASD.DMD example walkthrough Sample Code layout Device Driver Profiles DAK contents Organization, Build tree Tools Display test tool (DTT) Test case DLLs Lab: device driver development