On Mon, Jan 04, 2010 at 08:54:48PM -0500, Kevin O'Connor wrote:
On SeaBIOS, I too get "Protected mode has been entered !" followed by a call into resume with a shutdown code of "5". The code then hangs - probably because I also used freedos.
Interestingly, if I apply this change:
--- a/src/resume.c +++ b/src/resume.c @@ -29,6 +29,9 @@ void VISIBLE16 handle_resume(u8 status) { init_dma(); + pic_setup(); + asm volatile("lgdtw %cs:rombios32_gdt_48"); + asm volatile("lidtw %cs:rmode_IDT_info");
debug_serial_setup(); dprintf(1, "In resume (status=%d)\n", status);
then FreeDOS is able to resume (I see irqs working). However, the screen is still stuck under qemu - not sure why.
-Kevin