Page 1 of 1
My floppy driver finally works!
Posted: Sun Nov 13, 2016 2:32 pm
by Ycep
Now, finally, after 3 months of hardcore debugging, I have finally finished my sector device.
This was the error:
Code: Select all
if(FloppySeek(Track,Head,Drive))return (void*)0;
needed to be:
Code: Select all
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!
Re: My floppy driver finally works!
Posted: Sun Nov 13, 2016 3:30 pm
by Octacone
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.
Re: My floppy driver finally works!
Posted: Mon Nov 14, 2016 3:07 am
by Kevin
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).
Re: My floppy driver finally works!
Posted: Tue Nov 15, 2016 10:03 am
by SpyderTL
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...
Re: My floppy driver finally works!
Posted: Tue Nov 15, 2016 4:46 pm
by mikegonta
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 disks
even 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.
Re: My floppy driver finally works!
Posted: Wed Nov 16, 2016 9:53 am
by osdever
Congratulations!