[comp.sys.ibm.pc] VGA programming woes

davidg@uns-helios.nevada.edu (DAVID GONZALES) (02/15/90)

hi,
	I am trying to write a program that will program a Orchid VGA card in
a non-DOS, non-INTEL environment (ie - a 68000-based system). I have been using
the Input/Output ports of the VGA card but have been unable to set the mode. Or
I should say that I think that I am changing the mode correctly but I am getting
no video to the screen. I have been using a 386-based DOS machine as a test base
but after setting the registers the screen goes blank and I need to use a MODE 
CO80 command to reset the card back to normal. My question is: Is there a trick
to setting the mode via I/O calls or is there a register that I am missing (or
am i failing to set a certain bit in the register(s)). I have the Technical
Reference Manual (from TSENG) that gives me all the register contents for each
of the modes that the card supports but I do not have much information about
programming the card (they use the BIOS!). Thanks.

david a. gonzales
ERC/UNLV