*BSD News Article 10709


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA517 ; Thu, 04 Feb 93 13:00:20 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cjb
From: cjb@cs.uq.oz.au (Christopher J Biggs)
Newsgroups: comp.unix.bsd
Subject: Re: Anyway for bsd386 to come up in 50 line mode?
Message-ID: <CJB.93Feb4091505@orchid.cs.uq.oz.au>
Date: 3 Feb 93 23:15:05 GMT
References: <wagner.998.728537815@main.mndly.umn.edu>
Sender: news@cs.uq.oz.au
Organization: Computer Science Department, The University of Queensland,
	Brisbane, Australia
Lines: 37
In-reply-to: wagner@main.mndly.umn.edu's message of 1 Feb 93 03:36:55 GMT

>>>>> In article <wagner.998.728537815@main.mndly.umn.edu>, wagner@main.mndly.umn.edu (Rick Wagner) writes:

>As I am a great believer in vga-50 line mode, I'm curious whether its
>possible to have the system start in a 50 line mode.  I've looked through
>the code and I can't see an easy way to do it with my EXTREMELY limited
>knowledge of bsd386.  

>Do any of you gurus out there know of a way to do this?  
 

Well, there's a nice way, and a not-so-nice way to do this :)

You could install Soeren Schmidt`s syscons driver which allows virutal
consoles and switching of vga modes. (and you could install my patches
that allow dual vga/mono too... )

OR..... You could do what I did for a time: hack the binary of the
bootstrap loader (the wee 512byte one) to do a BIOS INT 0x10 call
/before/ switching to protected mode.  I did this to get my
trident in 132x60 mode, by replacing the first few bytes
of the loader with a call to the free space at the end of the bootblock,
where I execute the instructions that were overwritten by the call,
do the BIOS interrupt call, and return to your regularly scheduled loader.

It worked fine, just that I de-installed it when I installed syscons, and
havent got around to patching 132col mode into syscons yet.

Lets face it, for editing program code, 80 columns suck!

	Hack on,
		Chris.

--
 Christopher J Biggs   cjb@cs.uq.oz.au   | "You can have peace.  Or you can  
 Department of Computer Science,         | have freedom.  Don't ever count on 
 The University of Queensland, Australia | having both at once."--Lazarus Long 
------------veni vidi nuclei deceiri - I came, I saw, I dumped core------------