Floppy disk controller problems

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
itsmevjnk
Member
Member
Posts: 32
Joined: Fri Apr 13, 2018 10:18 am
Location: Melbourne, VIC, Australia

Floppy disk controller problems

Post by itsmevjnk »

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?
Just a procrastinating uni student doing stupid things (or not doing them at all)...

SysX: https://github.com/itsmevjnk/sysx.git
User avatar
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

Re: Floppy disk controller problems

Post by BrightLight »

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.
itsmevjnk
Member
Member
Posts: 32
Joined: Fri Apr 13, 2018 10:18 am
Location: Melbourne, VIC, Australia

Re: Floppy disk controller problems

Post by itsmevjnk »

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?
My kernel can be booted from floppy, CD or HDD, and I want to support all of them.
Just a procrastinating uni student doing stupid things (or not doing them at all)...

SysX: https://github.com/itsmevjnk/sysx.git
MollenOS
Member
Member
Posts: 202
Joined: Wed Oct 26, 2011 12:00 pm

Re: Floppy disk controller problems

Post by MollenOS »

Are you using an usb floppy on real hw? Then it wont work
Post Reply