putpixel 
Author Message
 putpixel

Hello!
I need to make a putpixel function
Are there some ready function of Bios or VideoAdapter
or i need to write data directly to Video Adapter memory?
Thanks!

* Sent from RemarQ http://www.*-*-*.com/ The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!



Thu, 18 Jul 2002 03:00:00 GMT  
 putpixel
don't use the Bios putpixel unless you want to be taunted by infants.

for further info on how to put pixels directly, pick a video mode.  the
methods vary greatly, but it's definitely worth it for the speed gain

: Hello!
: I need to make a putpixel function
: Are there some ready function of Bios or VideoAdapter
: or i need to write data directly to Video Adapter memory?
: Thanks!

: * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
: The fastest and easiest way to search and participate in Usenet - Free!



Fri, 19 Jul 2002 03:00:00 GMT  
 putpixel



Quote:
> Hello!
> I need to make a putpixel function
> Are there some ready function of Bios or VideoAdapter
> or i need to write data directly to Video Adapter memory?
> Thanks!

> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network
*
> The fastest and easiest way to search and participate in Usenet - Free!

INT 10 video BIOS Services:

   INT 10,C - Write Graphics Pixel at Coordinate

   AH = 0C
   AL = color value (XOR'ED with current pixel if bit 7=1)
   BH = page number
   CX = column number (zero based)
   DX = row number (zero based)

   returns nothing

   - if bit 7 is 1, color specified is XOR'ed with current pixel
   - page number in BH ignored for 320x200 4 color graphics mode
   - this function is known to destroy AX and possibly SI and DI on
     on some PS/2 VGA systems

   INT 10,D - Read Graphics Pixel at Coordinate

  AH = 0D
  BH = page number
  CX = column number (zero based)
  DX = row number (zero based)

  on return:
  AL = color of pixel read

  - 64K IBM EGAs with BIOS dated 9/13/84 in 350 line video
    modes,  return invalid data in AL
  - page number in BH ignored for 320x200 4 color graphics mode



Fri, 19 Jul 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. putpixel

2. PutPixel in PMODE

3. PutPixel 320*200: how can i do it?

4. vesa Putpixel proc?

5. PutPixel Optimisation

6. putpixel

7. MSVC CHOKES on this ASM putpixel routine!

8. help with true color putpixel - Targa_co.cpp

9. PutPixel Routine

10. need a FAST putpixel routine

11. Fast putpixel procdedure

12. putpixel in svga

 

 
Powered by phpBB® Forum Software