SVGA Vesa screen driver for 800x600x16 
-----------------------------------------------------------------------------
 I WILL NOT ACCEPT RESPONSIBILITY FOR ANY KIND OF DAMAGE DUE TO THE USE OR
 MISUSE OF THIS DRIVER.
-----------------------------------------------------------------------------

This driver doesn't work with Locomotive Basic2, Locomotive Basic2+ does work.
And on RAGE pro card you get wrong colors.

To compile you need RASM86,Lattice C (LC1,LC2) and Link86.
Before compiling you must set the path to this tools correct in comp.bat
After compiling you should get a file called sdspc8.vga. If your driver
has a other name rename it otherwise copyit directly over the original
in \GEMAPPS\GEMSYS or if you are using FreeGEM VDI/GDOS change GEMSYS.CFG.
Thats all

The driver is a patched version of the original GEM/3 Vga driver. Which
is stored in the \SCREENDR\VERT16CL directory.
I have made the following modifications.

In file VERTICMF.A86 i changed routine to set graphics mode.
In file EXTERNS.VRF i changed the size of the screen, planesize and so..
In file NAMES.VRF i changes the identify strings.
If you want you can change the driver so that it switches to 800x600x16 mode
and make GEM only use of 320x200 or so for this you have to change in the file
EXTERNS.VRF the following lines 23,24.
xresmx          equ     799                     ;X - Maximum resolution.
yresmx          equ     599                     ;Y - Maximum resolution.

Change 799 to the X-Resoultuin you want -1.
Change 599 to the Y-Resoultuin you want -1.
For Example for 320x200
xresmx          equ     319                     ;X - Maximum resolution.
yresmx          equ     199                     ;Y - Maximum resolution.

This produces a driver which runs in 800x600x16 color mode but GEM is only
using 319x199.


The screen set routine tries 2 ways to get into 800x600x16 color mode.
Both ways are described in the documentation to VESA 1.2 and should so work
with every vesa compatible card.

If you have questions or so please contact me.
Heinz Rath <hans.rath@vpn.at>
