/[hurd]/hurd/console-client/vga-support.c
ViewVC logotype

Diff of /hurd/console-client/vga-support.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by marcus, Wed Sep 18 20:48:36 2002 UTC revision 1.3 by marcus, Mon Sep 30 17:13:14 2002 UTC
# Line 322  vga_set_font_height (int height) Line 322  vga_set_font_height (int height)
322  }  }
323    
324    
325    /* Get the font height in pixel.  Can be 8 or 9.  */
326    int
327    vga_get_font_width (void)
328    {
329      outb (VGA_SEQ_CLOCK_MODE_ADDR, VGA_SEQ_ADDR_REG);
330      return (inb (VGA_SEQ_DATA_REG) & VGA_SEQ_CLOCK_MODE_8) ? 8 : 9;
331    }
332    
333  /* Set the font height in pixel.  WIDTH can be 8 or 9.  */  /* Set the font height in pixel.  WIDTH can be 8 or 9.  */
334  void  void
335  vga_set_font_width (int width)  vga_set_font_width (int width)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26