Browse Source

* 8086/8088 support in the asm version of DirectPutPixel320

git-svn-id: trunk@40959 -
nickysn 6 years ago
parent
commit
907e3afae4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/graph/src/msdos/graph.pp

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

@@ -2343,7 +2343,8 @@ End;
    mov    di, [X]
    xchg   ah, al            { The value of Y must be in AH }
    add    di, ax
-   shr    ax, 2
+   shr    ax, 1
+   shr    ax, 1
    add    di, ax
    mov    al, byte ptr [CurrentColor]
    { check write mode   }