SHUTUP by Petter N Hagen FLOPPY DRIVE SILENCER! ************************************************************* This docfile last changed: 19 OCT 92 19:36 SHUTUP is FREEWARE. It may be distributed freely, but the executable and this doc file must not be changed in any way. (other than for private use) It is not for commercial sale, but usergroups etc. may charge a small fee for the media (disks) and duplication. This docsfile, and the SHUTUP.TECH technical docs must always follow the SHUTUP executable, when distributed. The source(s) are not avaiable for the public yet. If anyone would like to use this little program on a commercial disk, (in the startup for instance), or have comments etc. they should write to: Petter N Hagen Storhamargt 72 N-2300 HAMAR NORWAY Or by E-Mail: pet_hage@linnea.gih.no Please use E-Mail if you have access to internet, it's easiest for me. NOTE: Internet adress may not be valid after june 1st 1993. I can NOT GUARANTEE an answer. (It will probably depend on what you write.) And please, DO NOT CALL ME! I have, and SHUTUP has been tested in almost all of these configurations: AMIGA 2000B with 210MB ConnerSCSI-HD connected to GVP 030 40MHz COMBO w/4MB 32bit RAM. 40MB QuantumSCSI-HD connected to CBM 2091 SCSI controller w/2MB 16bit RAM. 1MB CHIP RAM. 1048S Monitor. One internal & one external floppy. Kickstart 1.2 , 1.3 & 2.04 ROMs. Looking for tapestreamer (SCSI). ********************************************************** WHAT it does: This little program is carefully (well..) designed to stop the trackdisk from clicking the empty floppys. It will work only on Kickstart 2.00 or newer systems. The most recent versions will also enable you to trick those nasty little american devils that always uses a 200 line screen even if it runs on a european machine. (se below for more) WHY I made it: Anyone who have used an Amiga for a while knows... USAGE: SHUTUP can only be run from the Shell. If you try running it from an icon, other than the standardicon provided by the Workbench with the Show All Files option, the Guru may come by. If SHUTUP is run without parameters, it will go through all four floppy units, and silence them if they are connected. But a few parameters are allowed. "SHUTUP ?" shows a help text. SHUTUP History: (most recent first) --------------------------------------------------------------------- Release 1.2 Version 4.106 Date 19.10.92 New options: -2 = DF2 changes to become DF1. -1 = DF1 changes to become DF2. Examples: SHUTUP -2 ; changes DF2 to DF1 SHUTUP -1 -q ; changes DF1 to DF2, no text output These were added especially for A2000 & A3000 with one internal and one or more external drives. The internal drive is DF0 and the first external is usually DF2, no matter if the second internal drive is installed or not. This option simply changes the name of the drive in the dos.library device list, so that programs that use dos can refer to the first external drive as DF1: The -1 option changes it back, but A500/A600 users may use it to get DF2 if they wish. Use the shell command 'INFO' to see what has happened. NOTE: For the trackdisk.device the first external drive is still unit 2. CAUTION: This option may cause confusion for already started programs. Thus: use it as early as possible. If the requested drive does not exists, or the drive to change to already exists there will be no text output, and nothing will be changed. This is also the way the other functions handle errors, ie. no message. Bug fix: The NTSC option failed if the intuition was unable to open in NTSC, ie old AGNUS, no NTSC icon in the MONITORS drawer etc. It caused progs to report error or just exit, (or some crashed) since the OpenScreen call returned an error. This is now fixed, so that if NTSC open fails, a new open is attempted with the original structure passed by the caller application, thus giving a normal PAL screen with 200 lines, as if the patcher is not intalled. If this fails, there's probably not enough memory, or the original request has an error. There's now a lot more programs that work with shutup! If there still are some that doesn't work, that is, crashes,(since not opening in NTSC is now acceptable for some progs), write to me at the adress above. --------------------------------------------------------------------- Release 1.1 Version 3.307 Date 28.09.92 Bug fix: Forgot to close intuition.library on cleanup, not critical, but... OpenScreen patch returned the pointer to the new fixed newscreen structure, and some programs didn't like that.. (=major fireworks on some programs.) It now returns the pointer to the structure it was called with, in A0. This means that more programs will work with the SHUTUP patch installed. A few programs still crash, but they probably don't like NTSC. If run on pre 2.0 kickstarts (less than v36), SHUTUP now will issue an error message, instead of doing nothing. Sorry, no new functions this time... SHUTUP has now been tested on an 68030 processor with all caches on, and works fine. I also have a lot of switches on my front panel to disable HD's RAM etc. and have tested SHUTUP in almost all these configuartions. It has also been tested on a plain A500, running kick 2.04, and found OK. If you find any bugs, please state your configuration when you report it to me. --------------------------------------------------------------------- Release 1.1 Version 3.206 Date 31.07.92 Bug fix: Will not do anything at all, (no help either) on pre 2.0 kickstarts. Used to report success. New features & parameters: -* = Shell & DOS will use * as a synonym for #? wildcard (like MS-DOS) then you may for example use 'list a*' as a synonym for 'list a#?' -# = Back to normal #? -F = Installs patch in OpenScreen function to force open of 200 line screens (400 lines in interlace) into 256 line screens (or 512 lines in interlace). -N = As above, but forces to NTSC mode instead. -O = Remove the patch, return to normal. Examples: SHUTUP -n -* ; Silences all drives, forces NTSC, and uses * as wildcard. SHUTUP 1 -c -o ; clicks drive 1 & removes screen hack. SHUTUP 3 -F -# -Q ; noclick DF3, force 256 line, use #?, no output. Please note that both uppercase and lowercase letters may be used. The OpenScreen hack was made because old american programs often only open a 200 line screen, even if window sizing & movement isn't restricted in any way. New programs for 2.0 either opens a screen as tall as the Workbench screen, or swithces to NTSC mode if it for some reason only needs a 200 line screen. Deluxepaint does this with 200/400 line pictures, it uses the tag function, or extended structure for OpenScreen. In order to make the NTSC option work, you must have NTSC monitor icon in the MONITORS drawer. (Drag it form the MONITORSTORE or STORAGE/MONITORS drawer.) NOTE: Some of the older AGNUS chips doesn't offer NTSC mode, if you have one of these you will not get NTSC, even if you have the NTSC icon in the monitors drawer. Check the SCREENMODE preferences tool for available modes. WARNING!! Some programs dislike to get a larger screen than requested, and strange things happens. NOTE: Even if the library is checksummed (I use SetFunction), some resident virus checkers may pop up a warning. The vector is -$C6 or -198 decimal in intuition.library. (AutoCLI does not pop up a warning!) Simply ignore this. OK! OK.. i admit that these new functions does not hav much in relation with the floppy function, but they were easy to include with it, because the parsing & standard stuff where already there. Oh, yeah, the parser is very simple, but I still haven't got the V37 docs & includes, so I don't know how to use dos.library's parser functions. Besides, maybe it needs a new name: 'Nice_to_Have_Multi_Function_Hack" .... well... maybe not... --------------------------------------------------------------------- Release 1.0 Version 1.275 First release, takes the following parameters: ? = Short (well about half the program's size) help text. digit = Floppy unit to change (allowed is 0-3) -c = Turn clicking back on (see tech info why) -q = No text output (except errors), for startup-sequence etc. Examples: SHUTUP ; stops clicking in all drives. SHUTUP 1 ; only stops drive 1 (DF1) SHUTUP 0 -q ; stops drive 0 without talking about it (QUIET) SHUTUP -c -q ; turns on clicking on all drives, no text. SHUTUP 3 -c ; turns on clicking on DF3, and writes about it The digit must be the first parameter if used, spaces are usually ignored. No other restrictions. Adressing a drive that is not connected, has no effect. -------------------------------------------------------------------- For TECHNICAL INFO, see the SHUTUP.TECH file. Phew... Well.. Bye for now. -------------------------------------------------------------- Distributors or others may add comments etc. below, but please state your name,country and date of addendum. In this way it might be interesting if I get it back from somewhere. Thanks! PNH. (Do not change the date at the top, please, but put your date in here.) *