From owner-freebsd-hackers Wed Aug 28 00:10:56 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA07696 for hackers-outgoing; Wed, 28 Aug 1996 00:10:56 -0700 (PDT) Received: from ra.dkuug.dk (ra.dkuug.dk [193.88.44.193]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA07690 for ; Wed, 28 Aug 1996 00:10:53 -0700 (PDT) Received: (from sos@localhost) by ra.dkuug.dk (8.6.12/8.6.12) id JAA21785; Wed, 28 Aug 1996 09:10:50 +0200 Message-Id: <199608280710.JAA21785@ra.dkuug.dk> Subject: Re: Specs on a Hitachi CM2085me monitor anybody ?? To: durham@durham (Jim Durham) Date: Wed, 28 Aug 1996 09:10:50 +0200 (MET DST) Cc: hackers@FreeBSD.org, regnauld@tetard.glou.eu.org In-Reply-To: from "Jim Durham" at Aug 28, 96 00:15:28 am From: sos@FreeBSD.org Reply-to: sos@FreeBSD.org X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk In reply to Jim Durham who wrote: > > > > Hmm, in the version of syscons that I'm currently working on there is > > support for adding a new ioctl via a LKM, that can be used to load > > special code to modify you timing. Also If you can tell me what > > H&V-sync your monitor can handle, I can probably do a small patch > > to the mode setting code that will allow you to use your monitor > > for std modes ie 80x25, 80x50 etc... > > Just remember that it s a hack, and nothing that I will admit to > > have done :) > > I'd like to see this also, as I have a fixed-scan 19 inch monitor.. Just > some general guidelines to hack it myself would do the trick. Where's > the mode setting code? Syscons.c? > Hmm, this might even be the best idea, I'll see if I can get the time to write down how to do this. Remember though that it is only possible to use the std clock rates, which probably will result in some strange resulution. For the adventurous look at the function set_mode() in syscons.c that together with a description on how the videomodes are stored in the BIOS will do the trick. I even remember seeing a little util for DOS(I know...) that allowed one to play with the video regs "online". That would give the values you need... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team So much code to hack -- so little time.