Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: dannyp1 on August 21, 2008, 12:07:13 AM

Title: Which No Click Program?
Post by: dannyp1 on August 21, 2008, 12:07:13 AM
I was looking in Aminet and there are several NoClick programs for disk drives.  Is there one that is considered the best?  Thanks,

Dan
Title: Re: Which No Click Program?
Post by: A4000_Mad on August 21, 2008, 12:12:34 AM
I've always used ClickNot which you just put in your WBStartup drawer :-)
Title: Re: Which No Click Program?
Post by: meega on August 21, 2008, 12:14:14 AM
A blank formatted disk in the drive works very well and doesn't need any extra programs or hacks.
Title: Re: Which No Click Program?
Post by: Darrin on August 21, 2008, 12:28:05 AM
Or you could shove cotton buds into your ears so that they burst the ear drums and then you wouldn't hear the click or need the hack (or floppy disk).
Title: Re: Which No Click Program?
Post by: A4000_Mad on August 21, 2008, 12:37:42 AM
Or just ask the wife to tell you what she thinks of your "Amiga junk". You then won't be able to hear any floppy drive clicks for sure! :argue:    :whack:
Title: Re: Which No Click Program?
Post by: weirdami on August 21, 2008, 12:45:51 AM
if there's no real difference in any of them, then pick the smallest one. maybe someone could tell us why there's more than one anyway. different techniques? which technique is best?
Title: Re: Which No Click Program?
Post by: arkpandora on August 21, 2008, 01:03:44 AM
@A4000_Mad

Maybe you could show your wife some comparison between 2D animation on a PC or Mac and 2D animation on your Amiga : if she is a bit artist or the arty type or simply sensitive to it, she won't call it "junk" anymore.


@weirdami (even more off-topic)

As French is my mother tongue and in French "ami" means "friend" (just like "amiga" means "female friend" in Spanish), I always read your username as if it was "weirdfriend", because it suits your avatar : is it a sculpture of your own ?
Title: Re: Which No Click Program?
Post by: Matt_H on August 21, 2008, 01:53:32 AM
@ arkpandora

It's Crow T. Robot (http://en.wikipedia.org/wiki/Crow_T._Robot)! :-)



@ dannyp1

I used DOSPrefs as my NoClick utility for a while (I don't bother with one now). It's a commodity and very easy to use.
Title: Re: Which No Click Program?
Post by: mikrucio on August 21, 2008, 03:24:11 AM
i love the click!
Title: Re: Which No Click Program?
Post by: dannyp1 on August 21, 2008, 09:44:36 AM
weirdami said:

"if there's no real difference in any of them, then pick the smallest one. maybe someone could tell us why there's more than one anyway. different techniques? which technique is best?"

This is kinda what I was trying to get at.  If they are not all the same which is best?  If one is better than the rest we should get the word out and probably include it in some of these threads with the OS improvement patches.  
Title: Re: Which No Click Program?
Post by: pVC on August 21, 2008, 10:13:03 AM
I guess they all use same technique as there's standard function for it in OS. Some programs might include other features as well etc. I'm using WildClick from Aminet for my plain a1200 and MCP's no click function in my fully patched main a1200 :)
Title: Re: Which No Click Program?
Post by: meega on August 21, 2008, 10:28:07 AM
Does it use C, Assembler, or some other programming language? Does it patch the system directly or run a separate task/process? Was it written as an exercise to learn about things, or coded by someone who already knew what they were doing? Is it "example" code? Is it hacky or "clean"? Etc........

Reinventing wheels is quite a common programming hobby.
Title: Re: Which No Click Program?
Post by: Piru on August 21, 2008, 12:04:24 PM
These programs toggle one bit in the trackdisk.device unit structure (per drive). The unit structure and the bit are described in the devices/trackdisk.h include.

There is no patching or separate task/process needed. You can't get this wrong.
Title: Re: Which No Click Program?
Post by: mdivancic on August 21, 2008, 12:49:11 PM
Quote

Piru wrote:
There is no patching or separate task/process needed. You can't get this wrong.


Maybe you can't!


 :-)
Title: Re: Which No Click Program?
Post by: arkpandora on August 21, 2008, 01:16:48 PM
@dannyp1

You might find more information in this thread (http://www.amiga.org/forums/showthread.php?t=33956).


@Matt_H

Thank you for educating me : I can't remember seeing anything of him in Europe, but up to not long ago I didn't even know who Britney Spears was, so he may just as well have been on prime time.
Title: Re: Which No Click Program?
Post by: melott on August 21, 2008, 02:07:19 PM
I've been using 'NONCLICK' since the late 80's.
At the time a programmer friend told me it was the
best because of the way it did the drives. I just
took his word for it (he knew alot more than I did).
I been using ' NonClick ' eversince without any problems.
I dislike hearing the drives click. To my mind, it is just
wearing the drive out needlessly.

Mel
Title: Re: Which No Click Program?
Post by: bash64 on August 21, 2008, 02:50:44 PM
Uhh...what's wrong with the click?
It makes the Amiga the Amiga.
Try tapping your feet to it.
It's catchy.


Personally never used a no-clicker.
Would make me feel like something was broken.

I prefer the 'floppy' in the drive answer.
Software hacks tend to add up to 'too many chefs in the kitchen'.
 :-D  :-D  :-D
Title: Re: Which No Click Program?
Post by: Piru on August 21, 2008, 04:10:23 PM
There's nothing hacky about it. The "noclick" functionality it provided by the OS itself, these programs just enable it. Observe:

Code: [Select]
;/*
sc resopt link optimize optsched nodebug strmerge nostartup nostackcheck data=far noclick.c
quit
*/

#include <devices/trackdisk.h>
#include <dos/dos.h>
#include <proto/exec.h>

static void setnoclick(ULONG unitnum, ULONG onoff);

int main(void)
{
  int unit;
  for (unit = 0; unit < NUMUNITS; unit++)
  {
    setnoclick(unit, 1);
  }
  return RETURN_OK;
}

static void setnoclick(ULONG unitnum, ULONG onoff)
{
  struct MsgPort *port;
  port = CreateMsgPort();
  if (port)
  {
    struct IOStdReq *ioreq;
    ioreq = CreateIORequest(port, sizeof(*ioreq));
    if (ioreq)
    {
      if (OpenDevice(TD_NAME, unitnum, (APTR) ioreq, 0) == 0)
      {
        struct TDU_PublicUnit *unit = (APTR) ioreq->io_Unit;
        Forbid();
        if (onoff)
          unit->tdu_PubFlags |= TDPF_NOCLICK;
        else
          unit->tdu_PubFlags &= ~TDPF_NOCLICK;
        Permit();
        CloseDevice((APTR) ioreq);
      }
      DeleteIORequest((APTR) ioreq);
    }
    DeleteMsgPort(port);
  }
}
Title: Re: Which No Click Program?
Post by: dannyp1 on August 21, 2008, 04:21:35 PM
Thank-You Piru!  It seems that there are a lot of people out there that are probably running Windows 3.0 on their DOS machines because any improvements since then have been hacks of one kind or another.  Whether it's Microsoft changing the OS or somebody else they are all "hacks".  And if you think "Official Is Better" you'd better keep an eye on how many hacks get put on your OS automatically by Microsoft.
Title: Re: Which No Click Program?
Post by: redfox on August 22, 2008, 04:07:18 AM
It has been awhile ...

If I recall correctly, I was using NoClick or QMouse from the Fred Fish disks.

---
redfox
Title: Re: Which No Click Program?
Post by: matthey on August 22, 2008, 04:18:10 AM
Here is my 176 byte version...

http://www.heywheel.com/matthey/Amiga/NoClick.lha

Just drop the glow icon in the WBStartup drawer. Source in assembler included.
Title: Re: Which No Click Program?
Post by: darksun9210 on August 22, 2008, 11:31:30 AM
i use MultiCX.
its got lots of other options in there like mouse acceleration, screen/mouse blanking, black bordering, noclick, opaq window move/size, middle mouse button configuration, device blocking/hiding/writeprotection, etc etc. not sure if its OS3.x+ only
Title: Re: Which No Click Program?
Post by: Framiga on August 22, 2008, 01:05:43 PM
Quote

matthey wrote:
Here is my 176 byte version...

http://www.heywheel.com/matthey/Amiga/NoClick.lha

Just drop the glow icon in the WBStartup drawer. Source in assembler included.


the one i use is smaller ;-)

NoClick  ... 160 ----rwed 30-Jul-02
Title: Re: Which No Click Program?
Post by: Piru on August 22, 2008, 02:26:45 PM
noclick ... 136 ----rwed Tänään     16:25:35


Didn't even try much. It could be even smaller...
Title: Re: Which No Click Program?
Post by: Framiga on August 22, 2008, 02:36:00 PM
hands up ... yours is smaller than mine then! :-)

Title: Re: Which No Click Program?
Post by: darksun9210 on August 22, 2008, 05:05:42 PM
:lol: this is what happens when you let geniuses in here! :lol:
Title: Re: Which No Click Program?
Post by: AmigaHeretic on August 22, 2008, 05:22:20 PM
Get rid of the click?

I love it so much I turn it on as on option in WinUAE!!
Title: Re: Which No Click Program?
Post by: taunusand on August 22, 2008, 07:02:19 PM
I use the program "shutup" from aminet :-)
It works fine for me.

I would not say that I love the clicking sound, I did not hear it when I used my Amiga with only floppy disks, there was alwas a disk in the drive back then :-)

If I want to hear it, I can always dig out my trusty old A500 :lol:
Title: Re: Which No Click Program?
Post by: matthey on August 22, 2008, 11:44:17 PM
@Piru

My NoClick used to be about that size until I added Workbench support. I could have used an Iconx or start from cli in the icon but the Workbench support is a nice feature. I also took no shortcuts and made it as system friendly as I could. Not that I want to get in an assembler programming match with you. I use your NoClick module in Blizkick on a custom ROM I built with Remus. Works great and of course my NoClick program still works to toggle the clicking on and off. I also use your CMQ060 and SmartCrash. Thanks for the great software.
Title: Re: Which No Click Program?
Post by: Piru on August 24, 2008, 06:08:10 PM
Code: [Select]
noclick2                           152 ----rwed Tänään    20:41:42
With WBStartup support, 100% OS friendly.

:-D
Title: Re: Which No Click Program?
Post by: TiredOLife on August 24, 2008, 07:21:40 PM
It's been a long time since I noticed the click.
That was up intil the point I read this forum.
Title: Re: Which No Click Program?
Post by: matthey on August 25, 2008, 03:09:44 AM
@Piru

152 bytes! That's pretty good. I guess I must study more. I actually optimized for speed not size and I used an older assembler (CASM/CAPE) back in the day. There always seems to be room for optimizations no matter how small a program is though. I am pretty impressed with the speed of your CMQ060. You obviously know what you're doing. I wish I had more time to play around with programming.
Title: Re: Which No Click Program?
Post by: Hodgkinson on August 25, 2008, 10:52:43 AM
I use clicknot373.lha from Aminet on my A1200, and I must say from time to time it's a bit flaky. Sometimes DF0 might start clicking again, sometimes DF1 doesn't stop clicking.
Occasionally DF0 might even start making a weird juddering noise with no disk inserted.

I’m baffled how this could be happening if it’s such a simple procedure (But then again it might just be my A1200...)

Hodgkinson.
Title: Re: Which No Click Program?
Post by: ZeBeeDee on August 25, 2008, 11:30:51 AM
I use NoClick off an old magazine coverdisk.