3 EXTRN MX_BYTESPERLINE:BYTE
4 EXTRN MX_VIDEOSEGMENT:BYTE
9 MX_TEXT SEGMENT PARA PUBLIC USE16 'CODE'
10 ASSUME CS:MX_TEXT, DS:DGROUP, SS:DGROUP
23 mov ax,word ptr 10H[bp]
24 mov bx,word ptr 0eH[bp]
25 mov cx,word ptr 0cH[bp]
26 mov dx,word ptr 0aH[bp]
39 mov word ptr -2[bp],ax
40 mov cx,word ptr cs:MX_BYTESPERLINE
47 mov word ptr -4[bp],ax
48 mov word ptr -0cH[bp],cx
50 mul word ptr cs:MX_BYTESPERLINE
58 mov byte ptr -12H[bp],ah
61 mov ax,word ptr cs:MX_VIDEOSEGMENT
78 mov ax,word ptr -2[bp]
79 mov cx,word ptr -4[bp]
85 call word ptr cs:L$1[bx]
103 cmp cx,word ptr cs:MX_CLIPX1
107 cmp cx,word ptr cs:MX_CLIPX2
111 cmp si,word ptr cs:MX_CLIPY1
115 cmp si,word ptr cs:MX_CLIPY2
119 mov byte ptr -10H[bp],al
121 cmp di,word ptr cs:MX_CLIPX1
125 cmp di,word ptr cs:MX_CLIPX2
129 cmp bx,word ptr cs:MX_CLIPY1
133 cmp bx,word ptr cs:MX_CLIPY2
137 mov byte ptr -0eH[bp],al
138 mov ah,byte ptr -10H[bp]
149 mov word ptr -0aH[bp],ax
152 mov word ptr -0cH[bp],ax
153 mov al,byte ptr -0eH[bp]
159 xchg byte ptr -10H[bp],al
163 mov ax,word ptr cs:MX_CLIPX1
165 mov di,word ptr cs:MX_CLIPX1
170 mov ax,word ptr cs:MX_CLIPX2
172 mov di,word ptr cs:MX_CLIPX2
174 imul word ptr -0cH[bp]
175 idiv word ptr -0aH[bp]
178 cmp bx,word ptr cs:MX_CLIPY2
181 cmp bx,word ptr cs:MX_CLIPY1
188 mov ax,word ptr cs:MX_CLIPY1
190 mov bx,word ptr cs:MX_CLIPY1
193 mov ax,word ptr cs:MX_CLIPY2
195 mov bx,word ptr cs:MX_CLIPY2
197 imul word ptr -0aH[bp]
198 idiv word ptr -0cH[bp]
201 cmp di,word ptr cs:MX_CLIPX1
204 cmp di,word ptr cs:MX_CLIPX2
208 mov ah,byte ptr -10H[bp]
226 mov word ptr -6[bp],cx
229 mov word ptr -8[bp],ax
231 mov ah,byte ptr -12H[bp]
232 mov bl,byte ptr 8[bp]
242 add di,word ptr -6[bp]
244 add si,word ptr -0cH[bp]
245 sub di,word ptr -8[bp]
253 mov word ptr -6[bp],ax
256 mov word ptr -8[bp],ax
257 mov bl,byte ptr 8[bp]
258 mov ah,byte ptr -12H[bp]
266 add si,word ptr -0cH[bp]
267 add di,word ptr -6[bp]
272 sub di,word ptr -8[bp]
280 mov word ptr -6[bp],cx
283 mov word ptr -8[bp],ax
285 mov ah,byte ptr -12H[bp]
286 mov bl,byte ptr 8[bp]
297 add di,word ptr -6[bp]
299 add si,word ptr -0cH[bp]
300 sub di,word ptr -8[bp]
308 mov word ptr -6[bp],ax
311 mov word ptr -8[bp],ax
312 mov bl,byte ptr 8[bp]
313 mov ah,byte ptr -12H[bp]
322 add si,word ptr -0cH[bp]
323 add di,word ptr -6[bp]
328 sub di,word ptr -8[bp]