3 EXTRN SUBCLIPIMAGE:BYTE
4 EXTRN MX_BYTESPERLINE:BYTE
5 EXTRN MX_VIDEOSEGMENT:BYTE
6 MX_TEXT SEGMENT PARA PUBLIC USE16 'CODE'
7 ASSUME CS:MX_TEXT, DS:DGROUP, SS:DGROUP
16 mov bx,word ptr 0cH[bp]
17 mov ax,word ptr 0aH[bp]
20 call near ptr MX_TEXT:SUBCLIPIMAGE
25 add word ptr 0eH[bp],si
26 mul word ptr cs:MX_BYTESPERLINE
31 mov word ptr -0aH[bp],si
32 mov ds,word ptr cs:MX_VIDEOSEGMENT
34 mov byte ptr -0eH[bp],bl
43 mov word ptr -8[bp+di],bx
50 mov byte ptr -10H[bp],4
52 mov es,word ptr 10H[bp]
53 mov ah,byte ptr -0eH[bp]
55 cmp word ptr ss:[bx],0
57 mov di,word ptr 0eH[bp]
62 mov si,word ptr -0aH[bp]
66 mov cx,word ptr ss:[bx]
75 add si,word ptr cs:MX_BYTESPERLINE