Commit a4c4785b93b1947e775fb7ec86ed706ef98dbd2f
1 parent
7993f8bc
floppy fix from Volker Ruppert
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1100 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
23 additions
and
1 deletions
pc-bios/bios.bin
No preview for this file type
pc-bios/bios.diff
... | ... | @@ -4,7 +4,7 @@ RCS file: /cvsroot/bochs/bochs/bios/rombios.c,v |
4 | 4 | retrieving revision 1.110 |
5 | 5 | diff -u -w -r1.110 rombios.c |
6 | 6 | --- rombios.c 31 May 2004 13:11:27 -0000 1.110 |
7 | -+++ rombios.c 3 Oct 2004 21:41:43 -0000 | |
7 | ++++ rombios.c 7 Oct 2004 21:23:50 -0000 | |
8 | 8 | @@ -137,6 +137,7 @@ |
9 | 9 | #define DEBUG_INT16 0 |
10 | 10 | #define DEBUG_INT1A 0 |
... | ... | @@ -60,6 +60,28 @@ diff -u -w -r1.110 rombios.c |
60 | 60 | ASM_END |
61 | 61 | } |
62 | 62 | } |
63 | +@@ -5412,8 +5400,8 @@ | |
64 | + case 0x03: SET_BL( 0x06 ); break; | |
65 | + } | |
66 | + | |
67 | +- DI = 0xefc7; | |
68 | +- ES = 0xf000; | |
69 | ++ DI = read_word(0x00, 0x1e*4); // INT vector 0x1E | |
70 | ++ ES = read_word(0x00, 0x1e*4+2); | |
71 | + goto int13_success; | |
72 | + break; | |
73 | + | |
74 | +@@ -6984,8 +6972,8 @@ | |
75 | + } | |
76 | + | |
77 | + /* set es & di to point to 11 byte diskette param table in ROM */ | |
78 | +- DI = 0xefc7; | |
79 | +- ES = 0xf000; | |
80 | ++ DI = read_word(0x00, 0x1e*4); // INT vector 0x1E | |
81 | ++ ES = read_word(0x00, 0x1e*4+2); | |
82 | + CLEAR_CF(); // success | |
83 | + /* disk status not changed upon success */ | |
84 | + return; | |
63 | 85 | @@ -7880,7 +7868,7 @@ |
64 | 86 | mov al, #0x02 |
65 | 87 | out #0x0a, al ;; clear DMA-1 channel 2 mask bit | ... | ... |