From owner-freebsd-current Sun Sep 20 02:06:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA13530 for freebsd-current-outgoing; Sun, 20 Sep 1998 02:06:49 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA13522 for ; Sun, 20 Sep 1998 02:06:43 -0700 (PDT) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:CxZvcmczmIa8dQ0ZA8O40Kvbbn0wCLtF@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.9.1/8.9.1) with ESMTP id SAA21493 for ; Sun, 20 Sep 1998 18:06:16 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id SAA11419; Sun, 20 Sep 1998 18:07:20 +0900 (JST) Message-Id: <199809200907.SAA11419@zodiac.mech.utsunomiya-u.ac.jp> To: current@FreeBSD.ORG cc: yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: SC_BAD_FLICKER broken? Date: Sun, 20 Sep 1998 18:07:19 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Would anybody who is experiencing SC_BAD_FLICKER not working please try the following patch for /sys/i386/isa/videoio.c and see if it works? Issues regarding what name for this option is most appropriate and if this should be an option at all in the first place, will be dealt with later. I would like to make things work first! Thank you. Kazu Index: videoio.c =================================================================== RCS file: /src/CVS/src/sys/i386/isa/videoio.c,v retrieving revision 1.1 diff -u -r1.1 videoio.c --- videoio.c 1998/09/15 18:16:38 1.1 +++ videoio.c 1998/09/20 09:00:11 @@ -1092,6 +1092,7 @@ if (page > 3) segment -= 0xe000; +#ifndef SC_BAD_FLICKER if (adapter[ad].va_type == KD_VGA) { /* what about EGA? XXX */ s = splhigh(); outb(TSIDX, 0x00); outb(TSREG, 0x01); @@ -1100,6 +1101,7 @@ outb(TSIDX, 0x00); outb(TSREG, 0x03); splx(s); } +#endif set_font_mode(&adapter[ad], buf); if (fontsize == 32) { @@ -1114,6 +1116,7 @@ } set_normal_mode(&adapter[ad], buf); +#ifndef SC_BAD_FLICKER if (adapter[ad].va_type == KD_VGA) { s = splhigh(); outb(TSIDX, 0x00); outb(TSREG, 0x01); @@ -1121,6 +1124,7 @@ outb(TSIDX, 0x00); outb(TSREG, 0x03); splx(s); } +#endif return 0; } @@ -1156,6 +1160,7 @@ if (page > 3) segment -= 0xe000; +#ifndef SC_BAD_FLICKER if (adapter[ad].va_type == KD_VGA) { /* what about EGA? XXX */ s = splhigh(); outb(TSIDX, 0x00); outb(TSREG, 0x01); @@ -1164,6 +1169,7 @@ outb(TSIDX, 0x00); outb(TSREG, 0x03); splx(s); } +#endif set_font_mode(&adapter[ad], buf); if (fontsize == 32) { @@ -1178,6 +1184,7 @@ } set_normal_mode(&adapter[ad], buf); +#ifndef SC_BAD_FLICKER if (adapter[ad].va_type == KD_VGA) { s = splhigh(); outb(TSIDX, 0x00); outb(TSREG, 0x01); @@ -1185,6 +1192,7 @@ outb(TSIDX, 0x00); outb(TSREG, 0x03); splx(s); } +#endif return 0; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message