2 EXTRN SUBCLIPIMAGE:BYTE
3 EXTRN MX_BYTESPERLINE:BYTE
4 EXTRN MX_VIDEOSEGMENT:BYTE
5 MX_TEXT SEGMENT PARA PUBLIC USE16 'CODE'
6 ASSUME CS:MX_TEXT, DS:DGROUP, SS:DGROUP
15 mov bx,word ptr 0cH[bp]
16 mov ax,word ptr 0aH[bp]
19 call near ptr MX_TEXT:SUBCLIPIMAGE
24 add word ptr 0eH[bp],si
25 mul word ptr cs:MX_BYTESPERLINE
30 mov word ptr -0aH[bp],si
31 mov ds,word ptr cs:MX_VIDEOSEGMENT
33 mov byte ptr -0eH[bp],bl
42 mov word ptr -8[bp+di],bx
49 mov byte ptr -10H[bp],4
51 mov es,word ptr 10H[bp]
52 mov ah,byte ptr -0eH[bp]
54 cmp word ptr ss:[bx],0
56 mov di,word ptr 0eH[bp]
61 mov si,word ptr -0aH[bp]
65 mov cx,word ptr ss:[bx]
74 add si,word ptr cs:MX_BYTESPERLINE