Browse Source

- remove the XorPut support from PutPixelX, since it is not supposed to support different write modes

git-svn-id: trunk@41035 -
nickysn 6 years ago
parent
commit
5ca7382516
1 changed files with 0 additions and 5 deletions
  1. 0 5
      packages/graph/src/msdos/graph.pp

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

@@ -2654,11 +2654,6 @@ const CrtAddress: word = 0;
       (* End selection of plane *)
       (* End selection of plane *)
       mov es,[SegA000]
       mov es,[SegA000]
       mov ax,[Color]            ; { only lower byte is used. }
       mov ax,[Color]            ; { only lower byte is used. }
-      cmp [CurrentWriteMode],XORPut   { check write mode   }
-      jne @MOVMode
-      mov ah,es:[di]        { read the byte...             }
-      xor al,ah             { xor it and return value into AL }
-    @MovMode:
       mov es:[di], al
       mov es:[di], al
       pop di
       pop di
       pop es
       pop es