Page 1 of 1
GetVersion() with option to know the CPU speed
Posted: Wed Oct 19, 2022 2:02 pm
by Juan Carlos
I'll like it is possible with this instruction
GetVersion() to know the CPU speed, why? well, because knowing the CPU system you can think to add visual effects, animations, etc., per CPU speed, not for system because for example MorphOS runs on Efika 400 Mhz, Sam 460ex 1.1GHz, Macs PowerPC with 1.2-1.4-2-1 Ghz, also AmigaOS4 on CPUs with 600Mhz, 733Mhz, 1.1Ghz, 2.1, etc.
Re: GetVersion() with option to know the CPU speed
Posted: Wed Oct 19, 2022 5:00 pm
by plouf
In the meantime ,for amiga OSes
There is aultility in amimet called identifyusr.lha
Has acommand line tool , which is easy to catch output
Also has arexx port for full conteol of library
Re: GetVersion() with option to know the CPU speed
Posted: Sat Oct 22, 2022 7:28 pm
by jPV
Although CPU clock speed doesn't tell too well how fast the setup is.. there are other factors too like gfx speed etc.
Maybe one way to estimate what you can draw on the screen is to make some timing test on your program and adjust details after it. Time some intro thing which isn't too heavy or so. I've used this once in one of my demoscene prods to put heavier stuff on the screen later.
Re: GetVersion() with option to know the CPU speed
Posted: Thu Nov 03, 2022 10:43 pm
by airsoftsoftwair
Juan Carlos wrote: ↑Wed Oct 19, 2022 2:02 pm
I'll like it is possible with this instruction
GetVersion() to know the CPU speed, why? well, because knowing the CPU system you can think to add visual effects, animations, etc., per CPU speed, not for system because for example MorphOS runs on Efika 400 Mhz, Sam 460ex 1.1GHz, Macs PowerPC with 1.2-1.4-2-1 Ghz, also AmigaOS4 on CPUs with 600Mhz, 733Mhz, 1.1Ghz, 2.1, etc.
Unlikely to come because it is too hardware-specific.