home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of the Best
/
_.img
/
02192
/
soft4ham.arc
/
SYSTEM.2
< prev
next >
Wrap
Text File
|
1985-09-28
|
896b
|
24 lines
10 REM SYSTEM PROGRAM VERSION 790702
20 ERRSET 110,E1,E2
30 REM COPYRIGHT SNOW MICRO SYSTEMS INC. 1979
40 REM BY JOE KASSER JUNE 1979
45 PRINT
50 DIMX$(15) \ INPUT">",C$
60 FOR I=1 TO 4\ I$=STR$(I) \X$=C$+","+I$(2,2)
70 IF FILE(X$)=2 THEN EXIT 100
80 NEXT\ PRINT"cannot find ",C$
90 GOTO 170
100 CHAIN X$
110 ERRSET 110,E1,E2
120 IF E2=15 THEN 170
130 IF E1<>70 THEN 140 ELSE IF I>4 THEN 90 ELSE 80
140 IF E1<>180 THEN150 ELSE IF I>4 THEN 210 ELSE 190
150 IF E2<>8 THEN 160 ELSE PRINT"HARD DISC ERROR"\GOTO 170
160 PRINT"ERROR ",E2," AT LINE ",E1 \GOTO 170
170 FOR I=1 TO 4
180 IF FILE("SYSTEM,"+STR$(I))=2 THEN EXIT 200
190 NEXT \ GOTO 210
200 CHAIN "SYSTEM,"+STR$(I)
210 PRINT"put a system disc in any drive, then hit 'RETURN'"
220 INPUT" ",A$ \ GOTO 170