Video mode and text output
Posted: Tue Aug 15, 2006 10:15 am
Hi all,
i was wondering if it is possible in my real mode os to change the default black background color to white and the letters to black. But according to ralf brown's int list, in text mode only the border color is changeable. So i decided to change my video mode and go to graphics
xor ax,ax
mov ax,04h
int 10h
then i change the background color
xor ax,ax
mov ah,0Bh
mov bl,0Fh ;White
int 10h
and i've changed all my output functions
mov ah,0Eh
mov bl,00h ;black
int 10h
However what i get is a screen filled with an outstanding white and no black letters. How can i print black letters in graphics mode?
Thank you all!
i was wondering if it is possible in my real mode os to change the default black background color to white and the letters to black. But according to ralf brown's int list, in text mode only the border color is changeable. So i decided to change my video mode and go to graphics
xor ax,ax
mov ax,04h
int 10h
then i change the background color
xor ax,ax
mov ah,0Bh
mov bl,0Fh ;White
int 10h
and i've changed all my output functions
mov ah,0Eh
mov bl,00h ;black
int 10h
However what i get is a screen filled with an outstanding white and no black letters. How can i print black letters in graphics mode?
Thank you all!