🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #1403

Mouse Event Handler Questions

#1403
From: John Stanback
Date: Thu, 22 Feb 1990 15:51
14 lines
1018 bytes
I'm trying to install a mouse event handler function using TurboC 1.5
with the medium memory model.  The mouse handler is installed using
INT 33, function 12.  The references I've seen to doing this use
an area in the PSP to store the mouse event status and access this
memory referencing _CS in the mouse handler.  This seems to work in
the small memory model, but not in the medium.  How can I store the
mouse event status using the medium memory model????   Also, I would
like to be able to access the programs global variables from the
mouse handler.  Is this possible???


Thanx,

John Stanback  jhs@hpfcla.HP.COM
Technical Details
Message-ID: <29630001@hpfinote.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!mit-eddie!uw-beaver!Teknowledge.COM!unix!hplabs!hpfcso!hpfinote!jhs

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!mit-eddie!uw-beaver!Teknowledge.COM!unix!hplabs!hpfcso!hpfinote!jhs
From: jhs@hpfinote.HP.COM (John Stanback)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Mouse Event Handler Questions
Message-ID: <29630001@hpfinote.HP.COM>
Date: 22 Feb 90 15:51:55 GMT
Organization: Hewlett Packard CICD
Lines: 14