OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 2:23 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Floppy disk controller problems
PostPosted: Mon Apr 23, 2018 7:19 am 
Offline
Member
Member

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


Top
 Profile  
 
 Post subject: Re: Floppy disk controller problems
PostPosted: Mon Apr 23, 2018 9:30 am 
Offline
Member
Member
User avatar

Joined: Sat Dec 27, 2014 9:11 am
Posts: 901
Location: Maadi, Cairo, Egypt
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.


Top
 Profile  
 
 Post subject: Re: Floppy disk controller problems
PostPosted: Mon Apr 23, 2018 10:08 am 
Offline
Member
Member

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


Top
 Profile  
 
 Post subject: Re: Floppy disk controller problems
PostPosted: Tue Apr 24, 2018 3:26 am 
Offline
Member
Member

Joined: Wed Oct 26, 2011 12:00 pm
Posts: 202
Are you using an usb floppy on real hw? Then it wont work

_________________
mollenos | gracht (protocol library) | vioarr (window-manager) | bake (package manager)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 84 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group