BootMenu 3.1 Copyright © 1993 by WolfSoft, All rights reserved. NAME BootMenu - multiple startup-sequences (V36) SYNOPSIS C:BootMenu [[DIR] ] [TIMER []] [NOTIMER] FUNCTION Allow executing of different startup-sequences on a startup. The original startup-sequence should be renamed to Startup-Sequence.Original, the other different startup-sequences should be located in the drawer S:BootMenu and can be of any name. A new startup-sequence should be created and should look like this: Lock >NIL: SYS: on ; Just to be safe. MakeDir >NIL: RAM:BootMenuTmp ; Store some files here. Assign >NIL: T: RAM:BootMenuTmp ; T: should be on RAM: (see NOTES) Assign >NIL: ENV: T: ; ENV: is needed somewhere !? BootMenu NOTES If T: is assigned to a physical device and you reboot, or shutdown your machine in any of the other startup-sequences you will have a BAD SECTOR on your device. This is because the OS will be unable to close a temporary file created by C:Execute. EXAMPLE Ed "S:BootMenu/Just a Shell" Type in: NewShell CON:0/0/640/200/AmigaShell EndCli >NIL: Now try BootMenu. INPUTS If a directory is not specified a directory called S:BootMenu is needed. DIR: Directory to search for scripts. TIMER: Specify how long the program should wait before loading S:Startup-Sequence.Original, default is 10 seconds. NOTIMER: Wait for user input indefinitly. RESULT Error!: You need Amiga Kickstart 36 or higher to run this. S:BootMenu/: object not found (Or the specified directory) You need to have a directory called S:BootMenu. BootMenu: wrong number of arguments Check the template with your arguments. AddPart: argument line invalid or too long Err, whoops, it could happen, but it shouldn't. If you're low on memory and the program fails it might produce an error, but not always. BUGS Do not have more startup-sequences than the screen size will allow, you might get some very unexpected results. (Not tested) If you reboot your machine in any of the startup-sequences a temporary file in T:, created by C:Execute, will not be closed. This will almost definitly cause a BAD SECTOR!! COPYRIGHT BootMenu is Copyright © 1993 by Carlo de Wolf (WolfSoft) BootMenu (4560 bytes), BootMenu.doc, BootMenu.doc.info, BootMenuInstall, BootMenuInstall.info, Changes, Changes.info, Just a Shell (61 bytes), Startup-Sequence (188 bytes), ReadMe, ReadMe.info These files may be freely redistributed as long as the files are not modified in any way. Enhancements or additions may be added to the distribution as additional files. Redistributors may only charge the cost of copying and the medium. Commercial distribution is not allowed. ACKNOWLEDGEMENTS Amiga is a registred trademark of Commodore-Amiga, Inc.; AmigaDOS, Amiga Workbench and Amiga Kickstart are trademarks of Commodore-Amiga, Inc. DISCLAIMER BootMenu has no warranty what so ever. It is provided "as is", so your at your own risk running BootMenu. MORE Thanks to Commodore for a great machine. If you wish to have the latest version of BootMenu send me a message (electronic or other) with enough money to cover medium and postage costs. Ideas are always welcome. Bugreports only when I'm in a good mood. I am thinking about making the source available for a small price. You can reach me at: EMAIL: carlo@wolfman.home.usn.nl, carlo@usn.nl, v892223@si.hhs.nl (In order of preference, the last one will probably yield no reply) TELEPHONE: +31-1828-14459 (home), +31-70-3630462 (office) FAX: +31-70-3630470 Carlo de Wolf Machtelderf 24 2743HC Waddinxveen, ZH Holland That's all folks. Grauw. WolfSoft.