Browse Source

* use stosb instead of mov for writing a byte (the value doesn't matter) into EGA/VGA memory in PutPixel16

git-svn-id: trunk@40999 -
nickysn 6 years ago
parent
commit
820ba7dfb5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/graph/src/msdos/graph.pp

+ 1 - 1
packages/graph/src/msdos/graph.pp

@@ -1640,7 +1640,7 @@ end;
         add  di, [VideoOfs]
         { send the data through the display memory through set/reset }
         mov  bl,es:[di]
-        mov  es:[di],bl
+        stosb
 
         { reset for formal vga operation }
         mov  ax,0ff08h