diff options
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/console/vgainit.c')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/console/vgainit.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/console/vgainit.c b/c/src/lib/libbsp/i386/pc386/console/vgainit.c index 124689f327..2dc89906dc 100644 --- a/c/src/lib/libbsp/i386/pc386/console/vgainit.c +++ b/c/src/lib/libbsp/i386/pc386/console/vgainit.c @@ -22,7 +22,6 @@ #define MODE_MAX 3 typedef int MODE; /* drawing mode*/ - /* Define one and only one of the following to be nonzero*/ #define VGA_ET4000 0 /* TSENG LABS ET4000 chip 800x600*/ #define VGA_STANDARD 1 /* standard VGA 640x480*/ @@ -150,7 +149,6 @@ out_word(unsigned int p,unsigned int d) outp(p + 1, (d >> 8) & 0xff); } - /* Values for the data rotate register to implement drawing modes. */ static unsigned char mode_table[MODE_MAX + 1] = { 0x00, 0x18, 0x10, 0x08 @@ -168,7 +166,6 @@ setmode(MODE mode) outp(GRVAL, mode_table[mode]); } - #if VGA_ET4000 /* VGA 800x600 16-color graphics (BIOS mode 0x29). @@ -268,7 +265,6 @@ static REGIO graphics_on[] = { DONE, 0, 0, 0, 0 }; - /* VGA 80x25 text (BIOS mode 3). */ static REGIO graph_off[] = { @@ -368,7 +364,6 @@ static REGIO graph_off[] = { #endif - #if VGA_STANDARD /* VGA 640x480 16-color graphics (BIOS mode 0x12). @@ -468,7 +463,6 @@ static REGIO graphics_on[] = { { DONE, 0, 0, 0, 0 } }; - /* VGA 80x25 text (BIOS mode 3). */ static REGIO graph_off[] = { @@ -568,7 +562,6 @@ static REGIO graph_off[] = { #endif - #if EGA_STANDARD /* EGA 640x350 16-color graphics (BIOS mode 0x10). @@ -668,7 +661,6 @@ static REGIO graphics_on[] = { DONE, 0, 0, 0, 0 }; - /* EGA 80x25 text (BIOS mode 3). */ static REGIO graph_off[] = { |