Task

Display a word in various colours on the terminal.

The system palette, or colours such as Red, Green, Blue, Magenta, Cyan, and Yellow can be used.



Optionally demonstrate:

 How the system should determine if the terminal supports colour
 Setting of the background colour
 How to cause blinking or flashing (if supported by the terminal)


       .model small
       .stack 1024
       .data
       .code
start:
 
	mov ax,@data		
	mov ds,ax			
 
	mov ax,@code		
	mov es,ax			
 
 
	cld					;String functions are set to auto-increment
 
	mov ax,13h                              ;select 320x200 VGA 
	int 10h
 
	mov ah,0Eh
	mov al,'A'                              ;select char to print
	mov bx,11                               ;select color to print it in
	int 10h
 
 
ExitDOS:				
	mov ax,4C00h		                 ;return to dos
	int 21h
end start