Intrinsic-45 SetVid

Top  Previous  Next

45: SetVid(mode); (Changed)

 

This intrinsic sets the video display mode. It also clears the screen (unless bit 7 of "mode" is set) and reinitializes the colors and fonts to their defaults. The console display emulates the following standard VGA and VESA video modes.

 

$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $A, $B, $C, $D, $E,

$F, $10, $11, $12, $13, $6A, $100, $101, $102, $103, $104,

$105, $106, $107, $108, $109, $10A, $10B, $10C, $10D, $10E,

$10F, $110, $111, $112, $113, $114, $115, $116, $117, $118,

$119, $11A, $11B, $130, $131, $132, $133, $134, $135, $136,

$13D, $13E, $145, $146, $14A,

 

Unlike DOS, these modes don't make a distinction between text and graphic modes. The lines can be drawn and points set in all the standard text modes.

 

Here is more information about the video modes:

 

Video Mode Descriptions

Video Mode Colors