Explorar el Código

- removed the regcall ifdefs in DirectPutPixelX

git-svn-id: trunk@41050 -
nickysn hace 6 años
padre
commit
f0a777f617
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0 5
      packages/graph/src/msdos/graph.pp

+ 0 - 5
packages/graph/src/msdos/graph.pp

@@ -2695,14 +2695,9 @@ const CrtAddress: word = 0;
  Procedure DirectPutPixelX(X,Y: smallint); assembler;
  { note: still needs or/and/notput support !!!!! (JM) }
  asm
-{$IFDEF REGCALL}
-   mov cl, al
-   mov di, dx
-{$ELSE REGCALL}
    mov cx, [X]
    mov ax, cx
    mov di, [Y]                   ; (* DI = Y coordinate                 *)
-{$ENDIF REGCALL}
  (* Multiply by 80 start *)
    mov bx, di
    shl di, 6                    ; (* Faster on 286/386/486 machines    *)