4 EXTRN MX_BYTESPERLINE:BYTE
5 EXTRN MX_VIDEOSEGMENT:BYTE
6 MX_TEXT SEGMENT PARA PUBLIC USE16 'CODE'
7 ASSUME CS:MX_TEXT, DS:DGROUP, SS:DGROUP
16 mov ax,word ptr 0aH[bp]
17 mul word ptr cs:MX_BYTESPERLINE
18 mov di,word ptr 0cH[bp]
22 mov es,word ptr cs:MX_VIDEOSEGMENT
23 lds si,dword ptr 0eH[bp]
26 mov cl,byte ptr 0cH[bp]
30 mov word ptr 0aH[bp],4
31 mov bx,word ptr cs:MX_BYTESPERLINE
37 mov word ptr 0cH[bp],di
48 mov di,word ptr 0cH[bp]
69 mov ax,word ptr 0aH[bp]
70 mul word ptr cs:MX_BYTESPERLINE
71 mov di,word ptr 0cH[bp]
75 mov es,word ptr cs:MX_VIDEOSEGMENT
76 lds si,dword ptr 0eH[bp]
79 mov cl,byte ptr 0cH[bp]
83 mov word ptr 0aH[bp],4
84 mov bx,word ptr cs:MX_BYTESPERLINE
90 mov word ptr 0cH[bp],di
99 mov byte ptr es:[di],al
109 mov di,word ptr 0cH[bp]