2 PUBLIC MXSETVIRTUALSCREEN
3 PUBLIC MXGETVIRTUALSCREEN
4 EXTRN MX_CODESEGMENT:BYTE
5 EXTRN MX_BYTESPERLINE:BYTE
6 EXTRN MXROWADDRESS:BYTE
7 EXTRN MXSETSYSCLIPREGION:BYTE
8 MX_TEXT SEGMENT PARA PUBLIC USE16 'CODE'
9 ASSUME CS:MX_TEXT, DS:DGROUP, SS:DGROUP
11 add byte ptr [bx+si],al
13 add byte ptr [bx+si],al
19 mov ds,word ptr cs:MX_CODESEGMENT
21 cmp word ptr 8[bp],140H
35 mov word ptr MX_TEXT:MX_BYTESPERLINE,ax
38 call far ptr MXROWADDRESS
43 call far ptr MXSETSYSCLIPREGION
56 mov ax,word ptr cs:L$1
57 lds si,dword ptr 0aH[bp]
59 mov ax,word ptr cs:L$2
60 lds si,dword ptr 6[bp]