aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-10-07 21:27:06 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-10-07 21:27:06 +0000
commita4c4785b93b1947e775fb7ec86ed706ef98dbd2f (patch)
treec2e91c4d9516e37f78263e9bf11e91b12d9de524
parent7993f8bc512f1f766aa35a87ac06eb62719d56c3 (diff)
floppy fix from Volker Ruppert
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1100 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--pc-bios/bios.binbin65536 -> 65536 bytes
-rw-r--r--pc-bios/bios.diff24
2 files changed, 23 insertions, 1 deletions
diff --git a/pc-bios/bios.bin b/pc-bios/bios.bin
index dbac54005b..fe9816e0a7 100644
--- a/pc-bios/bios.bin
+++ b/pc-bios/bios.bin
Binary files differ
diff --git a/pc-bios/bios.diff b/pc-bios/bios.diff
index 4e38d182c0..7850769642 100644
--- a/pc-bios/bios.diff
+++ b/pc-bios/bios.diff
@@ -4,7 +4,7 @@ RCS file: /cvsroot/bochs/bochs/bios/rombios.c,v
retrieving revision 1.110
diff -u -w -r1.110 rombios.c
--- rombios.c 31 May 2004 13:11:27 -0000 1.110
-+++ rombios.c 3 Oct 2004 21:41:43 -0000
++++ rombios.c 7 Oct 2004 21:23:50 -0000
@@ -137,6 +137,7 @@
#define DEBUG_INT16 0
#define DEBUG_INT1A 0
@@ -60,6 +60,28 @@ diff -u -w -r1.110 rombios.c
ASM_END
}
}
+@@ -5412,8 +5400,8 @@
+ case 0x03: SET_BL( 0x06 ); break;
+ }
+
+- DI = 0xefc7;
+- ES = 0xf000;
++ DI = read_word(0x00, 0x1e*4); // INT vector 0x1E
++ ES = read_word(0x00, 0x1e*4+2);
+ goto int13_success;
+ break;
+
+@@ -6984,8 +6972,8 @@
+ }
+
+ /* set es & di to point to 11 byte diskette param table in ROM */
+- DI = 0xefc7;
+- ES = 0xf000;
++ DI = read_word(0x00, 0x1e*4); // INT vector 0x1E
++ ES = read_word(0x00, 0x1e*4+2);
+ CLEAR_CF(); // success
+ /* disk status not changed upon success */
+ return;
@@ -7880,7 +7868,7 @@
mov al, #0x02
out #0x0a, al ;; clear DMA-1 channel 2 mask bit