Serial ports for OS debugging
Posted: Tue Aug 01, 2006 9:09 am
I recently came across a pdf that one of the developers of the KOS project wrote about testing and debugging their OS. The pdf can be found at http://kos.enix.org/~d2/snapshots/kos_c ... tingen.pdf. I've always used writes to 0xb8000 for debugging but that leads to a certain about of frustration when your code is triple faulting. In the pdf they talk about using the serial port for debugging. The best thing is that this seems to work well under virtual machines and real computers.