From 5fca5f7cd460fe87783dbfd4f13071a7349a6ea1 Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Tue, 25 Mar 2014 14:46:50 +0000 Subject: [PATCH] small fix git-svn-id: svn://kolibrios.org@4695 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/blkdev/flp_drv.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kernel/trunk/blkdev/flp_drv.inc b/kernel/trunk/blkdev/flp_drv.inc index b9fc049a08..e12d9a9608 100644 --- a/kernel/trunk/blkdev/flp_drv.inc +++ b/kernel/trunk/blkdev/flp_drv.inc @@ -379,10 +379,16 @@ RecalibrateFDD: mov al, 8 call FDCDataOutput call FDCDataInput + push eax ; DEBUGF 1,' %x',al call FDCDataInput ; DEBUGF 1,' %x',al ; DEBUGF 1,'\n' + pop eax + test al, 0xC0 + jz @f + mov [FDC_Status], FDC_DiskNotFound +@@: .fail: call save_timer_fdd_motor popa