Re: A little question about m19lib
- Posted by stab master <stabmaster_ at HOTMAIL.COM> May 19, 1999
- 465 views
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