Don't assume that we have extended modes on all platforms.
This commit is contained in:
parent
fdfedb52f5
commit
028a80e4a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39611
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"$Id: vidcontrol.c,v 1.21 1998/09/16 13:55:26 abial Exp $";
|
"$Id: vidcontrol.c,v 1.22 1998/09/23 10:00:15 yokota Exp $";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
@ -262,6 +262,7 @@ video_mode(int argc, char **argv, int *index)
|
|||||||
char *name;
|
char *name;
|
||||||
unsigned long mode;
|
unsigned long mode;
|
||||||
} modes[] = {
|
} modes[] = {
|
||||||
|
#ifdef SW_TEXT_80x25
|
||||||
{ "80x25", SW_TEXT_80x25 },
|
{ "80x25", SW_TEXT_80x25 },
|
||||||
{ "80x30", SW_TEXT_80x30 },
|
{ "80x30", SW_TEXT_80x30 },
|
||||||
{ "80x43", SW_TEXT_80x43 },
|
{ "80x43", SW_TEXT_80x43 },
|
||||||
@ -272,6 +273,7 @@ video_mode(int argc, char **argv, int *index)
|
|||||||
{ "132x43", SW_TEXT_132x43 },
|
{ "132x43", SW_TEXT_132x43 },
|
||||||
{ "132x50", SW_TEXT_132x50 },
|
{ "132x50", SW_TEXT_132x50 },
|
||||||
{ "132x60", SW_TEXT_132x60 },
|
{ "132x60", SW_TEXT_132x60 },
|
||||||
|
#endif
|
||||||
{ "VGA_40x25", SW_VGA_C40x25 },
|
{ "VGA_40x25", SW_VGA_C40x25 },
|
||||||
{ "VGA_80x25", SW_VGA_C80x25 },
|
{ "VGA_80x25", SW_VGA_C80x25 },
|
||||||
{ "VGA_80x30", SW_VGA_C80x30 },
|
{ "VGA_80x30", SW_VGA_C80x30 },
|
||||||
|
Loading…
Reference in New Issue
Block a user