;This is a test program. .model small .stack 100h .data center = 32160 pause dw ? pause1 dw ? .code init: mov ax,0a000h ;init vga screen mov ds,ax mov al,13h ;control (clear) vga screen mov ah,0 ; int 10h ; mov di,center ;set location of dot call drawp mov di,32170 ;set location of dot call drawp mov ah,4ch ;return control to OS int 21h ;******************* wait1: mov pause,5 agn1: mov pause1,5 agn2: dec pause1 jnz agn2 dec pause jnz agn1 ret ;******************* drawp: mov al,5 ;draw a dot on the screen at location di with color al mov [di],al ret end