1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-24 05:18:36 +00:00

Improves logging further.

To investigate the new perpetual loop.
This commit is contained in:
Thomas Harte
2021-07-26 17:02:30 -04:00
parent 87dcd82f69
commit bcb7bb5cce
4 changed files with 32 additions and 14 deletions
@@ -263,6 +263,8 @@ void MOS6526<BusHandlerT, personality>::run_for(const HalfCycles half_cycles) {
template <typename BusHandlerT, Personality personality>
void MOS6526<BusHandlerT, personality>::advance_tod(int count) {
if(!count) return;
if constexpr(personality == Personality::P8250) {
// The 8250 uses a simple binary counter to replace the
// 6526's time-of-day clock. So this is easy.