Explorar o código

* 8086/8088 support in the asm version of DirectPutPixel320

git-svn-id: trunk@40959 -
nickysn %!s(int64=6) %!d(string=hai) anos
pai
achega
907e3afae4
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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   }