[SeaBIOS] Bochs cvs + SeaBIOS git master + FreeDOS = slow load + invalid opcode

Kevin O'Connor kevin at koconnor.net
Sun Jan 17 19:15:58 CET 2010


On Sat, Jan 09, 2010 at 07:48:51PM +0100, Sebastian Herbszt wrote:
> I have tried SeaBIOS 0.5.1 on Bochs cvs with FreeDOS 1.0 Final boot floppy.
> Loading from floppy was utterly slow and then FreeDOS dumped

FYI.  Hopefully this will be fixed in Bochs, but in the meantime I've
committed the following change to SeaBIOS:

--- a/src/floppy.c
+++ b/src/floppy.c
@@ -182,7 +182,9 @@ wait_floppy_irq(void)
         v = GET_BDA(floppy_recalibration_status);
         if (v & FRS_TIMEOUT)
             break;
-        wait_irq();
+        // Could use wait_irq() here, but that causes issues on
+        // bochs, so use yield() instead.
+        yield();
     }
 
     v &= ~FRS_TIMEOUT;



More information about the SeaBIOS mailing list