FDD: st0 0 st1 0 st2 0 Cylinder 0 Head 0 Sector 0 Sector size 0.
I looked in the bochs log, this is what I found:
Code: Select all
00081379435e[DMA ] write to command register: value(10h) not 0x00
00081379450e[DMA ] write to command register: value(10h) not 0x00
00081550370e[FDD ] io_write: 0x3f5: invalid floppy command 0x06
Are my definitions wrong?
Code: Select all
#define FDC_CCR 0x3F7
#define FDC_DOR 0x3F2
#define FDC_DATA 0x3F5
#define FDC_MSR 0x3F4
Here's the code:
http://rafb.net/paste/results/k2530555.html
OOPS!
Sorry!
I solved it Data should pass through the data-register.
I practicised some english anyway.