The following program is an adaptation of a program loading program that I had seen used with an Oliger Disk system. This version is written to be used with the A & J Microdrive for the TS1000 family. Type the program in as listed, then save it as the program on a microwafer. The first line REM statement is there just in case you run into that occasional FILE TO LONG report from the drive during a change for updating the file names. If the error report comes up, just delete an ‘X’.
The main menu has several print statements. This is where you place the names of the files on the tape. The name of the loader program is the first name, and in this version it cannot be selected for loading. The Choose A File section allows the cursor to be positioned using the up and down arrows. Once the cursor is pointing to the desired program, the Enter key may be pressed to choose the program.
Finally, the Get A File section of code pokes the proper value and calls the proper USR routine to find, load and auto run the program chosen. Remember, the order of the program names must be in the same order as the files on the Microwafer.
Good Luck, Mike Felerski
5 REM XXXXXXXXXXXXXXXXXXX
10 REM A + J FILE LOADER
15 REM BY MIKE FELERSKI
100 REM MAIN MENU
120 CLS
122 PRINT AT 0,0; " STRINGY FLOPPY LOADER PGM "
123 PRINT AT 2,3; "SFLOADER"
125 PRINT AT 3,3; "--------"
130 PRINT AT 4,3; "--------"
135 PRINT AT 5,3; "--------"
140 PRINT AT 6,3; "--------"
145 PRINT AT 7,3; "--------"
150 PRINT AT 8,3; "--------"
155 LET A = 3
160 GOSUB 500
170 GOTO 120
500 REM CHOOSE A FILE
505 PRINT AT A, 0; " = > "
510 LET Q$ = INKEY$
515 IF Q$ = "6" THEN GOSUB 600
520 IF Q$ = "7" THEN GOSUB 650
525 IF Q$ = CHR$ (118) THEN GOTO 1200
530 GOTO 505
600 PRINT AT A,0; " "
601 IF A = 8 THEN GOTO 610
605 LET A = A + 1
610 RETURN
650 PRINT AT A,0; " "
651 IF A = 3 THEN GOTO 660
655 LET A = A - 1
660 RETURN
1200 REM GET FILE OR ADD NEW
1210 POKE 16451,1
1220 POKE 16390,A
1225 RAND USR 12291
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.