[comp.os.msdos.programmer] Nevermind...

isaacso@copper.ucs.indiana.edu (Eric J. Isaacson) (10/15/90)

isaacso@copper.ucs.indiana.edu (Eric J. Isaacson) writes:

>I am adding mouse routines to an existing application.  This
>appication is written in TurboPascal 5.5 and runs in graphics
>mode--EGA, VGA, or Hercules.  Using the standard SetGraphicsCursor
>routine (listed below), I can successfully get a cursor in EGA and
>VGA.  But the Hercules cursor looks like it's being mapped to memory
>all wrong--actually, as looks as if the mouse was using the text
>cursor instead of the graphics cursor.  This hunch is reinforced by
>the fact that the x and y coords of the mouse move in increments of 8.
>My guess is that the mouse driver isn't getting word of the shift to
>graphics mode (I've got a Logitech mouse with driver 4.10).

A trip to the bookstore revealed the solution.  You've got to put
$06 into memory location $0040:$0049.  Works like a charm.  Thanks
to all who would have responded.

Eric J. Isaacson (the other)      Internet: isaacso@ucs.indiana.edu
School of Music--Indiana Univ.   NeXT Mail: isaacso@bartok.music.indiana.edu
Bloomington, IN  47405          -- I am NOT the author of A86 and other    --
(812) 855-7832(o)/333-1827(h)   -- outstanding software...I wish I were... --