need a FAST putpixel routine 
Author Message
 need a FAST putpixel routine

can anyone send me a FAAAAST putpixel routine for mode 13h ??



Tue, 19 Jan 1999 03:00:00 GMT  
 need a FAST putpixel routine

Quote:

>can anyone send me a FAAAAST putpixel routine for mode 13h ??

  mov bx,x
  mov cx,y
  mov al,color

  mov bx,0A000h
  mov es,bx
  add bh,cl
  shl cx,6
  add bx,cx
  mov [es:bx],al

--
.. Excuse me while I sharpen my tongue.
 - Tenie Remmel



Wed, 20 Jan 1999 03:00:00 GMT  
 need a FAST putpixel routine

Quote:

> can anyone send me a FAAAAST putpixel routine for mode 13h ??


Sure here it is:

#define PlotPixel(x,y,c) { (((char *)(0xA0000))+(((y)*5)*64)+(x))=(c) }

Of course, I expect 10% royalty if you use the above library in your
code.

--
Paul Hsieh

http://www.geocities.com/SiliconValley/9498
Graphics Programmer
Chromatic Research

What I say and what my company says are not always the same thing



Fri, 22 Jan 1999 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. FAST PUTPIXEL ROUTINE IN VESA?

2. *fast* mode 13h putpixel needed?

3. *fast* mode 13h putpixel needed?

4. Fast Polygon Routines needed.

5. need fast SVGA routines

6. MSVC CHOKES on this ASM putpixel routine!

7. PutPixel Routine

8. Fast putpixel procdedure

9. Fast PutPixel in 640x480x16

10. which putpixel is faster?

11. MSVC CHOKES on this ASM putpixel routine!

12. Make PutPixel in VesaSVGA FASTER??

 

 
Powered by phpBB® Forum Software