3 ms·
Back in real-mode x86 times the coolest thing could've been done in 2 lines CLI ; Disable interrupts HLT ; Halt CPU until next interrupt This hung
by huhtenberg 15y ago
Back in real-mode x86 times the coolest thing could've been done in 2 lines
CLI ; Disable interrupts
HLT ; Halt CPU until next interrupt
This hung the machine dead.
- gsivil 15y agoThis is not cool in my book.
- huhtenberg 15y ago... nor is downvoting nerdy posts on HN of all places :)
- CamperBob 15y agoNot to forget the F00F bug, which did the same thing in full-blown protected mode.
- spc476 15y agoUnless there's a memory error (which is hooked up to the NMI line), or on the PCjr, a key was hit on the keyboard (which was hooked up to the NMI). Neat hack though (and question: why do I remember this stuff?)