From owner-freebsd-questions Thu Nov 16 00:07:45 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA08503 for questions-outgoing; Thu, 16 Nov 1995 00:07:45 -0800 Received: from casparc.ppp.net (casparc.ppp.net [194.64.12.35]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id AAA08492 ; Thu, 16 Nov 1995 00:07:39 -0800 Received: from ernie by casparc.ppp.net with uucp (Smail3.1.28.1 #1) id m0tFzGk-000I5GC; Thu, 16 Nov 95 09:02 MET Received: by ernie.altona.hamburg.com (Smail3.1.29.1 #3) id m0tFy4e-00001PC; Thu, 16 Nov 95 07:45 MET Message-Id: From: hm@altona.hamburg.com (Hellmuth Michaelis) Subject: Re: "Bug" in syscons? To: sos@FreeBSD.org Date: Thu, 16 Nov 1995 07:45:28 +0100 (MET) Cc: bde@zeta.org.au, darrylo@hpnmhjw.sr.hp.com, freebsd-bugs@FreeBSD.org, freebsd-questions@FreeBSD.org In-Reply-To: <199511152214.XAA00502@SandBox> from "Soren Schmidt" at Nov 15, 95 11:14:04 pm Reply-To: hm@altona.hamburg.com X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1411 Sender: owner-questions@FreeBSD.org Precedence: bulk > > In set_font_mode(): > > old: > > > outb(TSIDX, 0x02); outb(TSREG, 0x04); > > >! outb(TSIDX, 0x04); outb(TSREG, 0x06); > > > outb(GDCIDX, 0x04); outb(GDCREG, 0x02); > > > outb(GDCIDX, 0x05); outb(GDCREG, 0x00); > > >! outb(GDCIDX, 0x06); outb(GDCREG, 0x05); > > new: > > > outb(TSIDX, 0x02); outb(TSREG, 0x04); > > >! outb(TSIDX, 0x04); outb(TSREG, 0x07); > > > outb(GDCIDX, 0x04); outb(GDCREG, 0x02); > > > outb(GDCIDX, 0x05); outb(GDCREG, 0x00); > > >! outb(GDCIDX, 0x06); outb(GDCREG, 0x00); > > > > TS reg 4 bit 0x01 is "Reserved" for the ET4000. Better not use it. This is correct and i wonder where i got it from (for pcvt). But, my very first chipset to support this was and still is a ET4000 and it runs just fine. >From the Ferraro book: bit 0 selects between alpha and graphics mode on an EGA (!!) 0=graphics 1=alphanumerics. > > GDC reg 6 bit 0x01 is "Graphics mode enable"; bits 0x04 and 0x08 > > select the memory map: > > 0x00: 128K at 0xA0000 > > 0x04: 64K at 0xA0000 > > 0x08: 32K at 0xB0000 > > 0x0C: 32K at 0xB8000 This might be the cause of the problem, bit 0 selects for a VGA what the above described bit selects for a VGA: 0=alphanumerics, 1=graphics. hellmuth -- Hellmuth Michaelis hm@altona.hamburg.com Hamburg, Europe (A)bort, (R)etry, (I)nstall BSD ?