mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-04-09 09:37:53 +00:00
Note: all timings are relative to virtual time which is 16 ns per instruction. 8 ns per instruction is too fast for the PDM 'mach' gestalt calculation in firmware. - For MPC601, bit 7 of RTC and DEC changes at 7.8336 MHz so bit 0 would change at 1.0027008 GHz. Therefore multiply time base frequency by 128. For MPC601, DEC now changes at 1.0027008 GHz instead of 7.8336 MHz. - Add tbr_freq_shift for cases where time base frequency exceeds 1GHz. - Change calc_rtcl_value to use time base frequency. For MPC601, RTC now changes at 1.0027008 GHz instead 1GHz. - For MPC601, the 7 least significant bits of DEC are not implemented so make them not getable or setable.