summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-04-12 00:05:23 +0000
committerache <ache@FreeBSD.org>1994-04-12 00:05:23 +0000
commitd0078dd4ffe205f5a7f80398f281f58855c59742 (patch)
tree4fbae2e38208cf0001d6f4c0585997627762caee /sys/isa
parent8755afc1400f5c9d073f6a81001259def9001d6c (diff)
downloadFreeBSD-src-d0078dd4ffe205f5a7f80398f281f58855c59742.zip
FreeBSD-src-d0078dd4ffe205f5a7f80398f281f58855c59742.tar.gz
Patch from S0ren, 80x50 font trashed after switching from X console
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/syscons.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/isa/syscons.c b/sys/isa/syscons.c
index 0db10ba..3f61a95 100644
--- a/sys/isa/syscons.c
+++ b/sys/isa/syscons.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from:@(#)syscons.c 1.3 940129
- * $Id: syscons.c,v 1.41 1994/04/01 18:33:12 ache Exp $
+ * $Id: syscons.c,v 1.42 1994/04/07 23:21:35 ache Exp $
*
*/
@@ -1452,6 +1452,12 @@ static void exchange_scr(void)
move_crsr(new_scp, new_scp->xpos, new_scp->ypos);
bcopy(new_scp->scr_buf, Crtat, new_scp->xsize * new_scp->ysize * 2);
update_leds(new_scp->status);
+ if ((old_scp->status & UNKNOWN_MODE) && crtc_vga) {
+ load_font(0, 16, font_8x16);
+ load_font(1, 8, font_8x8);
+ load_font(2, 14, font_8x14);
+ load_palette();
+ }
if (old_scp->status & KBD_RAW_MODE || new_scp->status & KBD_RAW_MODE)
shfts = ctls = alts = agrs = metas = 0;
delayed_next_scr = 0;
OpenPOWER on IntegriCloud