Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Graphic mouse cursor on text screen

130 views
Skip to first unread message

Bart Addis

unread,
Sep 29, 1994, 1:10:43 PM9/29/94
to

Does anybody know if there is a third party library available to get the cool
cursors that most of the Symantec (dos) utilities have?

These applications run in what looks like dos text mode, but they have an
arrow shaped mouse cursor.

I think it's done by modifying the character set on the fly so that the four
cells that underlie the cursor get set to special characters which are the
same as written, except they have the appropriate mouse fragments ORed in.
Then when the mouse moves again, those four are replaced and the next four are
modified.

Anyway, I don't want to write the code, but I want my app to look like that.

The specific examples that I know of are: Dos 6.2 DEFRAG, Norton Anti Virus
(NAV), and the Norton SMARTCAN dos app.

Thanks

Dale Nurden

unread,
Oct 2, 1994, 5:20:42 PM10/2/94
to
In article <bart.11....@fast.net>, ba...@fast.net (Bart Addis) wrote:
> Does anybody know if there is a third party library available to get the cool
> cursors that most of the Symantec (dos) utilities have?
> These applications run in what looks like dos text mode, but they have an
> arrow shaped mouse cursor.

You're looking for the Precise Point mouse driver thingy. Have a look
around for a file with a name like PP111.ZIP or something. I've got that
here (except it's an ARJ file, but close enough)but there may be a later
version than 1.11 (which is what this one is). I can mail it to you if you
like, but it's about 80k compressed.

-Dale


This is my .sig.
Hope you like it.

Eric Sowers (CS)

unread,
Oct 6, 1994, 1:23:31 AM10/6/94
to
Yes, there is something that does that at FTP site:
"oak.oakland.edu:/pub/msdos/mouse/". Check the "INDEX" file.

sow...@suntan.eng.usf.edu

Jim Richards

unread,
Oct 6, 1994, 7:59:57 PM10/6/94
to
In article <bart.11....@fast.net>, Bart Addis <ba...@fast.net> wrote:
>
>I think it's done by modifying the character set on the fly so that the four
>cells that underlie the cursor get set to special characters which are the
>same as written, except they have the appropriate mouse fragments ORed in.
>Then when the mouse moves again, those four are replaced and the next four are
>modified.
>
>The specific examples that I know of are: Dos 6.2 DEFRAG, Norton Anti Virus
>(NAV), and the Norton SMARTCAN dos app.

I'm pretty sure that those utilities actually sqitch into graphics
mode and copy everyting across to the graphics screen. I have a
Hercules monocrome card (don't laugh) and it always uses the
standard # (<- a full block) cursor, and not the graphics one.

Also, you might notice that check boxes will turn into circles,
and some other nice things ...

I think what you might have to do is programme the cursor with your
own character, but it won't scroll smothly across the screen then.


--
Jim Richards, | Genasys II Pty Ltd
| 13th Level, 33 Berry St, North Sydney, NSW, Australia
| Phone: +61-2-954-0022 (-9930 FAX)
| Internet: ji...@genasys.com.au

Duncan Murdoch

unread,
Oct 7, 1994, 8:28:34 AM10/7/94
to
In article <Cx9zz...@genasys.com.au> ji...@genasys.com.au (Jim Richards) writes:

quoting someone; sorry, I lost the name:
>>The specific examples that I know of are: Dos 6.2 DEFRAG, Norton Anti Virus
>>(NAV), and the Norton SMARTCAN dos app.
>
> I'm pretty sure that those utilities actually sqitch into graphics
> mode and copy everyting across to the graphics screen. I have a
> Hercules monocrome card (don't laugh) and it always uses the
> standard # (<- a full block) cursor, and not the graphics one.

No, they use text mode with modified character set. The Herc card is unable
to modify the character set, so it uses the block cursor.

If you want to see evidence of this, look at what happens to wide characters
like 'm' when the mouse is near them. Because of the kludgy way the VGA
handles character cells, the right side of the m gets widened when the mouse
is near it.

You can get C or Pascal code to do this stuff yourself, in MOU105.ZIP. It's
available on lots of ftp sites.

Duncan Murdoch

Kilian Hekhuis

unread,
Oct 7, 1994, 7:59:21 AM10/7/94
to
In article <Cx9zz...@genasys.com.au>, ji...@genasys.com.au (Jim Richards) writes:
|> In article <bart.11....@fast.net>, Bart Addis <ba...@fast.net> wrote:
|> >
|> >I think it's done by modifying the character set on the fly so that the four
|> >cells that underlie the cursor get set to special characters which are the
|> >same as written, except they have the appropriate mouse fragments ORed in.
|> >Then when the mouse moves again, those four are replaced and the next four are
|> >modified.
|> >
|> >The specific examples that I know of are: Dos 6.2 DEFRAG, Norton Anti Virus
|> >(NAV), and the Norton SMARTCAN dos app.
|>
|> I'm pretty sure that those utilities actually sqitch into graphics
|> mode and copy everyting across to the graphics screen. I have a
|> Hercules monocrome card (don't laugh) and it always uses the
|> standard # (<- a full block) cursor, and not the graphics one.

Well, although you are "pretty sure" you are completely *WRONG*. You should
not write any postings on subjects you do not know anything about. I could
explain exactly what happens in which mode, but I don't feel like it right now.
Mail me (preferably on KHEK...@hut.nl") and I will explain.

Greetings,

Kilian Hekhuis

Paul Battersby

unread,
Oct 7, 1994, 9:10:17 AM10/7/94
to
In article <Cx9zz...@genasys.com.au>, ji...@genasys.com.au (Jim Richards) writes:
|
|> >
|> >The specific examples that I know of are: Dos 6.2 DEFRAG, Norton Anti Virus
|> >(NAV), and the Norton SMARTCAN dos app.
|>
|> I'm pretty sure that those utilities actually sqitch into graphics
|> mode and copy everyting across to the graphics screen. I have a
|> Hercules monocrome card (don't laugh) and it always uses the
|> standard # (<- a full block) cursor, and not the graphics one.
|>
|> Also, you might notice that check boxes will turn into circles,
|> and some other nice things ...
|>
|> I think what you might have to do is programme the cursor with your
|> own character, but it won't scroll smothly across the screen then.
|>
I am fairly certain that Norton does not switch into graphics mode. When I
had SideKick running in the background I ran Norton Utilities and a
"graphic" mouse cursor appeared. Using SideKick (which definitely does NOT
use graphics) I displayed the character set and saw that some of the characters
(4 to be exact) had been modified to implement the graphic cursor.

I thought I read somewhere that the Hercules card is the only one that does not
allow the user to redefine the character set. If this is true then it would
explain why you are not seeing a "graphic" mouse cursor.

Paul Battersby

David Alan Forsyth

unread,
Oct 10, 1994, 10:29:26 AM10/10/94
to
In article <Cx9zz...@genasys.com.au> ji...@genasys.com.au (Jim Richards) writes:
>From: ji...@genasys.com.au (Jim Richards)
>Subject: Re: Graphic mouse cursor on text screen
>Date: Thu, 6 Oct 1994 23:59:57 GMT

>In article <bart.11....@fast.net>, Bart Addis <ba...@fast.net> wrote:
>>
>>I think it's done by modifying the character set on the fly so that the four
>>cells that underlie the cursor get set to special characters which are the
>>same as written, except they have the appropriate mouse fragments ORed in.
>>Then when the mouse moves again, those four are replaced and the next four
>are
>>modified.
>>
>>The specific examples that I know of are: Dos 6.2 DEFRAG, Norton Anti Virus
>>(NAV), and the Norton SMARTCAN dos app.

> I'm pretty sure that those utilities actually sqitch into graphics
> mode and copy everyting across to the graphics screen. I have a
> Hercules monocrome card (don't laugh) and it always uses the
> standard # (<- a full block) cursor, and not the graphics one.

> Also, you might notice that check boxes will turn into circles,
> and some other nice things ...

> I think what you might have to do is programme the cursor with your
> own character, but it won't scroll smothly across the screen then.

It does stay in text mode - just creates a new set of text bit maps for the
characters surrounding the cursor (4 off). Do a printscreen of a Norton
display and see what characters get printed where the mouse cursor is.
For the other fancy 'graphics' characters bit maps are created too. A whole
new set of characters can be displayed by redirecting the 'video character
set' interrupt vector to your own set.

David Forsyth da...@iwr.ru.ac.za
Institute for Water Research Rhodes Unversity South Africa
----------------------------------------------------------------------
An end user, when asked to respond with a 'Y' or an 'N', invariably
presses '8'.
Karen Hooten

Kilian Hekhuis

unread,
Oct 11, 1994, 7:11:09 AM10/11/94
to

You are not completely right on this. The 'video character set' interrupt is used
only in graphics mode, not in text mode. In text mode the character map(s) are
stored in different vidmem bit planes.

Kilian Hekhuis

Michael Deegan

unread,
Oct 16, 1994, 5:58:59 AM10/16/94
to
In article <CxI9q...@cs.ruu.nl> kpvh...@koolhaas.cs.ruu.nl (Kilian Hekhuis) writes:
>In article <david.331...@iwr.ru.ac.za>, da...@iwr.ru.ac.za (David Alan Forsyth) writes:
>|> In article <Cx9zz...@genasys.com.au> ji...@genasys.com.au (Jim Richards) writes:
>|> >In article <bart.11....@fast.net>, Bart Addis <ba...@fast.net> wrote:
>|> >>I think it's done by modifying the character set on the fly so that the four
>|> >>cells that underlie the cursor get set to special characters which are the
>|> >>same as written, except they have the appropriate mouse fragments ORed in.
>|> >>Then when the mouse moves again, those four are replaced and the next four
>|> >are
>|> >>modified.
>|> >>
>|> >>The specific examples that I know of are: Dos 6.2 DEFRAG, Norton Anti Virus
>|> >>(NAV), and the Norton SMARTCAN dos app.
>|>
>|> > I'm pretty sure that those utilities actually sqitch into graphics
>|> > mode and copy everyting across to the graphics screen. I have a
>|> > Hercules monocrome card (don't laugh) and it always uses the
>|> > standard # (<- a full block) cursor, and not the graphics one.
>|>
>|> > Also, you might notice that check boxes will turn into circles,
>|> > and some other nice things ...
>|>
>|> > I think what you might have to do is programme the cursor with your
>|> > own character, but it won't scroll smothly across the screen then.

Bzzzt! Wrong! You may wish to look at these programs running on a EGA/VGA.
You will then see what we mean...Of course on VGA systems text mode
characters are *9* pixels wide (the 9th column of pixels on the rhs are
always blank, except for ASCII 192..223 where the 9th column duplicates the
8th.

>|>
>|> It does stay in text mode - just creates a new set of text bit maps for the
>|> characters surrounding the cursor (4 off). Do a printscreen of a Norton
>|> display and see what characters get printed where the mouse cursor is.

Or run the program in a window under Windoze.

>|> For the other fancy 'graphics' characters bit maps are created too. A whole
>|> new set of characters can be displayed by redirecting the 'video character
>|> set' interrupt vector to your own set.

> You are not completely right on this. The 'video character set' interrupt is used
> only in graphics mode, not in text mode. In text mode the character map(s) are
> stored in different vidmem bit planes.

Changing the font in both text and graphics modes is just a BIOS call away.
In most cases to make it stick across mode changes (eg from MODE CO80 or
graphics<->text mode) you will need to patch the int 10h function 0 handler.

[WARNING: gratuitous advertising follows] I've written a TSR what does just
that. Font files are stored separately. If you want a copy mail me and I'll
see what I can do. But this program doesn't have anything to do with
text mode arrow mouse cursors (other than software fonts) [END of gratuitous
advertising]

-------------------------------------------------------------------------------
Michael Deegan mdee...@pilot.stu.cowan.edu.au Perth, Western Australia
GCS -d+ H s+:- g+++ p0 !au a- w+(++) v@ c++ UA+ p? L !3 E? N++(+++) K- W+ M+ V-
-po+ Y t(+) !5 !j R G+(')('')('''') tv b+ D++ B? e+ u* h! f? !r>* !n !x+
-------------------------------------------------------------------------------

0 new messages