Path: 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: <7612@jhunix.HCF.JHU.EDU> Distribution: na Organization: Georgia Institute of Technology Lines: 32 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