5 CLS: KEY OFF
10 FOR I = 1 TO 43 STEP 2
20 PRINT STRING$(I, I+64);
30 NEXT
100 PRINT :PRINT
101 FOR W = 10 TO 100 STEP 20
105 OPEN "scrn:" FOR OUTPUT AS 1
106 WIDTH#1, W
110 FOR I = 1 TO 43 STEP 2
120 PRINT#1,STRING$(I, I+64);
130 NEXT
140 CLOSE#1
145 N$=HEX$(W): GOSUB 1000
150 NEXT
999 END
1000 ' dump screen
1010 DEF SEG=&HB800
1020 OPEN "dump"+N$+".dat" FOR OUTPUT AS 2
1030 FOR Y = 0 TO 24
1040 FOR X = 0 TO 79
1050 PRINT #2, CHR$(PEEK(2*(Y*80+X)));
1060 NEXT
1065 PRINT #2, ""
1070 NEXT
1080 CLOSE 2
1090 RETURN
