cvs commit: src/sys/dev/misc/syscons scvgarndr.c scvidctl.c syscons.c syscons.h

Sascha Wildner swildner at
Fri Feb 18 08:38:26 PST 2005

swildner    2005/02/18 08:38:23 PST

DragonFly src repository

  Modified files:
    sys/dev/misc/syscons scvgarndr.c scvidctl.c syscons.c 
  * For the direct modes, get rid of the predefined palettes and use the
    system's EGA palette instead (like planar modes do). Since palette
    values can be 5:5:5, 5:6:5, 8:8:8 etc., add code to refresh them via
    the adapter's palette registers upon video mode change. Scrap the
    ugly vga_drawpxl() macro. This makes 15 and 16 bit modes faster than
    24 or 32 bpp.
  * Fix mouse pointer drawing code for direct modes. Never draw the
    pointer in the border area so that direct and planar modes can now
    share a single function for removing the mouse.
  * Do some minor cleanup and restructuring.
  Revision  Changes    Path
  1.11      +136 -197  src/sys/dev/misc/syscons/scvgarndr.c
  1.9       +1 -0      src/sys/dev/misc/syscons/scvidctl.c
  1.18      +27 -0     src/sys/dev/misc/syscons/syscons.c
  1.11      +12 -0     src/sys/dev/misc/syscons/syscons.h

More information about the Commits mailing list