5 CLS: KEY OFF:TRON
10 PRINT 1
20 REM
30 PRINT 2: PRINT 3
35 TROFF
40 PRINT 4.
50 REM
60 PRINT 5: PRINT 6
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

