3 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
23 mov word ptr -2[bp],ax
24 mov ds,word ptr cs:MX_VIDEOSEGMENT
60 mov ax,word ptr -2[bp]
67 sub word ptr -2[bp],ax
74 add word ptr -2[bp],ax
86 add bx,word ptr 0cH[bp]
87 add ax,word ptr 0aH[bp]
88 cmp bx,word ptr cs:MX_CLIPX1
90 cmp bx,word ptr cs:MX_CLIPX2
92 cmp ax,word ptr cs:MX_CLIPY1
94 cmp ax,word ptr cs:MX_CLIPY2
96 mul word ptr cs:MX_BYTESPERLINE
106 mov al,byte ptr 6[bp]