OS2DD201 - OS/2 Virtual Device Driver (VDD)

From OS2World.com Wiki
Jump to: navigation, search

Contents

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:

  • Programming expertise: C, (MASM useful)
  • Have written device drivers/utilities for OEM hardware (DOS device drivers, ROM BIOS, test utilities)
  • Knowledge of OS/2 Physical Device Drivers (recommend attendance at OS2DD101 workshop
  • 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:

  • OS/2 Structure
    • Device Driver types
  • Virtual Device Drivers
    • MVDM - Definition/overview
    • VDH - Virtual DevHlp
    • Event trapping: Interrupt, Port
    • Memory management
    • VDM initialization (Instance, global)
    • Synchronization with system events
  • Utilities, debuggers
    • Compiler, Assembler, Linker usage
    • Symbol Generation (MAPSYM)
    • Kernel Debugger (KDB)
  • DDK contents
    • Organization, Build tree, sample code
  • Debug procedures
  • Laboratory: Develop OEM Virtual Device Driver

Download

  • N/A