Replying to a message of Tom Torfs to Darryl Gregorash:
RG>> ... get the color of a pixel in 1024x768 256 color mode....
DG>> INT 10 - VIDEO - READ GRAPHICS PIXEL
TT> This BIOS function is horribly slow, and I'm not sure if it
TT> will support these high-resolution modes. You're better off
TT> with a library written specifically for this purpose.
Any VESA compliant card should support that for the modes it supports, right?
I don't know about getting the pixel value for anything higher than 256
colour modes, but it should be OK up to 256 colours.
Are generic libraries available which are not completely hardware-dependent?
If so, then I agree, that is the best way to go.
--- FleetStreet 1.21 NR
---------------
* Origin: BIG BANG Burger Bar: Regina SK Canada (1:140/86)
|