🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4790

Re: Programming Problem--Microsoft Mouse

#4790
From: Dave
Date: Wed, 20 Feb 1991 00:17
32 lines
1413 bytes
sharyn@jhunix.HCF.JHU.EDU (Sharyn Elis Horowitz) writes:


>I have encountered a strange programming problem.  I redifined the graphics
>mouse cursor in my program as follows:

>mov ax,9
>mov bx,7
>mov cx,7
>mov es,SEG pattern
>mov dx,OFFSET pattern

>Those two 7's should put the "hot spot" of the graphics cursor in the center,
>seven pixels over and seven pixels down.  Works fine on every Microsoft
>compatible mouse I've tried (Logitech, Genius, et al) except one: a real
>Microsoft mouse.  Does anyone have any idea why this code works on all
>the compatibles but not the real thing?

From: Advanced MSDOS Programming p598

...In display modes 4 and 5, the horizontal offset must be an even number.


Could this be your problem?


Dave
-- 
David Frascone 				ccastdf@prism.gatech.edu
Georgia Institute of Technology,
Atlanta Georgia, 30332
Office of Information Technology--User Assistant
Technical Details
Message-ID: <22387@hydra.gatech.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!ncar!gatech!prism!ccastdf
References: <HUDGENS.91Feb17142129@sun13.sun13.SCRI.FSU.EDU> <7612@jhunix.HCF.JHU.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!ncar!gatech!prism!ccastdf
From: ccastdf@prism.gatech.EDU (Dave)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Programming Problem--Microsoft Mouse
Message-ID: <22387@hydra.gatech.EDU>
Date: 20 Feb 91 00:17:39 GMT
References: <HUDGENS.91Feb17142129@sun13.sun13.SCRI.FSU.EDU> <7612@jhunix.HCF.JHU.EDU>
Distribution: na
Organization: Georgia Institute of Technology
Lines: 32