Short: Gadgets for OS selection during startup Author: eraugust@igate1.hac.com (Eric R. Augustine) Uploader: eraugust igate1 hac com (Eric R Augustine) Type: util/boot Architecture: m68k-amigaos New for 1.17: Just updating the e-mail address. This program started out as a simple program to solve a simple problem - choose to boot into AmigaOS or NetBSD on a machine that had both options available at startup time BEFORE going through all of the Startup-Sequence. This was originally done using Nico Francois' excellent ReqTools package. After requests came asking for timeout I decided that using Intuition directly was best so the original version was completely scrapped and what is now here came to be. I added a timeout and default feature allowing BReq to go through a default option after a certain amount of time had passed. Realizing that the timeout might be quite long I added a blanker (quite simple once I got the idea of IDCMP) and it was quite silly of me not to make both buttons (or gadgets rather) alterable - so now both gads can be altered on the command line. Details about all of the options are in the accompanying "BReq.man" document as well as several examples. I have it directly following C:SetPatch in my Startup-Sequence where it works well - allowing me to avoid all the stuff in my startup so I don't have to wait for all of that to be done before booting into NetBSD. Give it a go and let me know if there's anything wrong - or something you'd like added (I'll try :) I would like to add a NoClick option to stop the floppy from making that bloody clicking noise. This is mostly a learning thing for me since previous to this I had little or no intention of ever doing anything that had any graphical interface whatsoever. So - the code is overly commented for anyone curious about doing something similar. Enjoy... - Eric. History (???) 1.17 Changed my e-mail address in the readme file and manpage. 1.16 Changed the SYSSTRING option to SYSA and added SYSB. Also made the non-REVERSE screen a default set of colours. SYSB introduced for some odd reason the new BUTTONS bug. 1.15 Removed WBENCHSCREEN option - or rather made CUSTOMSCREEN the only screen type option. Rewrote most of the code to use gadgets and responses from IDCMP. Added DEFAULT and TIMEOUT options. Also added are comment strings for each gadget. These are the ATEXT and BTEXT options and as a result of the gadget comment strings the buttons were placed on top of each other on the left side of the screen rather than in the middle. Also got the screen BLANKer working smoothly this time around. IDCMP and Intuition in general made life alot easier. It's not a fancy blanker - just makes the screen and pointer black. And last but, not least - PAL/NTSC recognition was added for this version. BReq just checks to see if it is running under PAL and changes the positions of the gadgets and comments as well as resizing the window and screen accordingly. 1.14 Various attempts at getting a TIMEOUT to work properly brought me to use a standard Intuition requester. Discovered IDCMP doesn't quite work that way. (test version) 1.13 Last of the ReqTools versions. Added the REVERSE option and cleaned up code a bit. (test version) 1.12 Added BUTTONS option. (second release) 1.11-1.09 (???) Wasn't really keeping track :) Added SCREEN option in there somewhere. Also previous to 1.11 SCREEN wasn't an option - BReq just opened onto its own screen. (test releases) 1.00 Simple ReqTools requestor with SYSSTRING option opening onto workbench (ugh). (first release) 0.00-0.90 (???) ...