2 EXTRN MX_VIDEOSEGMENT:BYTE
7 EXTRN MX_BYTESPERLINE:BYTE
8 MX_TEXT SEGMENT PARA PUBLIC USE16 'CODE'
9 ASSUME CS:MX_TEXT, DS:DGROUP, SS:DGROUP
22 mov word ptr -2[bp],ax
23 mov ds,word ptr cs:MX_VIDEOSEGMENT
59 mov ax,word ptr -2[bp]
66 sub word ptr -2[bp],ax
73 add word ptr -2[bp],ax
85 add bx,word ptr 0cH[bp]
86 add ax,word ptr 0aH[bp]
87 cmp bx,word ptr cs:MX_CLIPX1
89 cmp bx,word ptr cs:MX_CLIPX2
91 cmp ax,word ptr cs:MX_CLIPY1
93 cmp ax,word ptr cs:MX_CLIPY2
95 mul word ptr cs:MX_BYTESPERLINE
105 mov al,byte ptr 6[bp]