Measure and schedule time on the Atari 8-bit: read the jiffy clock safely, benchmark BASIC, use the five OS countdown timers, detect PAL vs NTSC and set up a POKEY timer interrupt.
Beyond the basic timer IRQ: exact period formulas for all three POKEY clocks, 16-bit linked timers, STIMER, and two tested programs that use the scan-line-locked 15 kHz clock for raster effects.
How the Atari OS routes every NMI and IRQ: the ROM entry points, the VDSLST to VBREAK vector table, dispatch order on OS-A, OS-B and XL/XE, hooking VIMIRQ safely, and a BRK quirk measured on real ROMs.
How POKEY and the OS handle a key press (KBCODE, the IRQ, debounce, auto-repeat), and how to replace the VKEYBD vector with your own handler: a tested 16-key type-ahead buffer in MADS.
Play 4-bit digitised sound on any Atari 8-bit: prepare and pack samples, choose a sample rate, and time playback with delay loops, WSYNC or a POKEY timer interrupt that leaves the screen on.