home *** CD-ROM | disk | FTP | other *** search
GW-BASIC | 1984-11-23 | 896 b | 30 lines |
- 1 'Demanding test of color monitor display consisting of alternalte rows
- 2 'of lower case m's and n's in various colors. You must switch to the
- 3 'proper display before entering. Use for a test of resolution and
- 4 'focus. Press any key to exit.
- 5 'Originated by J.V. Haas and modified by John L. Dickinson, Tucson 7-29-82
- 6 'to avoid apparent BASIC bug which does not permit writing in
- 7 'column 80 of lines 24 and 25 without shifting other displayed characters.
- 8 ' (Don't expect to see much if you don`t have a good monitor!)
- 10 SCREEN 0,0
- 20 WIDTH 80
- 30 KEY OFF
- 40 CLS
- 50 IC=1
- 60 FOR I=1 TO 25 STEP 2
- 70 COLOR IC,0
- 80 LOCATE I,1
- 85 IF I=25 THEN ILEN=77 ELSE ILEN=78
- 90 PRINT "<";STRING$(ILEN,"m");">";
- 100 IC=IC+1
- 110 IF IC>15 THEN IC=1
- 120 COLOR IC,0
- 125 IF I=25 THEN GOTO 180
- 130 LOCATE I+1,1
- 135 IF I=23 THEN ILEN=77 ELSE ILEN=78
- 140 PRINT "<";STRING$(ILEN,"n");">";
- 160 IC=IC+1
- 170 NEXT I
- 180 A$=INKEY$:IF A$=""THEN GOTO 180
- 190 CLS
-