Page 1 of 1

Desktop.inf Mouse double click time ...

Posted: Sat Oct 21, 2017 7:53 am
by frank.lukas
Under TOS 1.04 there is an issue with the setting of the mouse double click time. In the desktop.inf in the Line ...

#c7770007000600070055200505552220770557075055507703111103
Color palette settings, mouse double-click response, key-click, bell
sound, key delay and key repeat rate.

... the value is default set to "3", when I set it to "0" and save the desktop.inf there is no change !?!

Is that a bug? Under TOS 2.06 and the newdesk.inf there is the same. I can only set the double click time to "0" with the maus.cpx permanent ...

Re: Desktop.inf Mouse double click time ...

Posted: Sat Oct 21, 2017 11:34 am
by rudis

Re: Desktop.inf Mouse double click time ...

Posted: Sat Oct 21, 2017 11:36 am
by frank.lukas
... it has not changed anything. The Problem is still there ...

Re: Desktop.inf Mouse double click time ...

Posted: Sat Oct 21, 2017 12:48 pm
by rudis
Mouse double-click and other is only stored in newdesk.inf not desktop.inf

I use gemram and winx in auto-folder and general.cpx for setting double-click rate. Without gemram and winx setting (under tos 1.04) is written to cpx but not read on reboot. Setting for double-click in general.cpx is byte 1FAB or 8107

http://st-news.com/issues/st-news-volum ... pinf-file/
last seven digits in #c line is read and write by old control.acc. I tried it and it works.

Re: Desktop.inf Mouse double click time ...

Posted: Sat Oct 21, 2017 3:18 pm
by lp
Have a look in the the Atari desktop source code, file DESKINF.C if you want to know what's really going on. My 'C' isn't that good, but it looks to me like some sort of external app is required for these settings.

Re: Desktop.inf Mouse double click time ...

Posted: Sat Oct 21, 2017 5:50 pm
by rudis
in deskinf.c

Code: Select all

#define SAVE_ATARI   128

Code: Select all

shel_get(buf, SAVE_ATARI);         /* get the control panel stuff  */

that means the first 128 byte of desktop.inf and newdesk.inf is reserved for control.acc config

first 128 byte are these

Code: Select all

#a000000
#b000000
#c7770007000600070055200505552220770557075055507702111103
#d                                             


this works only for tos desktop

Re: Desktop.inf Mouse double click time ...

Posted: Sun Oct 22, 2017 11:43 am
by frank.lukas
control.acc works ...