2 EXTRN SUBHORIZONTALLINEINFO:BYTE
3 EXTRN MX_VIDEOSEGMENT:BYTE
4 EXTRN MX_BYTESPERLINE:BYTE
5 MX_TEXT SEGMENT PARA PUBLIC USE16 'CODE'
6 ASSUME CS:MX_TEXT, DS:DGROUP, SS:DGROUP
15 cmp word ptr 0cH[bp],0
17 mov ax,word ptr 10H[bp]
39 mov cx,word ptr 0cH[bp]
40 call near ptr MX_TEXT:SUBHORIZONTALLINEINFO
41 mov byte ptr -14H[bp],al
42 mov byte ptr -16H[bp],ah
43 mov word ptr 0cH[bp],cx
44 mov ax,word ptr cs:MX_VIDEOSEGMENT
47 mov ax,word ptr 0eH[bp]
48 mul word ptr cs:MX_BYTESPERLINE
49 mov si,word ptr 10H[bp]
57 mov ah,byte ptr -14H[bp]
63 mov ax,word ptr cs:MX_BYTESPERLINE
65 mov cx,word ptr 0aH[bp]
79 mov bx,word ptr 0cH[bp]
85 mov ax,word ptr cs:MX_BYTESPERLINE
87 mov dx,word ptr 0aH[bp]
102 mov ah,byte ptr -16H[bp]
108 mov ax,word ptr cs:MX_BYTESPERLINE
110 mov cx,word ptr 0aH[bp]
123 mov cx,word ptr 0cH[bp]
132 mov word ptr -8[bp+si],bx
138 mov ax,word ptr cs:MX_VIDEOSEGMENT
141 mov ax,word ptr 0eH[bp]
142 mul word ptr cs:MX_BYTESPERLINE
143 mov si,word ptr 10H[bp]
147 mov word ptr -0aH[bp],si
148 mov ax,word ptr 6[bp]
149 mul word ptr cs:MX_BYTESPERLINE
150 mov di,word ptr 8[bp]
154 mov word ptr -0cH[bp],di
155 mov ax,word ptr 10H[bp]
157 mov byte ptr -10H[bp],al
158 mov cx,word ptr 8[bp]
162 mov byte ptr -12H[bp],al
164 mov byte ptr -0eH[bp],4
167 cmp word ptr ss:[bx],0
169 mov ah,byte ptr -12H[bp]
174 mov ah,byte ptr -10H[bp]
178 mov dx,word ptr 0aH[bp]
179 mov ax,word ptr cs:MX_BYTESPERLINE
180 sub ax,word ptr ss:[bx]
182 mov cx,word ptr ss:[bx]
193 inc byte ptr -10H[bp]
194 and byte ptr -10H[bp],3
196 inc word ptr -0aH[bp]
198 rol byte ptr -12H[bp],1
199 adc word ptr -0cH[bp],0
200 mov si,word ptr -0aH[bp]
201 mov di,word ptr -0cH[bp]
202 dec byte ptr -0eH[bp]