Vladimir 'phcoder' Serbinenko
c35fc5bd15
Add monochrome text support (mda_text, aka `hercules' in grub-legacy).
* grub-core/Makefile.core.def (mda_text): New module.
* grub-core/lib/legacy_parse.c (grub_legacy_parse): Support `hercules'.
* grub-core/term/i386/vga_common.c (grub_console_cur_color): Moved to ..
* grub-core/term/i386/pc/vga_text.c (cur_color): ... here
* grub-core/term/i386/pc/console.c (grub_console_cur_color): ... and
here.
* grub-core/term/i386/vga_common.c (grub_console_getwh): Moved to ..
* grub-core/term/i386/pc/vga_text.c (grub_console_getwh): ... here
* grub-core/term/i386/pc/console.c (grub_console_getwh): ... and
here.
* grub-core/term/i386/vga_common.c (grub_console_setcolorstate): Moved
to ..
* grub-core/term/i386/pc/vga_text.c (grub_console_setcolorstate):
... here
* grub-core/term/i386/pc/console.c (grub_console_setcolorstate): ... and
here.
* grub-core/term/i386/vga_common.c: Removed.
* include/grub/i386/vga_common.h: Likewise.
* include/grub/vga.h (grub_vga_cr_bw_write): New function.
(grub_vga_cr_bw_read): Likewise.
* include/grub/vgaregs.h (GRUB_VGA_IO_CR_BW_INDEX): New enum value.
(GRUB_VGA_IO_CR_BW_DATA): Likewise.
* grub-core/term/i386/pc/vga_text.c [MODE_MDA]: Call
grub_vga_cr_bw_read/grub_vga_cr_bw_write instead of
grub_vga_cr_read/grub_vga_cr_write.
(grub_vga_text_setcolorstate) [MODE_MDA]: Ignore color.
2012-06-28 15:27:54 +02:00
..
2012-06-26 03:36:14 +02:00
2012-06-17 01:09:32 +02:00
2012-06-27 21:13:06 +02:00
2012-06-25 17:54:46 +02:00
2012-05-28 17:49:18 +02:00
2012-06-11 00:20:55 +02:00
2012-06-27 19:37:40 +02:00
2012-05-29 13:52:26 +02:00
2012-04-04 14:41:55 +02:00
2012-05-21 22:17:11 +02:00
2012-03-10 12:31:42 +01:00
2012-03-03 13:05:08 +01:00
2011-11-11 21:03:49 +01:00
2012-04-07 19:54:51 +02:00
2012-06-26 23:28:23 +02:00
2012-06-28 15:27:54 +02:00
2012-06-27 22:55:09 +02:00
2012-06-03 18:00:37 +02:00
2012-06-22 22:09:31 +02:00
2012-06-28 02:06:36 +02:00
2012-05-22 09:09:00 +02:00
2012-03-05 16:42:26 +01:00
2012-06-21 22:02:09 +02:00
2012-06-28 15:27:54 +02:00
2012-06-15 19:42:25 +02:00
2012-06-26 03:36:14 +02:00
2012-02-18 20:25:11 +01:00
2010-05-06 11:34:04 +05:30
2010-05-06 11:34:04 +05:30
2012-06-05 17:20:39 +02:00
2012-02-26 18:09:07 +01:00
2011-05-18 12:53:07 +01:00
2012-02-10 16:48:48 +01:00
2011-04-11 23:01:51 +02:00
2011-11-13 22:59:46 +01:00
2012-06-26 03:36:14 +02:00
2012-06-28 15:27:54 +02:00
2011-05-18 01:38:01 +02:00