Article View: comp.os.msdos.programmer
Article #1979Using mice with C w/o machine language
From: Gene E. Johannsen
Date: Thu, 23 Aug 1990 21:50
Date: Thu, 23 Aug 1990 21:50
7 lines
715 bytes
715 bytes
As we all know, in order to have the computer do something when a mouse button is pressed, a vector has to be set up by using an interrupt. This vector has to be in the es:dx registers when this interrupt is called. How in a C program can I make these registers point to a C routine? gene@uokmax.ecn.uoknor.edu
Technical Details
Message-ID:
<1990Aug23.215002.8771@uokmax.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!uokmax!geneShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!uokmax!gene From: gene@uokmax.uucp (Gene E. Johannsen) Newsgroups: comp.os.msdos.programmer Subject: Using mice with C w/o machine language Message-ID: <1990Aug23.215002.8771@uokmax.uucp> Date: 23 Aug 90 21:50:02 GMT Organization: Engineering Computer Network, University of Oklahoma, Norman, OK Lines: 7