From: James S. <jsi...@ac...> - 2000-09-01 13:10:27
|
> > What I mean is read the values from the vga hardware instead of from > > screeninfo which is provided by the firmware. > > If you want to support only standard modes (text, cfb8, vgaplanes, > vga8planes), it is easy. But there is couple of more or less nonstandard > modes too. 2 (1plane) or 4-color (2planes) modes, alphanumeric mode with > character generator disabled (gives you `spectrum like' attribute + 8pixels). > What to do with them? Let them fall through and report something similar > for them? Wow. I never even seen any spectrum modes in any books. Where did you learn about it? > If you are talking only about recognition of currently used videomode > at startup, it should be possible, and possibly trivial. I have > (in mgadump) code which adds `correct' constants and sums correct > bits together to get all picture sizes... Should I port that code > to Linux and send it to you? Pretty much I'm talking about recongnition of currently used videomode but it would also be nice to support other "non-standard modes". I would like to see your code :-) |