3] The following article is from the October 1987 JUMPDISK. 1]-------------------------------------- 3]IGNITION! Booting to a Basic Program Staff Notes -- Idea by Royann Webb 1]------------------------------------ You can create a boot disk that takes you from the Workbench prompt directly into a running Basic program -- automatically. All credit for this discovery goes to Royan Webb of Watertown, WI, who says she discovered the method by chance while working with the JUMPDISK word processor for the blind, EARTYPE. It's a matter of changing the startup-sequence on a copy of Workbench. The method also works as a direct command from the CLI. You will need the 1.2 Enhancer package -- both the Workbench 1.2 disk and the Extras disk with Amiga Basic 1.2 on it. 3]BY THE NUMBERS 1] 1. Make a copy of Workbench 1.2. 2. Reboot using the Workbench copy (CTRL-A-A). 3. Go to the CLI. 4. Type delete demos system utilities all (and press Return) 5. When the deletions are complete, type ed s:startup-sequence (and press Return) When the startup-sequence file appears, delete the last two lines, which read: LoadWB endcli > nil: 6. As the new last line in this file, type amigabasic ignition (and do NOT press Return) 7. Press the ESC key and in answer to the asterisk prompt that appears at southwest screen, type an x and press Return. This saves the new startup-sequence and returns to the CLI. 8. Back in the CLI, type copy extras:amigabasic to "workbench 1.2:" (and press Return) On a single-drive system, you'll have to swap the EXTRAS and WORKBENCH copy disks until loading is complete. On a two-drive system, put EXTRAS in one drive, the copy of Workbench 1.2 in another, for faster results. 9. Still in the CLI, type amigabasic (and press Return) 10. When Amiga Basic 1.2 has loaded and the LIST window shows, type this brief program in it: RUN "test" 11. On the left of the screen save the program by typing: SAVE "ignition" (and press Return) 12. Still at left of the screen, type NEW (and press Return) 13. Type LIST (and press Return) 14. Click the mouse in the LIST window and type this program: CLS: CLEAR PRINT "The test has been met." END 15. Save the program as "TEST" by typing at screen left SAVE "test" (and pressing Return) To test whether you've done everything correctly, at this point reboot the system with a CTRL-A-A (the CTRL key and the two red A keys pressed simultaneously). The new bootable disk should start up, load Basic, run the IGNITION program and then run the TEST program. In practical use: 1. Kill the TEST program from the disk. 2. Make multiple archive copies of the new IGNITION boot disk. 3. On a given IGNITION disk, change the IGNITION program to run the specific program you wish to automatically boot, and also save that specific program onto the disk. 4. You might also consider editing the startup-sequence to include an ECHO statement that tells what's happening: echo "Hi, Maisie, the Payroll Program is now loading." 3]A CLI METHOD 1] With Workbench 1.2 and Amiga Basic 1.2, you can use a similar method with a CLI command. For example, you boot with a normal Workbench 1.2 disk and at the appearance of the copyright material press CTRL and D keys simultaneously, which takes you to the CLI. There, type extras:amigabasic j:j (and press Return) You will be prompted to insert the EXTRAS disk, then the J: (this issue of Jumpdisk) disk, and the result will be that JUMPDISK starts running as usual without any icon clicking. The one catch is that you cannot return to a normal Workbench screen for icon clicking. The earlier CTRL-D ended the startup-sequence before Workbench was loaded. But this aspect is only a sidelight to the main topic. END OF TEXT