diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2012-01-16 18:48:26 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2012-01-19 21:33:23 -0500 |
commit | 160d34abcea594100f7322ba9d3a774ea33cb2c9 (patch) | |
tree | 50c25d9ca521afd931793afff020561e28801bd5 /vgasrc/geodevga.c | |
parent | 707d2168f528d3aeafc439331669edb3d02260a5 (diff) | |
download | seabios-160d34abcea594100f7322ba9d3a774ea33cb2c9.tar.gz |
vgabios: Simplify planar4 vgafb code.
Don't bother programming the vga registers to manipulate the
framebuffer when in planar4 mode. Instead, just switch between the
four planes and do the manipulation with regular reads and writes.
This makes the code simpler to understand (the vga hardware
manipulations are arcane and complex).
Note, this could make text scrolling in planar4 mode slower and more
likely to result in tearing. However, it's unlikely anything
important uses the vgabios in planar4 mode.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc/geodevga.c')
0 files changed, 0 insertions, 0 deletions