2 ' made by Svjatoslav Agejenko
\r
4 ' H-Page: svjatoslav.eu
\r
5 ' E-Mail: svjatoslav@svjatoslav.eu
\r
11 DIM SHARED avb(1 TO 100)
\r
12 DIM SHARED byte AS STRING * 1
\r
14 DIM SHARED file1$, file2$
\r
18 INPUT "average factor:", po
\r
19 INPUT "divide factor:", pod
\r
21 OPEN file2$ FOR BINARY AS #1
\r
22 OPEN file1$ FOR BINARY AS #2
\r
29 IF c > 127 THEN c = c - 255
\r
42 'LINE (px + 1, 0)-(px + 1, 260), 14
\r
43 LINE (px, 0)-(px, 260), 0
\r
44 PSET (px, c + 130), 12
\r
45 PSET (px, b + 130), 14
\r
47 IF px > 639 THEN px = 1
\r
48 IF b < 0 THEN b = b + 255
\r
49 IF b > 255 THEN b = 255
\r
53 IF EOF(1) = 0 THEN GOTO 1
\r
60 IF COMMAND$ = "" THEN END
\r
64 FOR a = 1 TO LEN(b$)
\r
65 c$ = RIGHT$(LEFT$(b$, a), 1)
\r
66 IF c$ = "." OR c$ = " " THEN GOTO 2
\r
67 file1$ = file1$ + c$
\r
70 file1$ = file1$ + ".awe"
\r