VGA: Further simplify scrolling code.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 31 May 2009 19:25:14 +0000 (15:25 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 31 May 2009 19:25:14 +0000 (15:25 -0400)
commit2c34f41b01dec1a50fdf63645064fdf56475e33f
tree8e3acd22988ef6f1b513c12d5b8593eb9c6e1a1a
parentc3e158732c7a81af8107f651a00cdcc41768d011
VGA: Further simplify scrolling code.

Introduce memcpy_stride and memset_stride functions.
Simplify the moves and fills using src and dest pointers.
Don't nest for loops - just use one loop for copies.
vgasrc/vgafb.c
vgasrc/vgatables.h