Board index » delphi » graphic pages

graphic pages

Hello,
I need to know if there is a way to have 2 graphic pages under the
640x480 mode. For instance, does it exist a 640x480x2 mode?

 

Re:graphic pages


Quote
Stefano Vezzani wrote:

> Hello,
> I need to know if there is a way to have 2 graphic pages under the
> 640x480 mode. For instance, does it exist a 640x480x2 mode?

Hi,
 There are 4 pages in 640X480X16 color Mode
 and only 1 Page in 640X480X256 color Mode

search in the help index for SetActivePage and SetVisualPage.

Regards,
Hossam

Re:graphic pages


Quote
Hossam Rady wrote:

> Stefano Vezzani wrote:

> > Hello,
> > I need to know if there is a way to have 2 graphic pages under the
> > 640x480 mode. For instance, does it exist a 640x480x2 mode?

> Hi,
>  There are 4 pages in 640X480X16 color Mode
>  and only 1 Page in 640X480X256 color Mode

> search in the help index for SetActivePage and SetVisualPage.

> Regards,
> Hossam

Exactly which package/unit are you using then?
I've always had to cope with 1 page in 16 color mode.
With BGI-graphics that is.
You'd have 2 pages in 640x350x16 color mode and 4 in 640x200x16 color
mode.

Sorry if I'm mistaken.

Ciao,

Remco de Korte
Soft Machine
http://www.xs4all.nl/~remcodek/program.html

Re:graphic pages


Quote
Stefano Vezzani wrote:
> Hello,
> I need to know if there is a way to have 2 graphic pages under the
> 640x480 mode. For instance, does it exist a 640x480x2 mode?

For both 640x480 VGA resolutions (11h=640x480x2 and 12h=640x480x16), only one
page is available.  To get another page, you'd have to store an image in main
memory and swap as needed, but that uses a good deal of memory.

--
Scott Earnest            | SPAM protection in effect. Remove  |
setech@_ix.netcom.com    | "_" as needed for true addresses.  |
earnests@_homenet.lm.com |    UIN:1136443  EFnet:pale_blue    |
sinykal@_{*word*104}space.org  | URL: http://www.netcom.com/~setech |

Re:graphic pages


Quote
Hossam Rady wrote:
> Stefano Vezzani wrote:

> > Hello,
> > I need to know if there is a way to have 2 graphic pages under the
> > 640x480 mode. For instance, does it exist a 640x480x2 mode?

> Hi,
>  There are 4 pages in 640X480X16 color Mode

No there aren't.

Quote
>  and only 1 Page in 640X480X256 color Mode

That's funny, if my calculations are right, I ought to be able to get 13
entire pages in 640x480x256 on my video card.  See, in SVGA resolutions pages
are determined by amount of memory installed.  The *only* card that would
provide only 1 page in that resolution is one that has 512K installed like an
ancient TSENG ET3000 card.

Quote
> search in the help index for SetActivePage and SetVisualPage.

> Regards,
> Hossam

--
Scott Earnest            | SPAM protection in effect. Remove  |
setech@_ix.netcom.com    | "_" as needed for true addresses.  |
earnests@_homenet.lm.com |    UIN:1136443  EFnet:pale_blue    |
sinykal@_{*word*104}space.org  | URL: http://www.netcom.com/~setech |

Other Threads