From owner-freebsd-hackers Sat Sep 21 01:38:00 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA03567 for hackers-outgoing; Sat, 21 Sep 1996 01:38:00 -0700 (PDT) Received: from rf900.physics.usyd.edu.au (rf900.physics.usyd.edu.au [129.78.129.109]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA03508 for ; Sat, 21 Sep 1996 01:37:50 -0700 (PDT) Received: (from dawes@localhost) by rf900.physics.usyd.edu.au (8.6.11/8.6.9) id SAA14845; Sat, 21 Sep 1996 18:37:39 +1000 From: David Dawes Message-Id: <199609210837.SAA14845@rf900.physics.usyd.edu.au> Subject: Re: SVGATextMode under FBSD To: proff@suburbia.net (Julian Assange) Date: Sat, 21 Sep 1996 18:37:39 +1000 (EST) Cc: hackers@FreeBSD.ORG In-Reply-To: <199609210731.RAA15662@suburbia.net> from "Julian Assange" at Sep 21, 96 05:31:35 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >I have a fetish for large text screens (the one I'm writing this email on >is 180x60 (8x16 font) 10800 chars on screen at once, that's 5 x as much >information before my brain). FreeBSD's inability to do this is the >biggest problem I have with it, so I've started porting linux's SVGATextMode >package. > >I'm managed to get vgaset running so far (lets you play with s/vga registers >interactively and produces XF86 mode lines from your fiddling), however >there are a few kernel issues I'd like advice on, before I start creating >my own standards. > >FreeBSD, SVR4 and linux have: > > ioctl (open("/dev/console"), KDENABIO|KDDISABIO, 0) > >which gives access to all ioports. On SVR4.0 (at least), this enables/disables the list built up with the KDADDIO|KDDELIO calls. It doesn't turn on access to all ports. >However SVR4 and linux also have: > > ioctl (open("/dev/console"), KDADDIO|KDDELIO, port) > >which gives/removes access to ioports in granular manner. David