page    58,132
title   display - prototype program
.model  medium
INCLUDE DENNIS.MAC
.286
.stack
.data
coll    db  ?
pal     dw  ?
x       dw  ?
Y       dw  ?

.code


main    proc    far
	push ds
	push 0
	mov ah,00h
	mov al,03h
	int 10h
	mov ax,@data
	mov ds,ax
	mov ah,00h
	mov al,013h
	int 10h
	mov     coll,3
	MOV     X,CX
	MOV     Y,DX
	DOT     X,Y,coll



pix:
	inc dx
	mov pal,cx
	push    cx
	mov ah,10h
	mov bx,pal
	mov dh,byte ptr pal
	mov ch,byte ptr pal
	mov cl,byte ptr pal
	int 10h
	mov ah,0ch
	mov al,byte ptr pal
	int 10h
	pop cx
	loop    pix

	mov ah,00h
	mov AL,03h
	int 10h

	ret

main    endp
	end main
