I am having some problems with my floppy disk controller driver:
- Resetting the controller using either DSR or DOR will trigger IRQ 6 on Qemu, but not on real hardware.
- Sending the Calibrate command to the controller won't trigger IRQ 6.
My code is available here: https://github.com/weedboi6969/puckos. Can someone help me with fixing the problems?
Floppy disk controller problems
Floppy disk controller problems
Just a procrastinating uni student doing stupid things (or not doing them at all)...
SysX: https://github.com/itsmevjnk/sysx.git
SysX: https://github.com/itsmevjnk/sysx.git
- BrightLight
- Member
- Posts: 901
- Joined: Sat Dec 27, 2014 9:11 am
- Location: Maadi, Cairo, Egypt
- Contact:
Re: Floppy disk controller problems
I have no experience with floppies, and I know this doesn't answer your question, but why would you want to support floppies at all, whether it is emulated or real HW? ATA hard disks are even simpler than floppies, and most real hardware with SATA controllers can be configured in the BIOS to work in emulated IDE mode, so why not just use hard disks?
You know your OS is advanced when you stop using the Intel programming guide as a reference.
Re: Floppy disk controller problems
My kernel can be booted from floppy, CD or HDD, and I want to support all of them.omarrx024 wrote:I have no experience with floppies, and I know this doesn't answer your question, but why would you want to support floppies at all, whether it is emulated or real HW? ATA hard disks are even simpler than floppies, and most real hardware with SATA controllers can be configured in the BIOS to work in emulated IDE mode, so why not just use hard disks?
Just a procrastinating uni student doing stupid things (or not doing them at all)...
SysX: https://github.com/itsmevjnk/sysx.git
SysX: https://github.com/itsmevjnk/sysx.git
Re: Floppy disk controller problems
Are you using an usb floppy on real hw? Then it wont work