home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Set of Apple II Hard Drive Images
/
eric.hdv
/
STARTUP.BAK.bas
< prev
Wrap
BASIC Source File
|
2020-08-13
|
2KB
|
35 lines
5 SLOT = 5: REM SLOT OF VULCAN HARD DISK
10 ER = 62248:D$ = CHR$(4):ID = INT( PEEK(49048)/8):II = (ID <16) AND (ID = (2 * INT(ID/2)))
20 PRINT CHR$(21): TEXT : HOME
30 Q$ = "PREFIX: /ERIC/ SLOT 5, DRIVE 2": GOSUB 500
35 VTAB 5:Q$ = "0) Exit to BASIC": GOSUB 500
60 VTAB 7:Q$ = "1) Exit to ProDOS": GOSUB 500
61 VTAB 9:Q$ = "2) Boot /HARD": GOSUB 500
64 VTAB 11
65 PRINT "3) MIDI Menu"
70 VTAB 20:Q$ = "Please Select an Option: ": GOSUB 500: VTAB 20: HTAB ( LEN(Q$))
80 GET Q$: PRINT Q$
90 POKE -16368,0
100 IF Q$ = "2" THEN PRINT CHR$(4)"prefix,s5,d1": PRINT CHR$(4)"prefix/hard": PRINT CHR$(4)"-startup"
110 IF Q$ = "0" OR Q$ = CHR$(13) OR Q$ = CHR$(27) THEN HOME : END
111 REM -STARTCOM TO LOAD EXTRA COMMANDS
120 IF Q$ = "1" THEN PRINT D$"bye"
125 IF Q$ = "3" THEN PRINT : PRINT D$"prefix /HARD/PROJECT": PRINT D$"-MIDI.SETUP"
130 PRINT CHR$(7): GOTO 70
200 ONERR GOTO 250
205 IF Q$ = "1" THEN PRINT CHR$(4)"PREFIX/HARD/AEPC/MEG16"
207 IF Q$ = "2" THEN PRINT CHR$(4)"PREFIX/HARD/AEPC/MEG6"
210 F$ = "PC.TRANSPORTER": PRINT D$"VERIFY"F$
220 POKE 216,0: PRINT D$"-"F$
250 CALL ER
260 ONERR GOTO 290
270 F$ = "STARTAEPC": PRINT D$"VERIFY"F$
280 POKE 216,0: PRINT D$"-"F$
290 CALL ER
300 HOME : VTAB 10:Q$ = "PC.TRANSPORTER and STARTAEPC Not Found": GOSUB 500: PRINT
310 VTAB 15:Q$ = "Cannot Run PC Transporter": GOSUB 500: PRINT : NEW
500 IF NOT II THEN PRINT Q$: RETURN
510 FOR I = 1 TO LEN(Q$):C$ = MID$ (Q$,I,1)
520 IF C$ > = "a" THEN C$ = CHR$( ASC(C$) -32)
530 PRINT C$;
540 NEXT : PRINT : RETURN