TI-Benchmark freezes on my TI-89 Titanium and I've been considering trying to write my own ASM clock speed measurement program from scratch to replace it… but apparently, a simple Exec string on Gérard P. Michon's website already does the trick.
It's
Code:
You have to measure the amount of time that Exec string takes to execute in seconds - let's call that Δt. The clock frequency, in MHz, of your 68K is given by the formula (1/Δt)*1000. It's accurate to ~0.15MHz or so, I'm pretty sure.
I could not see the point with using the 'higher accuracy' version, so if you want to use that then that's up to you to figure out.
Soon enough, I will be creating a user-friendly BASIC wrapper that automates all the time tracking using the RTC and presents the result on a dialog. Perhaps in a week from now, since the coming week is full of schoolwork for me. Stay tuned!
It's
Code:
Exec("203c034fb5e2538066fc4e750000")
You have to measure the amount of time that Exec string takes to execute in seconds - let's call that Δt. The clock frequency, in MHz, of your 68K is given by the formula (1/Δt)*1000. It's accurate to ~0.15MHz or so, I'm pretty sure.
I could not see the point with using the 'higher accuracy' version, so if you want to use that then that's up to you to figure out.
Soon enough, I will be creating a user-friendly BASIC wrapper that automates all the time tracking using the RTC and presents the result on a dialog. Perhaps in a week from now, since the coming week is full of schoolwork for me. Stay tuned!