Don't forget to initialize va_mode.

Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Forgotten by:	kato
This commit is contained in:
KATO Takenori 1999-01-18 14:47:01 +00:00
parent cd08f575b5
commit 1ec0a1bcd4
2 changed files with 6 additions and 4 deletions

View File

@ -2,7 +2,7 @@
#define ROW 25
#define COL 80
/*-
* $Id$
* $Id: pc98gdc.c,v 1.1 1999/01/18 08:38:07 kato Exp $
*/
#include "gdc.h"
@ -316,7 +316,8 @@ probe_adapters(void)
biosadapter[0] = adapter_init_value[0];
biosadapter[0].va_flags |= V_ADP_PROBED;
biosadapter[0].va_initial_mode = biosadapter[0].va_initial_bios_mode;
biosadapter[0].va_mode =
biosadapter[0].va_initial_mode = biosadapter[0].va_initial_bios_mode;
master_gdc_wait_vsync();
master_gdc_cmd(_GDC_START); /* text ON */

View File

@ -2,7 +2,7 @@
#define ROW 25
#define COL 80
/*-
* $Id$
* $Id: pc98gdc.c,v 1.1 1999/01/18 08:38:07 kato Exp $
*/
#include "gdc.h"
@ -316,7 +316,8 @@ probe_adapters(void)
biosadapter[0] = adapter_init_value[0];
biosadapter[0].va_flags |= V_ADP_PROBED;
biosadapter[0].va_initial_mode = biosadapter[0].va_initial_bios_mode;
biosadapter[0].va_mode =
biosadapter[0].va_initial_mode = biosadapter[0].va_initial_bios_mode;
master_gdc_wait_vsync();
master_gdc_cmd(_GDC_START); /* text ON */