You can use vid_setmode() to access the graphics modes available on color adapters, but graphics modes are not supported by any of the display functions of Vermont Views.
If you want to use graphics and Vermont Views in the same program, you can first save the text-mode screen using FULL_WNP and then set a graphics mode. You must not attempt to use the Vermont Views output functions while in the graphics mode. When you are done with graphics, call vid_setmode() to set the text mode, and then restore the saved text screen.
The following code demonstrates these steps:
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|