tiny_reboot Version 37.1 © 1998 By Kenton A. Groombridge Introduction: One day I found a need for a reboot program. I downloaded all the ones found on Aminet, but I didn't like the ones that asked me if I was sure I wanted to reboot my Amiga after I typed "reboot" and the others were quite bulky in size for what they did. I decided to write my own. After about 10 minutes using SAS/C 6.58 I had a finished program, but it was still about a couple thousand bytes, and that was after using NOSTARTUP and the other switches to cut the garbage out of the program. (must have been the atol() function). It had been a while since I used Devpac, so I fired it up and spent a day relearning much of what I forgot about assembler. The finished product is a very small reboot program (508 bytes). This small size is also not without error checking. It is also completely OS friendly, and AmigaDOS compliant. But of course how can you be sure when your system is rebooting? Disclaimer: The use of this program is on your own risk. There is no liability or responsibility for any damage caused by the program. Copyright: tiny_reboot is free to be spread on public-domain and shareware disks, as long as they are sold for a reasonable charge. This program is: FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE. What else can I say. If you haven't noticed yet, everything I have written is FREE. I think some people out there are greedy. They write these piece of *&^%$ programs and expect to get paid for them. Good luck, you won't see my money. There are also people out there who bust there butts to make a living writing quality software for the Amiga. Those piece of *&^%$ pirates that steal their hard work are hurting both you and me because if they don't make money to make a living then they will quit writing quality software for the Amiga and we will all miss out on great programs. How to use the program: Type: "reboot /N" where /N is an optional number between 0 and 2147483649 representing the seconds to wait before rebooting. 2147483649 seconds? Hmm, anybody got about sixty eight years available to ensure that this program is accurate to the second? A word of warning: This program does not do a safe reboot like UNIX systems. Using this program is no different that using Ctrl + Right-Amiga + Left-Amiga, so it would behoove you to ensure that all disk activity has stopped otherwise you may loose data, or even worse, invalidate your disks. I am not trying to scare so you do not use the program. It is really safe if you know what you are doing. You all know not to pop the floppy out of the drive until the light goes out right? The program is just the button to the floppy drive per se'. Required: Workbench 2.04 or higher. Although not needed, I highly recommend getting Workbench 3.1. It is big improvement on 2.04. If you are still using 1.3 or below, you are in the dark ages. Reporting errors: This program has come a long way since I introduced it several months ago. I am nearly 100% sure that there are no bugs, but if you do find something a little weird, please contact me asap (as soon as possible). Contacting the author: e-mail kgroombr@interquest.de Kenton.Groombridge@wpc.af.mil web page http://www.interquest.de/~kgroombr/ snail-mail Kenton Groombridge PSC 3 Box 1766 APO AE 09021 USA -OR- Kenton Groombridge PSC 3 Box 1766 D:67661 Kapaun Flugplatz Germany I move a lot. If you really need to get in touch with me and can't get mail to either of the above addresses, send mail to my permanent address. It will take a while to get to me, but it will get to me. Kenton Groombridge 1405 North Center Avenue Hardin, MT 59034 USA Acknowlegments: Thanks to Gateway 2000 for saving the Amiga's future. For the folks at Gateway, if you are looking for a bilingual, quality individual with years of experience in sales, programming, quality control, and the dozen other jobs I have done in the military and civilian sector, look me up. I can sell the Amiga. For the new Amiga owners, e-mail me to get copies of AmigaDOS commands that I have disassembled, optimized, and reassembled. I will gladly give you the source for these if you give me a job. To Do: Heck, I have no idea. Do you? History: 1.0 (5 Oct 1997) First release, no known bugs. 1.1 (12 Oct 1997) Cleaned up the code. Added a few optimizations here and there. No known bugs. 2.0 (Rewrote it to use the timer.device instead of dos.librarys Wait() function. This allowed me to do ctrl-c checking. 37.1 Another complete rewrite to be AmigaDOS compliant (prints proper messages, and such). Changed the version to indicate the lowest library version (AmigaDOS like). Getting close the the 512 byte limit I set to accomplish.