[comp.graphics] Paradise 1024 VGA "Set Special Mode" BIOS call

ps299bx@sdcc6.ucsd.edu (Jeffrey Hartung) (10/02/90)

I am having trouble using the INT 10H call needed to set a special mode on the
Paradise 1024 VGA.  The call is _SUPPOSED_ to work by setting AX to 7E, BX to
the horiz. dimension (pixels for graphics modes, columns for text modes), CX
to the vertical dimension (see BX), and DX to the no. of colors desired (or 0
for monochrome modes). The call returns 7E in the BH register if successful,
but I always seem to get FF returned.  I am trying to set the VGA to a 640x350
256 color mode.

Anyone who has done this, please let me know how it is done.  (For one thing,
how does the Paradise 1024 know whether I am trying to set a graphics or a
text mode?)

Also, what is the fastest was to load the palette from a GIF file?  Right now,
I'm setting each register individually, but I'd like to set the whole palette
in one call (say, an INT 10H AX=1012 call?)  Again, I know how it _should_
work, but have had no success.