🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Nevermind... (was: Re: MS mouse, TurboPascal 5.5, Hercules (problem))

#2674
From: Eric J. Isaacson
Date: Mon, 15 Oct 1990 15:36
21 lines
1678 bytes
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... --
Technical Details
Message-ID: <isaacso.656005001@copper>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!sol.ctr.columbia.edu!cica!iuvax!copper!isaacso
References: <isaacso.656001552@copper>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!sol.ctr.columbia.edu!cica!iuvax!copper!isaacso
From: isaacso@copper.ucs.indiana.edu (Eric J. Isaacson)
Newsgroups: comp.os.msdos.programmer
Subject: Nevermind... (was: Re: MS mouse, TurboPascal 5.5, Hercules (problem))
Keywords: mouse hercules
Message-ID: <isaacso.656005001@copper>
Date: 15 Oct 90 15:36:41 GMT
References: <isaacso.656001552@copper>
Sender: news@iuvax.cs.indiana.edu
Distribution: comp
Lines: 21