Commit Graph

11 Commits

Author SHA1 Message Date
junyoung 247328b16a As beginning of merging uwscons to -current:
- Add a (temporary) printf to vga_raster_load_font() for tracking font
  loading process. If you encountered "vga_raster_load_font: called"
  kernel message, please let me know.
- While here, some KNF.
2003-04-07 05:48:54 +00:00
tsutsui ef47e3f676 Changes to allow machines which don't use text mode at the boot time
to use generic VGA driver(s):
- Allow VGA drivers to use wsfont instead of builtin font.
- Add vga_reset() function, which will be called from MD consinit(),
  to put VGA into text mode. This function is enabled by options VGA_RESET.
2003-01-31 21:57:23 +00:00
tsutsui 934e3c5a47 Set a value for MISCOUT register correctly in vga_setup_regs(). 2003-01-27 15:27:44 +00:00
tsutsui 289b9289f3 const'ify. 2003-01-27 15:22:47 +00:00
tsutsui 89b4d6221e - Replace some magic numbers with proper macro.
- Use vga_6845_{read,write}() defined in pcdisplayvar.h and
  remove vga_crtc_{read,write}() macros in vgareg.h.
2003-01-27 15:16:10 +00:00
tsutsui a8c7515f5f KNF and space/TAB cleanup. 2003-01-27 14:46:10 +00:00
junyoung 3bfa71c0c3 Fix compile error. 2002-11-28 07:02:20 +00:00
junyoung 0c51bd608e Missing '.' 2002-11-04 08:05:52 +00:00
junyoung c6326ab133 Now VGA_CONSOLE_SCREENTYPE can be specified with VGA_RASTERCONSOLE.
Currently only 80x25 and 80x30 modes are supported.
2002-10-31 13:06:50 +00:00
junyoung 78e97058d5 Simplify vga_raster_setscreentype() and clean up code. 2002-10-31 11:05:25 +00:00
junyoung 1ce9af548e Add VGA raster graphics console driver. It is written as an extension
to char-cell based vga(4) driver, and fully compatible with existing
apps like XFree86. Currently it supports 80x25, 80x30, 80x40 and 80x50
text modes using emulation. You can enable it by specifying `options
VGA_RASTERCONSOLE' in your kernel config file.

Note that displaying multilingual text doesn't work yet. Necessary
code is already there, but userland stuff and some functionality isn't
ready for prime time yet. I'm working on them.
2002-10-15 18:14:41 +00:00