Date: Sun, 20 Sep 1998 18:07:19 +0900 From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> To: current@FreeBSD.ORG Cc: yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: SC_BAD_FLICKER broken? Message-ID: <199809200907.SAA11419@zodiac.mech.utsunomiya-u.ac.jp>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809200907.SAA11419>