IF YOU HAVE NO EXPERIENCE WITH COMPILING X, DONT TRY TO MAKE THIS
WORK.  IF YOU ARE NOT WILLING TO MESS AROUND WITH IT, DONT TRY TO MAKE THIS
WORK.

make a tvga8900 directory in the mit/server/ddx/at386/vga directory.

Imakefile2 is the Imakefile for the mit/server/ddx/at386/vga/tvga8900 directory.
Imakefile1 is the Imakefile for the mit/server/ddx/at386/vga directory.

Xconfig is a sample Xconfig file, which i use for my machine.

vgaHW.c is the same as the old vgaHW.c, except that the restore font info bcopy
        is commented out because it caused the machine to crash when the
        server was exited. this is irrelevant anyway, because the load old mode
        sequencer 13 or 14 seems to do this anyway. i have no idea why.
	if you get rid of this bcopy, and the load old mode sequencer 13
	and 14, you can exit without using kill -9 -1. however, the font
	info will still be messed up.

bank.s and driver.c go in the mit/server/ddx/at386/vga/tvga8900 directory.
        this is the actuall driver.

vgaBitBlt.c  is a slightly modified version of vgaBitBlt.c, so it will
        work with a single window.

vgaConfig.c  is modified so X386 will accept the tvga8900 video card type
         in the Xconfig file.

vga.h         is modified so it will work with the a single window.


this server does not work completely.  i am only posting it now because
i have no idea when i will be able to make any more progress, as i have
no data sheets, and have no idea where to get some.

from what i've heard, the data sheets trident sells for $30 are not
complete. i wouldn't want to spend $30 anyway. so please dont sugest that
i call trident. however, i would be interested in a photo copy of the
trident data sheets.

my recomendation, if you have the money, would be to junk your trident
board, and get an tseng 4000 board.  unfortunately, i dont have the money.

HINTS:

i've only tried starting the server by either running X386, or xinit.
i've not gotten xdm to work, but i think this is because it doesn't
work on an at&t with the kind of mouse i have.

after starting the server, push ctl-alt-- or ctl-alt-+ to fix up some
registers. this seems to be needed because i am not setting up the
old mode sequencer 13 or 14 right, but i dont know how to do it right.

after doing the above, run xsetroot to clean up the screen, and type clear
to fix up the xterm.

to exit, su to the id that started the server, and type ``kill -9 -1''.
now run something to clean up the screen. i run vpix, a dos emulator.
by the way, ``kill -9 -1'' will kill every one of your processes. i would
not advise doing this as root on a multi-user system. on a 1 user system though
its harmless, as init and the important stuff ignores signal 9. of course,
cron will die, but who cares?

PLEA:

please send me any data you have about the t8900 chip. esspecially about the
apparently undocumented sequencer 12. that is twelve, not eighteen.
also about the high 4 bits of the old mode seqeuncer 14 register, and
some details about setting the old mode sequencer registers. for example,
are there any problems with timing? can i just write to registers as fast as
i like, or should i put in some delays somewhere? i have a copy of ferraro's 
book, and i would like info about any bits of any registers not mentioned in
that book.

IF YOU HAVE ANY PROBLEMS:
send me email at gwoho@globie.caltech.edu.  please tell me as much as possable
about your setup.

gwoho liu.
gwoho@globie.caltech.edu
