HD1008: Programming the Microsoft Mouse Under MS-DOS

Last reviewed: May 1, 1997
Article ID: Q114562
6.1 7.x 8.x 9.00 MS-DOS kbfile kbdisplay kbappnote

The information in this article applies to:

  • Microsoft Mouse driver for MS-DOS, versions 6.1, 7.x, 8.x, 9.0

Microsoft has an Application Note titled "Programming the Microsoft Mouse under MS-DOS" (HD1008) that provides instructions and background information you can use when programming the Microsoft Mouse. This Application Note defines all mouse functions and covers basic requirements of all mouse aware applications and supported video modes.

You can access Microsoft Mouse functions through software Interrupt 33h. To program the mouse, your program must directly manipulate the hardware registers AX, BX, CX, and DX. You can do this with assembly language, C, Pascal, Basic, or FORTRAN. Each language has its own method of interfacing with the hardware registers; check your compiler's directions for instructions when you are manipulating registers in these languages.

You can obtain this Application Note from the following sources:

You can obtain this Application Note from the following sources:

  • Microsoft's World Wide Web Site on the Internet
  • The Internet (Microsoft anonymous ftp server)
  • Microsoft Download Service (MSDL)
  • Microsoft Product Support Services

For complete information, see the "To Obtain This Application Note" section.

TO OBTAIN THIS APPLICATION NOTE

You can find by.SEA, a self-extracting file, on the following services:

  • Microsoft's World Wide Web Site on the Internet

          On the www.microsoft.com home page, click the Support icon.
          Click Knowledge Base, and select the product.
          Enter kbfile by.SEA, and click GO!
          Open the article, and click the button to download the file.
    
  • Internet (anonymous FTP)

          ftp ftp.microsoft.com
          Change to the Softlib/Mslfiles folder.
          Get by.SEA
    
  • Microsoft Download Service (MSDL)

          Dial (425) 936-6735 to connect to MSDL
          Download by.SEA
    

For additional information about downloading, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online
               Services

  • On the Internet, Application Notes are located on the Microsoft anonymous ftp server, which you can reach by typing "ftp ftp.microsoft.com" (without the quotation marks) at the ">" command prompt. You can find HD1008.EXE in the SOFTLIB\MSLFILES directory.
  • Application Notes are available by modem from the Microsoft Download Service (MSDL), which you can reach by calling (425) 936-6735. This service is available 24 hours a day, 7 days a week. The highest download speed available is 14,400 bits per second (bps). For more information about using the MSDL, call (800) 936-4200 and follow the prompts. To obtain HD1008, download HD1008.EXE. HD1008.EXE is a compressed, self-extracting file. After you download HD1008.EXE, run it to extract the file(s) it contains.
  • If you are unable to access the source(s) listed above, you can have this Application Note mailed to you by calling Microsoft Product Support Services Monday through Friday, 6:00 A.M. to 6:00 P.M. Pacific time at (425) 635-7040. If you are outside the United States, contact the Microsoft subsidiary for your area.


  • KBCategory: kbfile kbdisplay kbappnote
    KBSubcategory:
    Additional reference words: appnote 6.1 7.x 8.x 9.00 mice mouse program int
    int33 wintapi
    Keywords : kbappnote kbdisplay kbfile
    Version : 6.1 7.x 8.x 9.00
    Platform : MS-DOS


    THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

    Last reviewed: May 1, 1997
    © 1998 Microsoft Corporation. All rights reserved. Terms of Use.