st-trace's --clock parameter sets the system clock speed in a whole number of MHz. This can result in communication errors when using fractional MHz clock frequencies. We should allow setting the system clock frequency and trace frequency exactly using a common format.
I suggest we expect values provided with the "--clock" and "--trace" arguments to require a suffix of "Hz", "KHz", "MHz", or "GHz". If no suffix is provided we should continue to use a MHz default for "--clock" and a Hz default for "--trace" to maintain backward compatibility, but should display a warning message. We should also support fractional values, such as "7.384620MHz".
While digging into this issue, I also found the following related issues:
I'm happy to fix these. Does anyone have input on the format to specify clock frequencies?
Thanks,
John
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4