I set the color register .

Will it change the monitor 's color directly ?

Need not to write the data to the VIEDO RAM ?

Posted on 2004-08-02 21:41:43 by AICE
I set the color register.
Posted on 2004-08-02 22:46:13 by P2M
mov dx, 03c7h
xor bx, bx
mov al, Color
out dx, al
add dx, 2
mov al, Orange
out dx, al
shr al, 1
out dx, al
mov al, 0
out dx, al
inc Color
test Color, 05h
jz incOrange
inc bx
sub dx, 2
cmp bx, 255
jnz again1
jmp end
inc Orange
jmp next
Posted on 2004-08-02 23:45:47 by AICE
It will affect the color at once, there's no need to reset the pixel.
Posted on 2004-08-03 08:44:07 by Sephiroth3
According to the code .

How do it affect to the color ?
Posted on 2004-08-03 21:14:35 by AICE
I want the yellow color .( In 256 color )

How to set the color register ?

Posted on 2004-08-05 20:59:16 by AICE