Microsoft KB Archive/37084

MSJ MDMDRV: Building and Debugging an MS-DOS Device Driver

PSS ID Number: Q37084 Article last modified on 04-16-1991

MS-DOS | OS/2

Summary: The following is a summary of the MDM_DRV program found in the “Microsoft Systems Journal” and in the Software/Data Library: Issue: November 1987, Vol. 2, No. 5, Pages 51-65 Title: “A Strategy for Building and Debugging Your First MS-DOS Device Driver” Author: Ross M. Greenberg Keyword: MDMDRV MDMDRV can be found in the Software/Data Library by searching on the keyword MDMDRV, the Q number of this article, or S10008. MDMDRV was archived using the PKware file-compression utility. MDM_DRV.ASM is a Macro Assembler program that demonstrates a strategy for building and debugging an MS-DOS modem device driver. It serves as a rudimentary communications program, including Xmodem/checksum protocol transfers. Although it expects to see another copy of itself on the other end of a transfer (through a modem or hard-wire connection), the program can download files from a variety of bulletin boards and conferencing systems. The following text is taken from the cover of the “Microsoft Systems Journal”: At first glance, writing device drivers might seem to be a tricky and confusing venture. Using the prototype communications program MDM_DRV as a model, this article explains how to write a character device driver and suggests some useful debugging tips and techniques.

Additional reference words: o_msdos 3.00 3.10 3.20 3.21 3.30 3.30a 4.00