80x50 -> 80x25
80x60 -> 80x30
80x28 -> 80x49
80x34 -> 80x29
After looking at vgacon.c, it appears that the function
vgacon_adjust_height() may be at fault. This function is called whenever
the console wants to set a font whose height does not match the current
font's height. It does so by adjusting the number of scanlines and the
hardware font height value. As you can see, the video modes that screwed
up are the ones that would have needed this. 80x50 and 80x60 use 8x8
fonts, so the console tries to set them to 8x16. However, what appears to
be happening is that the number of scanlines is remaining unchanged and
the number of rows is being halved, instead of the other way around.
Hopefully someone that knows this code better than I do can see where this
is happening and patch it up.
Jon
--- 'Cloning and the reprogramming of DNA is the first serious step in becoming one with God.' - Scientist G. Richard Seed
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html