Hacker News new | ask | show | jobs
by mediumdave 4580 days ago
Back in the day when I was playing around with osdev, I ran my code in the Bochs emulator. WAY easier than running on actual hardware, especially starting the emulator was 10x faster then booting on an actual PC.

I do remember the excitement of getting interrupts to work - good times. Getting task switching to work was magic.

1 comments

She mentions in the article that she's using Qemu.
Ah - I missed that.

True emulators like Bochs are still potentially a win if they provide fine-grained debugging features. Bochs was nice because you could single-step through assembly and view contents of registers/memory quite easily. You could also attach gdb to it (although this was somewhat flaky.)