GetVersion() with option to know the CPU speed
- Juan Carlos
- Posts: 932
- Joined: Mon Sep 06, 2010 1:02 pm
GetVersion() with option to know the CPU speed
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
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
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
Christos
Re: GetVersion() with option to know the CPU speed
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.
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.
- airsoftsoftwair
- Posts: 5834
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: GetVersion() with option to know the CPU speed
Unlikely to come because it is too hardware-specific.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.