Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!zephyr.ens.tek.com!vice!bobb From: bobb@vice.ICO.TEK.COM (Bob Beauchaine) Newsgroups: comp.lang.pascal Subject: Re: WEIRD MOUSE CURSOR ON VGA 640X480 Message-ID: <6396@vice.ICO.TEK.COM> Date: 28 Nov 90 22:21:37 GMT References: <11573@j.cc.purdue.edu> <1990Nov28.073307.3210@bhpmrl.oz.au> Organization: Tektronix Inc., Beaverton, Or. Lines: 43 In article <1990Nov28.073307.3210@bhpmrl.oz.au> paulg@bhpmrl.oz.au (Paul Gallagher) writes: >I program using Turbo Pascal mainly, and like many people, >I have a mouse unit the handles alL >the mouse functions (via int 33h). ... >My first problem was trying to effect the link. I don't >think I ever firured it out! (can anyone enlighten me as to how it can >be done, or why it can't?) I tried binobj ---> EGA.OBJ {$L ... etc, no luck! >However, that wasn't the main concern: if you weren't supposed to >buggerize around with the EGA regs direct, then that would mean chucking >BGI out the window. Iwasn't about to do that. > No news here. If you don't have assembly source code available, Turbo Pascal is very unforgiving about linking external object code. Has to do with segment naming conventions, initialized data, etc. In other words, forget it. >(btw, have I mentioned that in all of the other - lower rez - graphics >modes the mouse was working fin, but when the same routines were tried >in EGA mode - hi or lo rez - I got no cursor at all, and the mouse thought >the screen was only 200 pixels high) > What version of the Mouse driver do you have? I have successfully programmed the mouse (mine's a Logitech) using the int 33 functions and following the guidlines shown in the MS Mouse Programmers Guide. I have had absolutely no problems with all graphics modes through VGA 640x480x16. I do understand that old versions of the mouse driver don't know about some of the later video modes, simply because they didn't exist when the driver was written. I can from personal experience verify that the MS mouse calling conventions with int 33 and BGI do work. Caution: All of the above is from memory. Since I have never had the problems you describe, the only opinion that's really worth anything is that you can get BGI and the mouse to cooperate with no hassles. I would personally check my mouse driver before I worried about your graphics card, though. Bob Beauchaine bobb@vice.ICO.TEK.COM