News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

video mode

Started by xxxx, February 05, 2005, 01:57:01 AM

Previous topic - Next topic

xxxx

                                                                        MOV AH,00
                                                                         MOV AL,06
                                                                         INT 10H



when i execute a program that contains that instructions the screen goes blank.what's the problem?i'm guessing that the monitor dosen't support it
                                                                         

thomasantony

AFAIK,  The screen gets cleared when you set a new video mode

Thomas Antony :U
There are 10 types of people in the world. Those who understand binary and those who don't.


Programmer's Directory. Submit for free

MichaelW

Bit 7 of the mode value controls whether or not the display memory is erased at mode set. If bit 7 is set (e.g. 86h for mode 6) then the display memory is not erased.  But if you are changing from an alphanumeric mode to a graphics mode then you probably should erase the display memory because the alphanumeric modes use the bit planes to store characters, attributes, and font bit patterns, and this data would appear as garbage in the graphics modes.
eschew obfuscation