OS2DD305 - OS/2 Device Manager/Filter (DMD/FLT)

From OS2World.Com Wiki
Revision as of 00:10, 21 February 2016 by Tomh (talk | contribs) (Created page with "Course OS2DD305 '''Objective''' This five day workshop will enable programmers to write a Device Manager Driver (DMD). A DMD enables the logical support of a particular de...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Course OS2DD305

Objective

This five day workshop will enable programmers to write a Device Manager Driver (DMD). A DMD enables the logical support of a particular device type (such as hard disks, CDROM, printers, scanners, etc). A filter enables added value software such as disk encryptors or compression.

This workshop will identify the protocol on how to implement a DMD or FLT to provide a uniform interface to its clients (Adapter Device Drivers (ADD). Installation and debug techniques will also be covered. The OS/2 Developer Connection Device Driver Kit (Devcon-DDK) will be used extensively in order to build and test the Device Manager (DMD), and filter (FLT).

Target audience

IBM or IHV programmers who code device drivers for logical devices such as CDROM, WORM, etc. The code developed in this module is independent of the physical connection (i.e. SCSI, proprietary) to the logical device.

Attendee prerequisites

o Programming expertise: C (MASM useful)

o Knowledge of OS/2 Physical Device Driver (attend OS2DD101 or equivalent)

o Knowledge of IHV programming protocol

o Attendee must be a licensee of the following software:

 - OS/2 2.x, OS/2 Warp 
 - Developer Connection Device Driver Kit (Devcon-DDK) 
 - MSC 6.0 

Outline

o OS/2 Structure o Device Driver types o Driver Stack under OS/2 2.0

 - Adapter Device Driver (ADD) 
 - Filter ADD 
 - Device Manager (DM) 

o CONFIG.SYS

 - Installation (BASEDEV= ) 

o Boot sequence o DMD Development considerations

 - Command line parameters 
 - Error handling 

o IORB

 - Control 
 - Format 

o Device Table Structure o OS2DASD.DMD example walkthrough

 - Sample Code layout 

o Device Driver Profiles o DDK contents

 - Organization, Build tree, Tools 
 - Display test tool (DTT) 
 - Test case DLLs 

o Lab: Device Manager development