OSDev.org https://forum.osdev.org/ |
|
My floppy driver finally works! https://forum.osdev.org/viewtopic.php?f=2&t=31007 |
Page 1 of 1 |
Author: | Ycep [ Sun Nov 13, 2016 2:32 pm ] |
Post subject: | My floppy driver finally works! |
Now, finally, after 3 months of hardcore debugging, I have finally finished my sector device. This was the error: Code: if(FloppySeek(Track,Head,Drive))return (void*)0; needed to be: Code: if(!FloppySeek(Track,Head,Drive))return (void*)0; This is how much could single interpuction sign lead to problems. This day, to me, will not be forgotten. I may be dreaming... This is not possible. *** Looking at 0x55 0xAA... *** Now, FAT12! Yeah! |
Author: | Octacone [ Sun Nov 13, 2016 3:30 pm ] |
Post subject: | Re: My floppy driver finally works! |
Congrats! At least you have something that can hold data, even if it is floppy. Also I wanted to tell you this for a long time: put put put and that is all. Why FAT12 when you can do FAT32 with the same amount of code. |
Author: | Kevin [ Mon Nov 14, 2016 3:07 am ] |
Post subject: | Re: My floppy driver finally works! |
Because FAT32 on floppies is a terrible idea (in fact, it's plain wrong because FAT32 has a minimum file system size that is larger than a floppy). |
Author: | SpyderTL [ Tue Nov 15, 2016 10:03 am ] |
Post subject: | Re: My floppy driver finally works! |
Lukand wrote: *** Looking at 0x55 0xAA... *** I think this deserves to go in the AWWW YEAH thread. Congrats. Kevin wrote: Because FAT32 on floppies is a terrible idea (in fact, it's plain wrong because FAT32 has a minimum file system size that is larger than a floppy). That horse has been thoroughly beaten in other threads. I wouldn't put too much effort into arguing about it here... |
Author: | mikegonta [ Tue Nov 15, 2016 4:46 pm ] |
Post subject: | Re: My floppy driver finally works! |
Kevin wrote: ... FAT32 has a minimum file system size that is larger than a floppy ... exFAT has a maximum file size much larger than FAT32 and a minimum file size of only 1 Meg. MS does not support exFAT on 1.44MB floppy diskseven though the minimum file system size is smaller, whereas FAT32 on 1.44MB floppy disks is fully supported (other than formatting - which is simple enough to do yourself) by MS on WinXP and later. SpyderTL wrote: That horse has been thoroughly beaten in other threads. You can lead a programmer to water, but you can't make the programmer think.
|
Author: | osdever [ Wed Nov 16, 2016 9:53 am ] |
Post subject: | Re: My floppy driver finally works! |
Congratulations! |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |