;This demonstrates int 10h subfunctions 9 and 2

;A row of happy faces in the middle of screen


        mov     dh, 0
        mov     dl, 0                   ;col 0, row 12

        mov     ah, 2
        mov     bh, 0                   ;set cursor for video page 0

        int     10h


        mov     al, 1                   ;ascii happy face
        mov     cx, 80*50                  ;1 row
        mov     ah, 9                   ;write with attrib
        mov     bl, 8eh                 ;yellow on black

        int     10h



        int     20h


        end