Path: utzoo!attcan!uunet!husc6!rutgers!aramis.rutgers.edu!athos.rutgers.edu!hedrick From: hedrick@athos.rutgers.edu (Charles Hedrick) Newsgroups: comp.os.minix Subject: Re: 1.3c more notes Message-ID: Date: 12 Oct 88 05:06:29 GMT References: <3193@sdsu.UUCP> <1499@ast.cs.vu.nl> <2571@sultra.UUCP> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 21 In article <2571@sultra.UUCP>, dtynan@sultra.UUCP (Der Tynan) writes: > On the other point, I think the console driver should be split. There should > be one for EGA, and one for the rest of us. I know this is difficult to do, It's no longer worth doing in my opinion. I'm now using a kernel with the odd EGA register stuff removed. There are a few conditionals here and there, e.g. not waiting for retrace to change the screen, but that's also appropriate for the old monochrome adapter. The only remnant of the old EGA code is one small piece of code in the scroll routine. But it's much smaller than my first attempt. It is now modified so that it works just like the original Minix hardware scroll, except that at the end of the screen memory, the whole screen image is copied back to the start of the screen memory. Since it only has to be done once every N lines, the overhead is not noticable. The EGA-specific code for processing insert-delete line and various other places is gone. At this point there's not enough code to be worth worrying about. (I've sent diffs to ast, but he wants me to put in some more recent fixes and do the diffs again. I don't see that it will matter much, since patch shouldn't care about small differences in line numbers for context diffs, but I'll do that over the weekend and post the results.