3 EXTRN SUBHORIZONTALLINEINFO:BYTE
4 EXTRN MX_VIDEOSEGMENT:BYTE
5 EXTRN MX_BYTESPERLINE:BYTE
6 MX_TEXT SEGMENT PARA PUBLIC USE16 'CODE'
7 ASSUME CS:MX_TEXT, DS:DGROUP, SS:DGROUP
16 cmp word ptr 0cH[bp],0
18 mov ax,word ptr 10H[bp]
40 mov cx,word ptr 0cH[bp]
41 call near ptr MX_TEXT:SUBHORIZONTALLINEINFO
42 mov byte ptr -14H[bp],al
43 mov byte ptr -16H[bp],ah
44 mov word ptr 0cH[bp],cx
45 mov ax,word ptr cs:MX_VIDEOSEGMENT
48 mov ax,word ptr 0eH[bp]
49 mul word ptr cs:MX_BYTESPERLINE
50 mov si,word ptr 10H[bp]
58 mov ah,byte ptr -14H[bp]
64 mov ax,word ptr cs:MX_BYTESPERLINE
66 mov cx,word ptr 0aH[bp]
80 mov bx,word ptr 0cH[bp]
86 mov ax,word ptr cs:MX_BYTESPERLINE
88 mov dx,word ptr 0aH[bp]
103 mov ah,byte ptr -16H[bp]
109 mov ax,word ptr cs:MX_BYTESPERLINE
111 mov cx,word ptr 0aH[bp]
124 mov cx,word ptr 0cH[bp]
133 mov word ptr -8[bp+si],bx
139 mov ax,word ptr cs:MX_VIDEOSEGMENT
142 mov ax,word ptr 0eH[bp]
143 mul word ptr cs:MX_BYTESPERLINE
144 mov si,word ptr 10H[bp]
148 mov word ptr -0aH[bp],si
149 mov ax,word ptr 6[bp]
150 mul word ptr cs:MX_BYTESPERLINE
151 mov di,word ptr 8[bp]
155 mov word ptr -0cH[bp],di
156 mov ax,word ptr 10H[bp]
158 mov byte ptr -10H[bp],al
159 mov cx,word ptr 8[bp]
163 mov byte ptr -12H[bp],al
165 mov byte ptr -0eH[bp],4
168 cmp word ptr ss:[bx],0
170 mov ah,byte ptr -12H[bp]
175 mov ah,byte ptr -10H[bp]
179 mov dx,word ptr 0aH[bp]
180 mov ax,word ptr cs:MX_BYTESPERLINE
181 sub ax,word ptr ss:[bx]
183 mov cx,word ptr ss:[bx]
194 inc byte ptr -10H[bp]
195 and byte ptr -10H[bp],3
197 inc word ptr -0aH[bp]
199 rol byte ptr -12H[bp],1
200 adc word ptr -0cH[bp],0
201 mov si,word ptr -0aH[bp]
202 mov di,word ptr -0cH[bp]
203 dec byte ptr -0eH[bp]