3 EXTRN MX_BYTESPERLINE:BYTE
4 EXTRN MX_VIDEOSEGMENT:BYTE
5 MX_TEXT SEGMENT PARA PUBLIC USE16 'CODE'
6 ASSUME CS:MX_TEXT, DS:DGROUP, SS:DGROUP
15 mov ax,word ptr 0aH[bp]
16 mul word ptr cs:MX_BYTESPERLINE
17 mov di,word ptr 0cH[bp]
21 mov es,word ptr cs:MX_VIDEOSEGMENT
22 lds si,dword ptr 0eH[bp]
25 mov cl,byte ptr 0cH[bp]
29 mov word ptr 0aH[bp],4
30 mov bx,word ptr cs:MX_BYTESPERLINE
36 mov word ptr 0cH[bp],di
47 mov di,word ptr 0cH[bp]
68 mov ax,word ptr 0aH[bp]
69 mul word ptr cs:MX_BYTESPERLINE
70 mov di,word ptr 0cH[bp]
74 mov es,word ptr cs:MX_VIDEOSEGMENT
75 lds si,dword ptr 0eH[bp]
78 mov cl,byte ptr 0cH[bp]
82 mov word ptr 0aH[bp],4
83 mov bx,word ptr cs:MX_BYTESPERLINE
89 mov word ptr 0cH[bp],di
98 mov byte ptr es:[di],al
108 mov di,word ptr 0cH[bp]