#442 mouse graphics cursor problem

None
closed
nobody
None
5
2013-01-29
2012-07-06
Eric Larouche
No

The mouse cursor in graphics mode doesn't quite work for BIOS video modes 11h (VGA mono)
and 13h (VGA 256-colors) with a mouse grab in a DOSEMU X Window.
The mouse pointer behaves as if there is an artificial clipping zone in the vertical direction:
It's invisible for the most part of the window.. In mode 13h, the pointer is missing pixels as well.
Strangely enough, other video modes work perfectly

The bug can be reproduced with the attached DOS test program (gcursor).
The program needs to be given the video mode in argument (hex) on the cmdline.
Examples: "gcursor 0x11", or "gcursor 0x13".

Discussion

  • Eric Larouche
    Eric Larouche
    2012-07-06

    DOS test program

     
    Attachments
  • Eric Larouche
    Eric Larouche
    2012-07-20

    I made a small change to the DOS test program (see new version attached).
    If the text output is suppressed, the CGA modes (modes 4h-6h) don't work either:
    the mouse cursor doesn't move. EGA and VGA 16-colors are ok though.
    It seems that the clipping effect is related to text output.

     
  • Eric Larouche
    Eric Larouche
    2012-07-20

    DOS test program without text output

     
    Attachments
  • Eric Larouche
    Eric Larouche
    2013-01-29

    This bug is now corrected. By git bisection, I found that
    commit 4823138 (Don't use the alias map for vgaemu memory)
    solved the mouse cursor problem. Then, this ticket should be closed.

     
  • Stas Sergeev
    Stas Sergeev
    2013-01-29

    Thanks.

     
  • Stas Sergeev
    Stas Sergeev
    2013-01-29

    • status: open --> closed
    • milestone: -->