home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / ibm / pc / programm / 349 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  2.2 KB

  1. Xref: sparky comp.sys.ibm.pc.programmer:349 comp.sys.ibm.pc.hardware:22367
  2. Newsgroups: comp.sys.ibm.pc.programmer,comp.sys.ibm.pc.hardware
  3. Path: sparky!uunet!caen!hellgate.utah.edu!peruvian.utah.edu!msmith
  4. From: msmith%peruvian.utah.edu@cs.utah.edu (Matthew Smith)
  5. Subject: Re: Mouse Cursor
  6. Date: 21 Aug 92 09:50:13 MDT
  7. Message-ID: <1992Aug21.095014.5549@hellgate.utah.edu>
  8. Organization: University of Utah CS Dept
  9. References: <Bt2J9u.2t4@ecf.toronto.edu> <1992Aug21.012808.14991@news.cs.brandeis.edu>
  10. Distribution: usa
  11. Lines: 44
  12.  
  13. In article <1992Aug21.012808.14991@news.cs.brandeis.edu> dernis@binah.cc.brandeis.edu writes:
  14. >In article <Bt2J9u.2t4@ecf.toronto.edu>, dhaliwa@ecf.toronto.ed
  15. >u (DHALIWAL BIKRAM SINGH) writes:
  16. >>I am having 
  17. >>trouble with the computer drawing lines over the cursor.  I will draw a
  18. >>line but when I move the cursor away, the line goes away.  
  19. >>
  20. >I am having a similar problem with the text cursor.  When I write
  21. >under the cursor, either with BIOS or directly, moving the mouse, reveals 
  22. >what was previously there.  Also scrolling with BIOS moves the mouse
  23. >cursor, actually makes a copy deleting the cursor which appears when
  24. >I move the mouse.
  25. >
  26. >It has occured to me that interrupt0x33function 0x0B, can be used with
  27. >int 0x33 function 0x03, to write my own routines to control the
  28. >cursor myself.  But I would have to poll it constantly, and intercepting
  29. >int 0x21 wouldn't help because than I would have to write the whole
  30. >driver from scratch.  So the function would just have to have a 
  31. >polling loop.
  32. >
  33. >The same solution would work with a graphics cursor, but so much work to
  34. >implement!
  35. >
  36. >Does someone know if there is an easier way?
  37. >
  38. >HELP!!!!
  39. >Thanks,
  40. >Mitch Dernis
  41. >
  42. >
  43. The easiest way is to turn off the mouse cursor before writing anything to 
  44. the screen.  You either have to integrate your screen display routines with
  45. your mouse routines, or do it the hard way and manually turn off the mouse
  46. cursor every time you write to the screen.
  47.  
  48. >
  49. >>..............................................
  50. >>: Bikram Dhaliwal (dhaliwa@civ.toronto.edu) : 
  51. >>: Oakville        (dhaliwa@ecf.toronto.edu) :
  52.  
  53.  
  54. Matt Smith
  55. msmith@peruvian.utah.edu
  56. Student - University of Utah Department of Computer Science
  57.