소스 검색

* use stosb instead of mov for writing a byte (the value doesn't matter) into EGA/VGA memory in PutPixel16

git-svn-id: trunk@40999 -
nickysn 6 년 전
부모
커밋
820ba7dfb5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/graph/src/msdos/graph.pp

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

@@ -1640,7 +1640,7 @@ end;
         add  di, [VideoOfs]
         { send the data through the display memory through set/reset }
         mov  bl,es:[di]
-        mov  es:[di],bl
+        stosb
 
         { reset for formal vga operation }
         mov  ax,0ff08h