From 45ce7e1bc2de11bad068752cd7540a1ab30438cb Mon Sep 17 00:00:00 2001 From: Bryce Denney Date: Wed, 11 Dec 2002 15:45:10 +0000 Subject: [PATCH] - clarify panic --- bochs/iodev/floppy.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bochs/iodev/floppy.cc b/bochs/iodev/floppy.cc index 8de0b62f8..28f87381c 100644 --- a/bochs/iodev/floppy.cc +++ b/bochs/iodev/floppy.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: floppy.cc,v 1.59 2002-12-11 15:41:24 bdenney Exp $ +// $Id: floppy.cc,v 1.60 2002-12-11 15:45:10 bdenney Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2002 MandrakeSoft S.A. @@ -101,7 +101,7 @@ bx_floppy_ctrl_c::init(void) { Bit8u i; - BX_DEBUG(("Init $Id: floppy.cc,v 1.59 2002-12-11 15:41:24 bdenney Exp $")); + BX_DEBUG(("Init $Id: floppy.cc,v 1.60 2002-12-11 15:45:10 bdenney Exp $")); DEV_dma_register_8bit_channel(2, dma_read, dma_write, "Floppy Drive"); DEV_register_irq(6, "Floppy Drive"); for (unsigned addr=0x03F2; addr<=0x03F7; addr++) { @@ -828,7 +828,8 @@ bx_floppy_ctrl_c::floppy_command(void) // media not in drive, return error BX_INFO(("attempt to read/write sector %u," - " sectors/track=%u", (unsigned) sector, + " sectors/track=%u with media not present", + (unsigned) sector, (unsigned) BX_FD_THIS s.media[drive].sectors_per_track)); BX_FD_THIS s.status_reg0 = 0x40 | (BX_FD_THIS s.head[drive]<<2) | drive; // abnormal termination BX_FD_THIS s.status_reg1 = 0x25; // 0010 0101