aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vge
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2017-04-19 14:49:18 +0000
committerBruce Evans <bde@FreeBSD.org>2017-04-19 14:49:18 +0000
commit7b8306bcd2c6947c55858fc3dbaa51b42d4f4b43 (patch)
treece57ceef420cf7ba46d25010e7e3c1999bef82f1 /sys/dev/vge
parente9f3f88adff208aaa716ee2cc63c30c1ac72e5eb (diff)
downloadsrc-7b8306bcd2c6947c55858fc3dbaa51b42d4f4b43.tar.gz
src-7b8306bcd2c6947c55858fc3dbaa51b42d4f4b43.zip
When we don't use the parameter table in the BIOS, also don't use most
of our tweaked modes based on it. In practice, this means limiting the tweaked modes to at most 80x50 based on 80x25, so there are no 90-column, 80x30 or 80x60 modes. This happens when the the initial mode is is not in the parameter table. We always detected this case, but assumed that the (necessarily nonstandard) parameters of the initial mode could be tweaked just as blindly as the probably-standard parameters of initial modes in the table. On 1 laptop system with near-VGA where the initial mode is nonstandard, this is because the hardware apparently doesn't support 9-bit mode, but otherwise has standard timing. The initial mode has 8-bit mode CRTC horizontal parameters similar to those in syscons' 90-column modes and in EGA modes. Tweaking these values for the 90-column modes has little effect except to print the extra 10 columns off the screen. Tweaking from 80x25 to 80x30 requires changing from 400 scan lines to 480. This can probably be made to work, but syscons blindly applies values based on standard timing. This gives blank output. Tweaking from 80x25 to 80x50 doesn't change the CRTC timing and works.
Notes
Notes: svn path=/head/; revision=317142
Diffstat (limited to 'sys/dev/vge')
0 files changed, 0 insertions, 0 deletions