OS2DD304 - Pointer Device Drivers

From OS2World.Com Wiki
Revision as of 03:36, 21 February 2016 by Martini (talk | contribs) (Created page with "==Description== This workshop enables programmers to write pointer device drivers to enable pointing devices, such as mice, trackballs, touch screens, light pens, tracking pen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This workshop enables programmers to write pointer device drivers to enable pointing devices, such as mice, trackballs, touch screens, light pens, tracking pens, and Braille pads, to be used with OS/2 2.x by OS/2, DOS, and Windows (TM) applications. This class describes how to communicate with other device drivers and the kernel using the DevHlp interface. Installation and debug techniques are also covered. The OS/2 Device Driver Kit (DDK) is used extensively to build and test the pointer device driver.

The target audience is IBM or IHV programmers who code device drivers for pointer devices such as mice, pens, etc.

Outline

  • OS/2 structure
  • Device driver types
  • Pointer device driver model
    • Character
    • Elements: physical, virtual
    • Device-dependent code versus device-independent code
    • Swappable / resident
    • Physical versus logical
    • FG / BG / detached request processing
  • Required functions
    • Collision check
    • Pointer positioning logic
    • Queue processing
  • IOCtl support
  • Request handler structure
  • Error handling
  • IDC to other modules
  • Monitor processing
  • Lab: Developing OEM pointer device drivers

Prerequisites

  • Programming expertise in C and Macro Assembler
  • Have written device drivers / utilities for OEM hardware (DOS device drivers, ROM BIOS, test utilities)
  • Have purchased development software (OS/2 2.1, OS/2 DDK, Microsoft C Compiler 6.0)
  • Knowledge of OS/2 2.x PDDs (attendance at workshop OS2DD101 recommended)

Download

  • N/A