1. A little question about m19lib
Hello !
Does anyone can help me with m19lib ?
* How to use functions like polygon, draw_line, trace(),... after calling
set_vga() from m19lib.e ? it works but it displays nothing
* How to "shift" a VS ? for example : I want to display a VS at {30,30}
and not at {0,0}
Thanks in advance!
Gwen
2. Re: A little question about m19lib
Well, I have some bad news and some bad news...
The functions in graphics.e (draw_line(), polygon() etc.) doesn't work after
calling set_vga(). If you want these to work you must set the graphics mode
with the graphics_mode() function in graphics.e. All the m19lib routines
works just as fine if you set the graphics mode this way (as far as I know),
but that ugly border will appear around the screen.
There's no way to shift a virtual screen with asm_copy_screen() but you
could use something like:
(where xpos and ypos are the coordinates you want to display the screen at,
screen_address is the address of the virtual screen you want to display and
display_address is the address of the screen you want to display it on.)
This should work, although it's slower than asm_copy_screen(). If you think
that the slowdown is too big, you could always modify asm_copy_screen() to
take display-coordinates. It shouldn't be too hard...
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
3. Re: A little question about m19lib
------=_NextPart_000_557c8456_371f7998$1fb5e804
Content-type: text/plain; format=flowed;
>From: Gwenaƫl Joret <mb11363 at TVD.BE>
>Subject: A little question about m19lib
>Date: Tue, 18 May 1999 17:34:02 -0400
>
>* How to use functions like polygon, draw_line, trace(),... after calling
>set_vga() from m19lib.e ? it works but it displays nothing
Jiri Babor made some V-Screen-Drawing routines
called VGraph,
It's attached to this mail.
Bye,
PQ
QC
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
------=_NextPart_000_557c8456_371f7998$1fb5e804
Content-Transfer-Encoding: 8bit