7 EXTRN MX_VIDEOSEGMENT:BYTE
8 EXTRN MX_BYTESPERLINE:BYTE
9 MX_TEXT SEGMENT PARA PUBLIC USE16 'CODE'
10 ASSUME CS:MX_TEXT, DS:DGROUP, SS:DGROUP
19 cmp si,word ptr cs:MX_CLIPX1
21 cmp si,word ptr cs:MX_CLIPX2
24 cmp bx,word ptr cs:MX_CLIPY1
26 cmp bx,word ptr cs:MX_CLIPY2
33 mov ds,word ptr cs:MX_VIDEOSEGMENT
35 mul word ptr cs:MX_BYTESPERLINE
53 mov si,word ptr 0aH[bp]
54 cmp si,word ptr cs:MX_CLIPX1
56 cmp si,word ptr cs:MX_CLIPX2
59 cmp ax,word ptr cs:MX_CLIPY1
61 cmp ax,word ptr cs:MX_CLIPY2
63 mov ds,word ptr cs:MX_VIDEOSEGMENT
64 mul word ptr cs:MX_BYTESPERLINE
68 mov cl,byte ptr 0aH[bp]