Re: [Freedos-user] int 33 problem.

2012-02-14 Thread Tom Ehlert
Hallo Herr kurt godel,

am 13. Februar 2012 um 04:03 schrieben Sie:

 Am writing a C program which makes use of int33h; using union
 regs/int86.Trouble is there is a subfunction to initialize the mouse, but I
 see none to terminate it. The problem is that when the C
 program terminates, the mouse stays on, at least for a time(like a tsr).

INT 33 - MS MOUSE v1.0+ - HIDE MOUSE CURSOR
AX = 0002h
Note:   multiple calls to hide the cursor will require multiple calls to
  function 01h to unhide it.


 Once in a great while, I tap the mouse button when this happens, and then I
 can't even reinitialize the mouse. Then have
 to do a reboot(soft). Is there a slick way to terminate the mouse before
 leaving the C program? Richardwb2...@gmail.com.

only guessing. after using

INT 33 - MS MOUSE v1.0+ - DEFINE INTERRUPT SUBROUTINE PARAMETERS
AX = 000Ch
CX = call mask (see #03171)
ES:DX - FAR routine (see #03172)


you should terminate with

  CX=0




Mit freundlichen Grüßen/Kind regards
Tom Ehlert
+49-241-79886


--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] int 33 problem.

2012-02-12 Thread kurt godel
Am writing a C program which makes use of int33h; using union
regs/int86.Trouble is there is a subfunction to initialize the mouse, but I
see none to terminate it. The problem is that when the C
program terminates, the mouse stays on, at least for a time(like a tsr).
Once in a great while, I tap the mouse button when this happens, and then I
can't even reinitialize the mouse. Then have
to do a reboot(soft). Is there a slick way to terminate the mouse before
leaving the C program? Richardwb2...@gmail.com.
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user