Hacker News new | ask | show | jobs
by flohofwoe 1241 days ago
On Z80 home computers, HALT was often used to synchronise some piece of code with a hardware interrupt like VSYNC for 'race-the-beam' stuff (because an interrupt takes the CPU out of the HALT state).