Video display modes: Difference between revisions

m
No edit summary
Line 14:
 
Some other trivia about changing video modes:
 
 
* Using the above command to switch video modes to the same video mode you're already in will wipe the screen of all graphics, reset the text cursor, and, for VGA mode, reloads the standard VGA palette, destroying whatever user-defined palette was stored in the graphics card's memory. "Switching" to the same video mode again is a quick and easy way to clear the screen.
* Regardless of whether you use CGA or EGA, the same text-related commands and service calls will work just as they do in MS-DOS mode. The only difference is the font which is a lot larger and supports the change of text color.
* If you use <code>mov ax,4C00h int 21h</code> to return to DOS while in a different video mode, you will still be in that video mode when you return.
 
=={{header|AmigaBASIC}}==
 
1,489

edits