MS QC _getimage()

Fred Smith fredex at cg-atla.UUCP
Mon Aug 14 23:10:59 AEST 1989


In article <53050 at aerospace.AERO.ORG> srt at aero.UUCP (Scott "TCB" Turner) writes:
>DISCLAIMER:  I use Turbo C myself.
>
>It seems to me that one possibility is to construct a screen image on
>one of the unused pages of graphics memory and then do a getimage() from
>there and a putimage() to the active page.  Of course, you can also 
>just switch the active page, if you want to change the entire display.
>
>Related Questions:
>
>Is there any way to tell how many pages of graphics memory are
>available?  In Turbo it seems the only way is to switch to a page and
>check for an error.  I presume the graphics memory is on the adapter
>card and is not being taken from core?
>
>Is there a good way to dump/retrieve images to file?
>
>					-- Scott Turner





------------------------------

Scott et al:

I am told that there is no way to tell how many pages of display memory
are available on a given display adapter. If one assumes that the current
display adapter is the original hardware manufacturer's model (i.e., not
a clone) then you can make ASSUMPTIONS about it--but I have hard it said
that this is not dependable in the world of clones because not all
clone board makers implement an exact copy of the original board.

In Dr. Dobbs Journal back in the spring of 1989 Jeff Duntemann discusses
this problem in one of his columns.

Fred



More information about the Comp.lang.c mailing list