2 EXTRN MX_BYTESPERLINE:BYTE
3 EXTRN MX_VIDEOSEGMENT:BYTE
8 MX_TEXT SEGMENT PARA PUBLIC USE16 'CODE'
9 ASSUME CS:MX_TEXT, DS:DGROUP, SS:DGROUP
22 mov ax,word ptr 10H[bp]
23 mov bx,word ptr 0eH[bp]
24 mov cx,word ptr 0cH[bp]
25 mov dx,word ptr 0aH[bp]
38 mov word ptr -2[bp],ax
39 mov cx,word ptr cs:MX_BYTESPERLINE
46 mov word ptr -4[bp],ax
47 mov word ptr -0cH[bp],cx
49 mul word ptr cs:MX_BYTESPERLINE
57 mov byte ptr -12H[bp],ah
60 mov ax,word ptr cs:MX_VIDEOSEGMENT
77 mov ax,word ptr -2[bp]
78 mov cx,word ptr -4[bp]
84 call word ptr cs:L$1[bx]
102 cmp cx,word ptr cs:MX_CLIPX1
106 cmp cx,word ptr cs:MX_CLIPX2
110 cmp si,word ptr cs:MX_CLIPY1
114 cmp si,word ptr cs:MX_CLIPY2
118 mov byte ptr -10H[bp],al
120 cmp di,word ptr cs:MX_CLIPX1
124 cmp di,word ptr cs:MX_CLIPX2
128 cmp bx,word ptr cs:MX_CLIPY1
132 cmp bx,word ptr cs:MX_CLIPY2
136 mov byte ptr -0eH[bp],al
137 mov ah,byte ptr -10H[bp]
148 mov word ptr -0aH[bp],ax
151 mov word ptr -0cH[bp],ax
152 mov al,byte ptr -0eH[bp]
158 xchg byte ptr -10H[bp],al
162 mov ax,word ptr cs:MX_CLIPX1
164 mov di,word ptr cs:MX_CLIPX1
169 mov ax,word ptr cs:MX_CLIPX2
171 mov di,word ptr cs:MX_CLIPX2
173 imul word ptr -0cH[bp]
174 idiv word ptr -0aH[bp]
177 cmp bx,word ptr cs:MX_CLIPY2
180 cmp bx,word ptr cs:MX_CLIPY1
187 mov ax,word ptr cs:MX_CLIPY1
189 mov bx,word ptr cs:MX_CLIPY1
192 mov ax,word ptr cs:MX_CLIPY2
194 mov bx,word ptr cs:MX_CLIPY2
196 imul word ptr -0aH[bp]
197 idiv word ptr -0cH[bp]
200 cmp di,word ptr cs:MX_CLIPX1
203 cmp di,word ptr cs:MX_CLIPX2
207 mov ah,byte ptr -10H[bp]
225 mov word ptr -6[bp],cx
228 mov word ptr -8[bp],ax
230 mov ah,byte ptr -12H[bp]
231 mov bl,byte ptr 8[bp]
241 add di,word ptr -6[bp]
243 add si,word ptr -0cH[bp]
244 sub di,word ptr -8[bp]
252 mov word ptr -6[bp],ax
255 mov word ptr -8[bp],ax
256 mov bl,byte ptr 8[bp]
257 mov ah,byte ptr -12H[bp]
265 add si,word ptr -0cH[bp]
266 add di,word ptr -6[bp]
271 sub di,word ptr -8[bp]
279 mov word ptr -6[bp],cx
282 mov word ptr -8[bp],ax
284 mov ah,byte ptr -12H[bp]
285 mov bl,byte ptr 8[bp]
296 add di,word ptr -6[bp]
298 add si,word ptr -0cH[bp]
299 sub di,word ptr -8[bp]
307 mov word ptr -6[bp],ax
310 mov word ptr -8[bp],ax
311 mov bl,byte ptr 8[bp]
312 mov ah,byte ptr -12H[bp]
321 add si,word ptr -0cH[bp]
322 add di,word ptr -6[bp]
327 sub di,word ptr -8[bp]