projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c537e06
)
graphics: actually do 32-bit writes to VGA
author
H. Peter Anvin
<hpa@zytor.com>
Fri, 31 Jul 2009 05:27:16 +0000
(22:27 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Fri, 31 Jul 2009 05:27:16 +0000
(22:27 -0700)
Use "rep movsd" to copy data to VGA memory, not "rep movsb".
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/graphics.inc
patch
|
blob
|
history
diff --git
a/core/graphics.inc
b/core/graphics.inc
index
884776e
..
26925e9
100644
(file)
--- 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 movs
b
+ mov cx,640/
32
+ rep movs
d
pop di
add ax,ax
cmp al,8