Page 1 of 2
Interrupt doesn't work
Posted: Fri Jul 22, 2016 10:55 am
by Technoguy
Hi,
I implemented an floppy driver and keybrd driver. When i don't install both driver os work but while i initialize and install them it doesn't work. In keybrd the interrupt is 33 and in floppy interrupt 38 and irq 6.
Re: Interrupt doesn't work
Posted: Fri Jul 22, 2016 12:00 pm
by Combuster
Fourth revision of the same question and now it's not the screen, but the keyboard that's involved. Why? Do you even know yourself?
Is this relevant, and if that doesn't work, can you at formulate, test, and post the
smallest amount of code after which you would expect an interrupt from the floppy drive?
Re: Interrupt doesn't work
Posted: Fri Jul 22, 2016 7:18 pm
by BrightLight
I think it's a waste of time to even bother with a floppy driver in 2016.
ATA and AHCI are not that difficult if you know what you're doing.
P.S: This should be in OS Development, not OS Design & Theory.
Re: Interrupt doesn't work
Posted: Sat Jul 23, 2016 5:20 am
by onlyonemac
Technoguy wrote:Hi,
I implemented an floppy driver and keybrd driver. When i don't install both driver os work but while i initialize and install them it doesn't work. In keybrd the interrupt is 33 and in floppy interrupt 38 and irq 6.
- In what way does the OS work when you don't install the drivers?
- In what way does the OS not work when you do install the drivers?
Also
- We don't care what interrupts/IRQs you're using if you don't give us any code
- "Keybrd" is not a word, it's spelt "keyboard"
Re: Interrupt doesn't work
Posted: Sun Jul 24, 2016 1:35 am
by Technoguy
Okay, i am really sorry brothers. I am a student learning in high school in class 8 but i like os development. I will never do this mistake.
Re: Interrupt doesn't work
Posted: Sun Jul 24, 2016 1:39 am
by Technoguy
Combuster wrote:Fourth revision of the same question and now it's not the screen, but the keyboard that's involved. Why? Do you even know yourself?
Is this relevant, and if that doesn't work, can you at formulate, test, and post the
smallest amount of code after which you would expect an interrupt from the floppy drive?
. void floppy_install(38);
Re: Interrupt doesn't work
Posted: Sun Jul 24, 2016 1:42 am
by BrightLight
Technoguy wrote:. void floppy_install(38);
It doesn't even make sense because (assuming this was copied/pasted from your OS) that line is just a function prototype.
Re: Interrupt doesn't work
Posted: Sun Jul 24, 2016 1:44 am
by Technoguy
omarrx024 wrote:I think it's a waste of time to even bother with a floppy driver in 2016.
ATA and AHCI are not that difficult if you know what you're doing.
P.S: This should be in OS Development, not OS Design & Theory.
. What your os is i think your os is the only one which is the ghost of computer. You know even windows support floppy. The baddest and the black side os is your one.
Re: Interrupt doesn't work
Posted: Sun Jul 24, 2016 1:46 am
by Technoguy
omarrx024 wrote:I think it's a waste of time to even bother with a floppy driver in 2016.
ATA and AHCI are not that difficult if you know what you're doing.
P.S: This should be in OS Development, not OS Design & Theory.
. What your os is i think your os is the only one which is the ghost of computer. You know even windows support floppy. The baddest and the black side os is your one.
Re: Interrupt doesn't work
Posted: Sun Jul 24, 2016 1:46 am
by BrightLight
Technoguy wrote:. What your os is i think your os is the only one which is the ghost of computer. You know even windows support floppy. The baddest and the black side os is your one.
What the heck is that supposed to even mean?
Re: Interrupt doesn't work
Posted: Sun Jul 24, 2016 2:07 am
by Technoguy
omarrx024 wrote:Technoguy wrote:. What your os is i think your os is the only one which is the ghost of computer. You know even windows support floppy. The baddest and the black side os is your one.
What the heck is that supposed to even mean?
. Sorry
Re: Interrupt doesn't work
Posted: Sun Jul 24, 2016 2:13 am
by onlyonemac
omarrx024 wrote:Technoguy wrote:. What your os is i think your os is the only one which is the ghost of computer. You know even windows support floppy. The baddest and the black side os is your one.
What the heck is that supposed to even mean?
I think what he's trying to say is that your OS is really bad, even worse than Windows, because it doesn't support floppy disks. He's saying that your OS is worse than Windows because Windows supports floppy disks while yours doesn't. He's describing your OS as a ghost and as black as attempted metaphors for "very bad".
Re: Interrupt doesn't work
Posted: Tue Jul 26, 2016 10:04 am
by Roman
I guess, he meant, that your OS is on the dark side of the Force.
Re: Interrupt doesn't work
Posted: Tue Jul 26, 2016 10:20 am
by ~
omarrx024 wrote:I think it's a waste of time to even bother with a floppy driver in 2016.
ATA and AHCI are not that difficult if you know what you're doing.
P.S: This should be in OS Development, not OS Design & Theory.
If ATA/SATA/AHCI/USB are not difficult, then a floppy driver is easier too, so why not implement it?
The fact is that floppies are still capable to make things easier, and are actually vital if you use old ISA machines trying to make sure that you're dealing only with code that runs natively in the best minimum or maximum i386 (386DX/387) as the absolute minimum platform for your base system and toolchain when compiled/built.
Re: Interrupt doesn't work
Posted: Tue Jul 26, 2016 12:53 pm
by BrightLight
~ wrote:If ATA/SATA/AHCI/USB are not difficult, then a floppy driver is easier too, so why not implement it?
The fact is that floppies are still capable to make things easier, and are actually vital if you use old ISA machines trying to make sure that you're dealing only with code that runs natively in the best minimum or maximum i386 (386DX/387) as the absolute minimum platform for your base system and toolchain when compiled/built.
Because floppies are old technology. Few people (if any) still use them today. I think we should try to keep up with modern hardware, not backwards-compatibility with old hardware.
And I didn't say USB is easy; I know it's difficult, but unlike floppy drives, coding a USB driver will be worth the effort.