4 SCREEN 1: KEY OFF
20 DIM F(1000)
60 SCREEN 7
70 SHELL "pcxview.exe shar.pcx /g /k /q"
80 GET (155, 115)-(172, 126), F: X5 = 155: Y5 = 115: REM  PUT (155,115),F,XOR
90 D$ = INKEY$: IF D$ = "" THEN 90
91 XX = 0: YY = 0
100 IF D$ = "8" OR D$ = CHR$(0) + CHR$(72) THEN IF Y5 > 6 THEN XX = 0: YY = -5 ELSE XX = 0: YY = 0
110 IF D$ = CHR$(0) + CHR$(80) OR D$ = "2" THEN IF Y5 < 185 THEN XX = 0: YY = 5 ELSE XX = 0: YY = 0
120 IF D$ = CHR$(0) + CHR$(75) OR D$ = "4" THEN IF X5 > 6 THEN XX = -5: YY = 0 ELSE XX = 0: YY = 0
130 IF D$ = CHR$(0) + CHR$(77) OR D$ = "6" THEN IF X5 < 290 THEN XX = 5: YY = 0 ELSE XX = 0: YY = 0
140 IF D$ = CHR$(13) THEN SCREEN 0: WIDTH 40: GOTO 160
150 PUT (X5, Y5), F, XOR: X5 = X5 + XX: Y5 = Y5 + YY: PUT (X5, Y5), F, XOR: GOTO 90
160 IF X5 <= 155 AND Y5 <= 96 THEN GOSUB 200: GOSUB 500: GOTO 60
170 IF X5 >= 155 AND Y5 >= 96 THEN GOSUB 200: RUN "idgaz"
180 IF X5 >= 155 AND Y5 <= 96 THEN GOSUB 200: RUN "sharl22"
185 IF X5 <= 155 AND Y5 >= 96 THEN GOSUB 200: RUN "sharl33"
200 RETURN
500 SCREEN 7: SHELL "pcxview.exe sharl.pcx /g /k /q"
510 D$ = INKEY$: IF D$ <> CHR$(27) THEN 510
520 RETURN

