Reply 120 of 151, by superfury
I'm currently trying to fix the floppy disk controller used by the AT BIOS. Currently, it's emulating a 82072A floppy disk controller.
I see it emitting various commands before giving the error:
1. Sense interrupt, resulting bytes C0h 00h.
2. Sense interrupt, resulting bytes D1h, 00h.
3. Recalibrate, ST0 becoming 0x70(No floppy disk inserted). Disk changed bit is cleared, ST1 becomes 0x00.
No floppy disk is inserted into the drive.
Anyone can see what might be going wrong here?
My documentation I'm using: http://www.isdaman.com/alsos/hardware/fdc/floppy.htm (also http://bochs.sourceforge.net/cgi-bin/lxr/sour … iodev/floppy.cc )
My floppy disk emulation: https://bitbucket.org/superfury/unipcemu/src/ … ppy.c?at=master
Why is the BIOS throwing an error after the recalibrate command (which fails because of there being no floppy disk inserted)? It's a 601-Floppy disk error.
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io