Board index » delphi » putimage/putpixel problem
bbou...@math.ruu.nl (Bruno Bougie)
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
putimage/putpixel problem
Last Friday I posted this article. I'm posting it again because I'm
not sure about the distribution (default: local). So if you already read this, skip it. Hello,
When I use the Graph-unit the following code does exactly what I
(...)
Some months ago someone posted a PutPixel procedure in this news-
Procedure PPixel(X, Y : Word; C : Byte); Assembler;
xor ax, ax { xor ax, ax is one byte less than xor al, al }
mov ax, 0f01h
mov cx, x
mov ax, 0a000h
mov di, x
When I replace the putpixel(n,m,red) statement in my code by this
The PPixel is faster than the graph-unit putpixel, so I would like
If there is someone who knows what's going on here, please explain
Thanks in advance,
-- -- |