Browse Source

* use stosb instead of mov to draw the pixel inside the asm version of PutPixel320

git-svn-id: trunk@40923 -
nickysn 6 years ago
parent
commit
25c3981236
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

@@ -2270,7 +2270,7 @@ End;
       shr    ax, 1
       shr    ax, 1
       add    di, ax
       add    di, ax
       mov    al, byte ptr [Pixel]
       mov    al, byte ptr [Pixel]
-      mov    es:[di], al
+      stosb
 @@Done:
 @@Done:
     end ['ax','di'];
     end ['ax','di'];
  end;
  end;