www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/31/03:13:23

From: Delong <dandelong AT osha DOT igs DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: having mouse driver call my function during interrupt
Date: Mon, 30 Dec 1996 23:36:38 -0500
Organization: ...
Lines: 15
Message-ID: <32C89853.729D@osha.igs.net>
Reply-To: dandelong AT osha DOT igs DOT net
NNTP-Posting-Host: ttya14.osha.igs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am trying to convert my old real-mode DOS program to DJGPP v2 and am
having trouble getting my old mouse handling function to install to the
mouse driver properly.

I tried making my function an 'interrupt' function by sticking the usual
push and pop instructions on either end of the function. Am I doing this
right?

Anyone know the procedure for this? The FAQ stuff I did find about
address conversion showed converting seg:off to linear. How do I do the
reverse properly?

Thanks, I'll stop asking stupid questions eventually :P
-- 
 ... Andrew Delong

- Raw text -


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