; Put characters on the screen with graphics mode (XY at the center)
IDEAL
MODEL small
STACK 100h
DATASEG  

; --------------------------
; Your variables here
; --------------------------
CODESEG
start:
	mov ax, @data
	mov ds, ax
	
;graphics mode
    mov  ax,13h
    int  10h
    mov  dl, 20   ;Column
    mov  dh, 12   ;Row
    mov  bh, 0    ;Display page
    mov  ah, 02h  ;SetCursorPosition
    int  10h

    mov  al, 'X'
    mov  bl, 0Ch  ;Color is red
    mov  bh, 0    ;Display page
    mov  ah, 0Eh  ;Teletype
    int  10h
    
    mov  dl, 21   ;Column
    mov  dh, 12   ;Row
    mov  bh, 0    ;Display page
    mov  ah, 02h  ;SetCursorPosition
    int  10h

    mov  al, 'Y'
    mov  bl, 0Ch  ;Color is red
    mov  bh, 0    ;Display page
    mov  ah, 0Eh  ;Teletype
    int  10h
    

; Wait for key press
    mov  ah,00h  
    int  16h 
; back to text mode    
    mov  ax,3h
    int  10h 


exit:
	mov ax, 4c00h
	int 21h
END start