delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/01/21:44:45

From: Tero Parvinen <tero AT mnar DOT tky DOT hut DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: Mouse callback function
Date: Tue, 01 Oct 1996 22:36:41 +0200
Organization: Helsinki University of Technology
Lines: 20
Distribution: inet
Message-ID: <325180D9.7BA2BBA3@mnar.tky.hut.fi>
NNTP-Posting-Host: mnar.tky.hut.fi
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I downloaded the sample-interrupt-handlers-v2.zip from www.delorie.com
and tried to use the m_setUserFunction in mouse.s, without success.

First of all I'm not sure about the syntax because the files are not
commented, but I believe the first parameter is the address of my
callback function and the second is the condition mask.

I haven't allocated a real mode callback wrapper for my function because
the driver does this for me, if I interpreted the mouse.s source
correctly.

So the question is: How should I declare my C-function and what should I
pass as the first parameter to m_setUserFunction?

Replies via e-mail are preferred.

--
Tero Parvinen
Tero DOT Parvinen AT hut DOT fi
http://www.niksula.cs.hut.fi/~tparvine

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019