3 ms·
Some stupid debug tricks: a 0100 cli jmp 0101 r Clears interrupts and puts the CPU into an infinite loop. Takes down Win95/98 cold. Thankfully NT+
by lallysingh 17y ago
Some stupid debug tricks:
a 0100
cli
jmp 0101
r
Clears interrupts and puts the CPU into an infinite loop. Takes down Win95/98 cold. Thankfully NT+ don't actually give DOS programs control over interrupts.
? 0100 (I forget which cmd lets you directly edit the memory in hex)
ea 00 00 ff ff
r
Quick reboot. The malicious will think of fun places to put this. Hint: rhymes with "soot vector"
Sometimes I wonder if the greatest loss when technology shifts are all the stupid tricks we learned on the way.
- whughes 17y agoA few years ago, I was in a tech support call with a Dell tech. He was putting me through some kind of reinstallation process, I don't recall exactly. Anyway, he actually had me boot from a Dell diagnostic CD, run debug.com, and type in the necessary commands to hard-format the drive. At the time, I thought the whole process was pretty novel. I wonder if they would do the same today.
- cturner 17y agoI'd love to see a longer list of debug tricks like this. I've for _First Steps in 80286 Assembly_ and understand the theory, but I find it's easier to learn by example.