Amiga CIA Timers, TOD Clock, and Interrupt Control
Trace the Amiga 8520 CIA timer latches, TOD counters, interrupt masks, and operating-system ownership without confusing them with custom-chip timing.
tag
10 posts
Trace the Amiga 8520 CIA timer latches, TOD counters, interrupt masks, and operating-system ownership without confusing them with custom-chip timing.
Trace Atari ST MFP timers and interrupts from prescaler events through pending, mask, priority, and in-service registers, with repeatable diagnostic fixtures.
Trace GBA timer reload registers, prescalers, count-up cascades, overflow IRQs, and audio links with an event-driven, testable clock model.
Follow Lynx Mikey timer chains into audio channels, explaining reload and interrupt state, sample timing, PWM output, and emulator trace design.
Understand Linux timekeeping by separating the system timeline, interrupt-generating clock events, scheduler timestamps, and delay mechanisms.
Build resilient GCD timer sources with monotonic deadlines, justified leeway, serialized state, balanced suspension, and race-safe teardown.
Manage legacy Windows timer-queue callbacks safely: prevent overlap surprises, stop new expirations, wait for callbacks, and release callback state last.
Use waitable timers as synchronization objects, interpret relative due times correctly, and handle periodic signals, cancellation races, and power costs.
Build reliable systemd timer jobs in WSL, understand Persistent catch-up, and use Windows scheduling when a stopped distro must be started.
Use Haiku BMessageRunner for looper-based timers, verify initialization, control repetition, and handle queued messages and object lifetime safely.