3 ms·
I was curious about this... "8253 PIT - Recently rewritten after microcontroller-based research. At least one previously undocumented feature discovered. Accur
by mmastrac 3y ago
I was curious about this...
"8253 PIT - Recently rewritten after microcontroller-based research. At least one previously undocumented feature discovered. Accurate enough for PCM audio."
... and it turns out that it's this ...
https://github.com/dbalsom/martypc/blob/main/core/src/devices/pit.rs#L516 https://github.com/dbalsom/martypc/blob/main/core/src/device...
// If the counting element was reloaded between load of LSB and MSB, it is an incomplete load.
// Reload the counting element again when we get the MSB.
// Note: This is completely undocumented behavior
- qingcharles 3y agoUndocumented "feature" :)