colors dont manipulate

In article <4hb7dq$> () writes:
>Ok, I've been having a problem when I try to palette cyclying the color 8
>in textmode(3)....  It works for,0,1,2,3,4,5,6,7 and thats IT!  Humm...
>I know it's not my procedurethough...  Maybe its because BLINK is off (Or
>on, or whatever is default)  Ok,I'm running in circles here, could some
>one give me the code to turn BLINKON/OFF?  Maybethats why itdoesn't work...

Palette problem:

In text modes, the palette is EGA-compatible.  They don't map the same as
in VGA graphics modes.  Instead of using direct values, you need a lookup

  VGAColormap : array[0..15] of byte =

On one video card I've used, entry 6 maps to VGA palette 20, so you may want
to query the EGA palette and find out what values it's using.  Let me know
if you need code to do this.

And, no, it has nothing to do with blink/bright.  Still, here's some code to
deal with that:

  bitfunc = (_bright,_blink);

procedure setbitfunc (func : bitfunc); assembler;

  mov   ax,1003h
  mov   bl,[func]
  int   10h

That's all there is to it!

>(Sorry for thespaceing, spacebar iskindasticky)


>Shawn Martin,
>Microedge Productions '96

Scott F. Earnest             |0100100001000001010010010100110000100000|   |0100010101010010010010010101001100100001|
Head Pope, Non-Extant Temple of Afrodite, Goddess of Funky 70's Hairdos -><-
      YOU'VE BEEN LIED TO:  Possession is only one tenth of the law.
                The other nine tenths is really STUPIDITY!