i read that func 0bh of int 10h sets bkcolor and border color in graphics mode and only border color in text mode
i try in text mode and works ok as
mov ah,0bh
mov bh,00 ; for bkcolor
mov bl,color
int 10h
above sets border of specify color in txt mode
can anybody give me example of setting bkcolor & border in graphic mode
i try in text mode and works ok as
mov ah,0bh
mov bh,00 ; for bkcolor
mov bl,color
int 10h
above sets border of specify color in txt mode
can anybody give me example of setting bkcolor & border in graphic mode
For graphics mode, you generally write pixels to the screen in whatever location you need. You would have to get the dimensions of the screen, adhere to the attributes of the graphics mode you are using, and draw pixels in the color of your choice using those dimensions as the extremities.
THIS LINK is a particular example that you should be able to use as a guide.
THIS LINK is a particular example that you should be able to use as a guide.