OS2DD201 - OS/2 Virtual Device Driver (VDD)

From OS2World.Com Wiki
Revision as of 23:54, 20 February 2016 by Tomh (talk | contribs) (Created page with "Course OS2DD201 - OS/2 Virtual Device Drivers (VDD) '''Objective''' This five day workshop will enable programmers to write OS/2 virtual device drivers (VDDs). A VDD enabl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Course OS2DD201 - OS/2 Virtual Device Drivers (VDD)

Objective

This five day workshop will enable programmers to write OS/2 virtual device drivers (VDDs). A VDD enables multiple DOS applications to share hardware.

This workshop will identify the protocol of how the VDD communicates with the OS/2 kernel and DOS session manager using Virtual Device Helper (VDH) services. 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 VDD.

Target audience:

IBM or OEM programmers who code device drivers for PC hardware, such as serial and parallel, SCSI interfaces, and custom interfaces.

Attendee prerequisites:

o Programming expertise: C, (MASM useful)

o Have written device drivers/utilities for OEM hardware (DOS device drivers, ROM BIOS, test utilities)

o Knowledge of OS/2 Physical Device Drivers (recommend attendance at OS2DD101 workshop

o Attendee must be a licensee of the following software:

 - OS/2 2.1, OS/2 Warp 
 - Developer Connection Device Driver Source Kit (DDK) 
 - MSC 6.0 

Outline:

o OS/2 Structure

 - Device Driver types 

o Virtual Device Drivers

 - MVDM - Definition/overview 
 - VDH - Virtual DevHlp 
 - Event trapping: Interrupt, Port 
 - Memory management 
 - VDM initialization (Instance, global) 
 - Synchronization with system events 

o Utilities, debuggers

 - Compiler, Assembler, Linker usage 
 - Symbol Generation (MAPSYM) 
 - Kernel Debugger (KDB) 

o DDK contents

 - Organization, Build tree, sample code 

o Debug procedures

o Laboratory: Develop OEM Virtual Device Driver