diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-07-30 22:27:16 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-07-30 22:27:16 -0700 |
commit | 5cf4f7fa13ffdd72cf79bdddf258677d3167bdd1 (patch) | |
tree | dc9b216183d0e65ca93f76c923b2759573e1eec7 | |
parent | c537e06012c19dca57a14bda713a4a467a0c41e8 (diff) | |
download | syslinux-5cf4f7fa13ffdd72cf79bdddf258677d3167bdd1.tar.gz |
graphics: actually do 32-bit writes to VGA
Use "rep movsd" to copy data to VGA memory, not "rep movsb".
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | core/graphics.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/graphics.inc b/core/graphics.inc index 884776ea..26925e9a 100644 --- a/core/graphics.inc +++ b/core/graphics.inc @@ -206,8 +206,8 @@ outputvga: .loop1: out dx,al ; Select the bit plane to write push di - mov cx,640/8 - rep movsb + mov cx,640/32 + rep movsd pop di add ax,ax cmp al,8 |