1. SVGA.E - MORE QUESTIONS

Somehow, I felt I understood more of the file in the old archive. Might simply
be a misunderstanding. But I find that I do not fully understand the effects of
the listed functions and procedures in SVGA.E, and that I do not have the
patience to work it all out. Not within this year, at least.

So what I am asking for is - HELP -
The demo provided in the package, stars.ex, it is a nice start.

while get_key() = -1 do
   svga_flip_screen()
   displaystars()                               -- write stars
   -- (edited out)
end while


svga_flip_screen()
I get the impression that this swaps the hidden screen with the visible screen.
But nowhere does the code seem to be writing to the hidden screen, so... Then it
looks to me as if it is first writing to the visible screen and then swapping it
out (blackening the visible screen again).
I wonder what this procedure actually does to the screen.
If there is a HIDDEN destination and a VISIBLE destination, do those remain the
same? Or does a flip cause the two to swap?

svga_put_pixel()
Is this command the true equivalent of pixel() in normal graphics.e? (When it
comes to method of use).


How to write to the hidden screen? (And does svga_flip_screen() store the
visible screen in place of the hidden one, and display the hidden one?)

I hope this will not be too much trouble.

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu