home *** CD-ROM | disk | FTP | other *** search
- PROCEDURE textTMouse;
-
- var
- textTmasks : array[0..1,0..15] of word;
- Regs : Registers;
-
- BEGIN
-
- { Screen Mask }
-
- textTmasks[0,0] := $3FFF; {0011111111111111}
- textTmasks[0,1] := $1FFF; {0001111111111111}
- textTmasks[0,2] := $0FFF; {0000111111111111}
- textTmasks[0,3] := $07FF; {0000011111111111}
- textTmasks[0,4] := $03FF; {0000001111111111}
- textTmasks[0,5] := $0000; {0000000000000000}
- textTmasks[0,6] := $0000; {0000000000000000}
- textTmasks[0,7] := $0000; {0000000000000000}
- textTmasks[0,8] := $000C; {0000000000001100}
- textTmasks[0,9] := $010F; {0000000100001111}
- textTmasks[0,10] := $010F; {0000000100001111}
- textTmasks[0,11] := $100F; {0001000000001111}
- textTmasks[0,12] := $300F; {0011000000001111}
- textTmasks[0,13] := $F80F; {1111100000001111}
- textTmasks[0,14] := $F807; {1111100000000111}
- textTmasks[0,15] := $FE07; {1111111000000111}
-
- { Cursor Mask }
-
- textTmasks[1,0] := $0000; {0000000000000000}
- textTmasks[1,1] := $4000; {0100000000000000}
- textTmasks[1,2] := $6000; {0110000000000000}
- textTmasks[1,3] := $7000; {0111000000000000}
- textTmasks[1,4] := $7800; {0111100000000000}
- textTmasks[1,5] := $7000; {0111000000000000}
- textTmasks[1,6] := $77FE; {0111011111111110}
- textTmasks[1,7] := $7462; {0111010001100010}
- textTmasks[1,8] := $7060; {0111000001100000}
- textTmasks[1,9] := $7C60; {0111110001100000}
- textTmasks[1,10] := $6C60; {0110110001100000}
- textTmasks[1,11] := $4660; {0100011001100000}
- textTmasks[1,12] := $0660; {0000011001100000}
- textTmasks[1,13] := $0360; {0000001101100000}
- textTmasks[1,14] := $00F0; {0000000011110000}
- textTmasks[1,15] := $0000; {0000000000000000}
- regs.AX := 9;
- regs.BX := 1;
- regs.CX := 0;
- regs.DX := ofs(textTmasks);
- regs.ES := seg(textTmasks);
- Intr(51,Regs);
- end;
-