What is Nostr?
Ross Andrews /
npub1zec…gxu2
2024-04-27 17:43:54

Ross Andrews on Nostr: How's this for an elegant way of handling timers in my imaginary machine: a device ...

How's this for an elegant way of handling timers in my imaginary machine: a device mapped to one word of memory, initialized to zero on reset. Write any nonzero value in there and the emulator will delay for that many milliseconds. Interrupts can still cause you to wake up again.
Author Public Key
npub1zecp5pprls5g7wtgl7uhamnry8hmtq3r2ufkyu74h6kra9ulq2ns9dgxu2