home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / msdos / programm / 12370 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  3.9 KB

  1. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!swrinde!network.ucsd.edu!cogsci!crl!hartung
  2. From: hartung@crl.ucsd.edu (Jeffrey P. Hartung)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: Dual monitors - Borland C++
  5. Message-ID: <1853@cogsci.ucsd.EDU>
  6. Date: 22 Jan 93 21:40:46 GMT
  7. References: <1993Jan20.123012.29125@jarvis.csri.toronto.edu>
  8. Sender: news@cogsci.ucsd.EDU
  9. Distribution: na
  10. Organization: University of California, San Diego
  11. Lines: 68
  12.  
  13. In article <1993Jan20.123012.29125@jarvis.csri.toronto.edu> parki@csri.toronto.edu (Brian Parkinson) writes:
  14. >Help !
  15. >
  16. >I am running Borland C++ with two monitors (vga and monochrome), as well
  17. >as an AAmazing mouse with a Z-nix mouse driver version 7.04d.
  18. >
  19. >The problem I have is when I run the compiler with output to vga and user
  20. >interface on mono (i.e. type bc from vga monitor).  All is well until I
  21. >enter graphics mode and come back out (using egavga.obj autodetected, with
  22. >a call to registerbgidriver), at which point the mouse is showing on the
  23. >vga monitor, but activated on the mono monitor (i.e. moving the mouse to the
  24. >top of the vga screen and pressing the button drops a menu on the mono
  25. >screen).
  26. >
  27. >Any suggestions ?
  28.  
  29. Well, I'm sure glad I have *finally* heard of this from someone else.  I have
  30. experienced some very similar problems on my (dual monitor) system.  When I
  31. start the IDE from the command line (appearing on the VGA) with the /d switch,
  32. I get the IDE on the mono and the code runs on the VGA OK.  I also get the
  33. mouse cursor on the mono monitor OK.  What does not work is that the text
  34. (underline) cursor appears on the VGA when it should be on the monochrome
  35. monitor.  It's really weird since I can move the mouse somewhere, click on
  36. some code, and watch the underline cursor on the VGA jump to the corresponding
  37. location on the VGA.  However, unlike your problem, mine occurs immediately,
  38. and does not depend on there being an initgraph().  Also, the menus and
  39. whatnot appear on the mono monitor.  Only the text cursor appears on the VGA.
  40. Under the debugger, however, everything works just fine.
  41.  
  42. Other strange things also occur.  I cannot see text written to the VGA while a
  43. program is running unless I explicitly set graphics mode 3 (80x25 text).  When
  44. I do this, The text prints white on a black background, but a clrscr() fills
  45. the monitor with the foreground color (white), rather than the background
  46. color (black).  This happens under either the debugger or the IDE.  The IDE
  47. leaves the monitor in this state until I type 'mode co80'.  The debugger
  48. apparently resets the text mode when it exits, so it does not leave the
  49. monitor in a weird state.
  50.  
  51. My setup includes a Hercules-style mono/printer card as secondary (printer
  52. port disabled), a Logitech wireless mouse on COM2,  (mouse driver is version
  53. 6.12, I believe), an Orchid Fahrenheit 1280 w/ 1 Mb as primary video (BIOS
  54. version 3.0, S386C924 chip), a ProAudio Spectrum 16 sound card, 2 diasy
  55. chained IDE hard drives, 2 serial/1 parallel/1 game card, running MSDOS 5.0
  56. and QEMM 6.0.  The shell is 4DOS 4.0.  Oh, I also have ANSI.SYS and SmartDrv
  57. (from Windows 3.1) installed.
  58.  
  59. Does any of this match with _YOUR_ hardware/software?  I had assumed that this
  60. was due to the F1280 card since I had no such problems when I had a Paradise
  61. 1024 card installed.  Orchid tells me that its card is guaranteed to work only
  62. with "a card that is incapable of going into graphics mode," but this is the
  63. only major incompatibility I have ever noticed.
  64.  
  65. >thanx in advanx,
  66. >
  67. >-- 
  68. >                    What's the point in callin' shots
  69. >Brian Parkinson                This cue ain't straight in line
  70. ><parki@csri.toronto.edu.ca>        The cue-ball's made of styrofoam
  71. >                    And no-one's got the time
  72.  
  73. Help from anyone else that might have experienced this would be _most_
  74. welcome.
  75.  
  76. -- 
  77.  --Jeff Hartung--      
  78.  Disclaimer: My opinions only, etc., etc., BLAH! BLAH! BLAH!...
  79.  InterNet - hartung@crl.ucsd.edu         BITNET - hartung@ucsd
  80.  UUCP - ucsd!crl.ucsd.edu!hartung
  81.