Re: [hatari-devel] cfg (8 vs 16 Mhz)

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Bonsoir,
I looked for what put me the frequency at 8 MHz at startup. I think it's the General Choice CPX that does this. Whatever the frequency indicated in hatari.cfg, this CPX allows to set the frequency to 8 MHz or 16 MHz. The problem seems to be an inversion between the MHz setting and the Cache setting. Without cache -> 8 MHz, with cache -> 16 MHz.

   Miguel

CPX.jpg

Le 3 déc. 2022 à 10:37, Miguel Saro <miguel.saro@xxxxxxx> a écrit :

Hi,
Your first answers prompted me to remove all .ACC files and empty the AUTO folder. The reset to 8 MHz on reset has disappeared. I will submit these elements one by one and I will let you know what I find.
Thanks for your help
    Miguel

Le 3 déc. 2022 à 08:33, Thomas Huth <th.huth@xxxxxxxxx> a écrit :

Am Fri, 2 Dec 2022 22:47:40 +0200
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:

Hi,

On 2.12.2022 18.38, Miguel Saro wrote:
I note that whatever the set frequency (nCpuFreq = 16)
the starting frequency is always 8 Mhz

I don't know if it's intentional or if it's a small mistake.
I also don't know if it only happens on Mac or on all machines  

Hatari should be overriding frequency only when you explicitly ask it to 
set specific frequency, ask it to set given machine type, or you've 
specified conflicting settings requiring Hatari to change machine type 
to resolve it.

Are you doing any of those?

Note: for these machine type options freq seems to default to 8Mhz:
--machine st|ste|megast|megaste


However, in case of MegaSTE (and Falcon) machines, also Atari side SW 
can switch frequency between 8 and 16 MHz:
https://git.tuxfamily.org/hatari/hatari.git/tree/src/ioMemTabSTE.c#n31

Do you have some Atari AUTO folder / ACC / CPX / desktop setting that 
would set machine frequency to 8Mhz?

As far as I know, on a real Mega STE, the machine comes up in 8 MHz by
default, and you need the CPX to switch to 16 MHz. See e.g. also here:

https://forums.atariage.com/topic/181171-understanding-the-mega-ste/#comment-2268970

Nicolas, I'm not sure whether Atari SW being able to change Hatari's own 
settings for MegaSTE & Falcon machines types like this makes sense.

I think only emulated freq should be changed, not the configuration value.

Not sure whether we should change it ... I wonder whether people would
start complaining that the frequency setting in Hatari's GUI doesn't match
with the frequency that they set in their CPX?

Anyway, we should maybe add some more wording to the documentation about
the switchable frequency on the Mega STE and Falcon, I guess.

Thomas

M et Y Saro
Méaudre:  04 76 94 79 32
Seyssinet: 04 76 21 61 02
// locations. vercors. free. fr
// cocoa. pod. free. fr


M et Y Saro
Méaudre:  04 76 94 79 32
Seyssinet: 04 76 21 61 02
// locations. vercors. free. fr
// cocoa. pod. free. fr



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/