So it turns out my trick of placing the stack in "visible" memory, with the SS at 0xb800 and the SP at 80 * 25 * 2, is what was causing my BIOS call to set the video mode to screw up and not return. I don't know if I have the patience to find out exactly why. GDB is buggy, QEMU is buggy, NASM is buggy, and all of the above makes it harder to debug my own code.
Back to blog or home page
last updated 2011-07-28 22:30:39. served from tektonic