1 PUBLIC MXSETVIRTUALSCREEN
2 PUBLIC MXGETVIRTUALSCREEN
3 EXTRN MX_CODESEGMENT:BYTE
4 EXTRN MX_BYTESPERLINE:BYTE
5 EXTRN MXROWADDRESS:BYTE
6 EXTRN MXSETSYSCLIPREGION:BYTE
7 MX_TEXT SEGMENT PARA PUBLIC USE16 'CODE'
8 ASSUME CS:MX_TEXT, DS:DGROUP, SS:DGROUP
10 add byte ptr [bx+si],al
12 add byte ptr [bx+si],al
18 mov ds,word ptr cs:MX_CODESEGMENT
20 cmp word ptr 8[bp],140H
34 mov word ptr MX_TEXT:MX_BYTESPERLINE,ax
37 call far ptr MXROWADDRESS
42 call far ptr MXSETSYSCLIPREGION
55 mov ax,word ptr cs:L$1
56 lds si,dword ptr 0aH[bp]
58 mov ax,word ptr cs:L$2
59 lds si,dword ptr 6[bp]