From 5cf4f7fa13ffdd72cf79bdddf258677d3167bdd1 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 30 Jul 2009 22:27:16 -0700 Subject: [PATCH] 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 --- core/graphics.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/graphics.inc b/core/graphics.inc index 884776e..26925e9 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 -- 2.7.4