As a learning exercise, I'm writing an emulator for the 6809 CPU. I'd like to simulate the speed of the CPU. I know the Motorola 6809E runs at 0.895 MHz and 1.79 MHz on the Color Computer 3. How do I figure out how many milli/nano seconds a cycle takes, so know how long of a delay I need on my modern machine?
It's one divided by the clock. So for 0.895 MHz divide 1 by 895000 and the answer is 1.117318 micro seconds. for 1.79 Mhz it's 558.6592 nano seconds.
I suspect however that the clock will be some multiple of NTSC timing (or PAL for European computers).
Wikipedia gives NTSC timing as 3.579545Mhz which divided by four gives 0.89488625Mhz (i.e. nearly your 0.895) with a cycle time of 1.11746045 micro seconds.
Note that in practice the timing for all this will not be to anywhere near this sort of accuracy IQD data sheets show that ±10 to ±50ppm is typical.
(edit) According to the wikipedia page the CoCo uses a 14.31818 MHz crystal so divide down by either 8 or 16 before calculating.