The 1.44MB FAT32 floppy disk
The 1.44MB FAT32 floppy disk
The 1.44MB FAT32 floppy disk.
Compatible with Windows (XP and above) and Linux as a FAT32 file system as a mounted image or real floppy disk.
Fully compatible with the MS FAT32 specification.
Compatible with Windows (XP and above) and Linux as a FAT32 file system as a mounted image or real floppy disk.
Fully compatible with the MS FAT32 specification.
Last edited by mikegonta on Mon Apr 10, 2017 11:34 am, edited 14 times in total.
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: The 1.44MB FAT32 floppy disk
Would anyone care to explain what the point is here?
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
-
- Member
- Posts: 501
- Joined: Wed Jun 17, 2015 9:40 am
- Libera.chat IRC: glauxosdever
- Location: Athens, Greece
Re: The 1.44MB FAT32 floppy disk
Hi,
Regards,
glauxosever
Mikegonta made a BIOS extender for protected mode and implemented a FAT32 driver for MikeOS. He shows off that Windows XP can read a physical floppy formatted with FAT32, and then he is showing MikeOS booting from the floppy. Curiously, the floppy has 32 MB capacity.onlyonemac wrote:Would anyone care to explain what the point is here?
Regards,
glauxosever
Re: The 1.44MB FAT32 floppy disk
Mike Gontaglauxosdever wrote:Mikegonta
Indeed I did, it's called SudoBIOS. In this case however, the MikeOS is 16-bit real mode..... made a BIOS extender for protected mode
I'll be releasing the 32-bit protected mode version soon.
Actually, the FAT32 driver is exactly the same as the simple MikeOS FAT12 driver, merely adapted for FAT32 and simplified..... and implemented a FAT32 driver for MikeOS.
I'm sure all versions of Windows since can read/write it as well, (Windows98 and DOS can't, but probably due to assumptionsHe shows off that Windows XP can read a physical floppy formatted with FAT32,
they make concerning floppy disks) the XP machine was simply at hand and I don't presently have a USB floppy drive.
Also boots and runs from Qemu/Bochs and a USB flash drive on real hardware..... and then he is showing MikeOS booting from the floppy.
The floppy disk (and image) are limited to 1.44 MB, however since Windows will not recognize a FAT32 volume smaller thanCuriously, the floppy has 32 MB capacity.
32.5 MB some technical trickery was employed.
Re: The 1.44MB FAT32 floppy disk
That's why floppy disks are usually formatted with fat12.
Re: The 1.44MB FAT32 floppy disk
And, that's why the beginner is still using a FAT12 image to start off with.Techel wrote:That's why floppy disks are usually formatted with fat12.
The MikeOS FAT32 driver is actually simpler than the original FAT12 driver (which I merely modified and simplified).
Say goodbye to FAT12 (and FAT16) and hello to FAT32.
PS. It's not a joke and the floppy disk is real - the image (and basic format) will boot and run from a USB flash drive
on real hardware and work in Qemu/Bochs.
Re: The 1.44MB FAT32 floppy disk
But why hacking with fat32 on floppy disks if you could also use fat12?
Re: The 1.44MB FAT32 floppy disk
Why hack on FAT12 when you can use FAT32?Techel wrote:But why hacking with fat32 on floppy disks if you could also use fat12?
PS. It has absolutely nothing to do with floppy disks - that was only to get your attention.
Re: The 1.44MB FAT32 floppy disk
Ok, my attention was successfully grabbed
Do what you want to.
Do what you want to.
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: The 1.44MB FAT32 floppy disk
Because it sounds really cool!Techel wrote:But why hacking with fat32 on floppy disks if you could also use fat12?
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Re: The 1.44MB FAT32 floppy disk
The really cool thing is the adaption of the MikeOS FAT12 to FAT32.onlyonemac wrote:Because it sounds really cool!Techel wrote:But why hacking with fat32 on floppy disks if you could also use fat12?
The FAT12 floppy disk (image) has long since been the mainstay of the simple OS and standalone system.
Now an even simpler FAT32 system is available.
Last edited by mikegonta on Mon Nov 21, 2016 10:24 am, edited 1 time in total.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: The 1.44MB FAT32 floppy disk
Well congratulations. You just increased filesystem overhead to some 20% of your actual disk space. I'm sure it was worth it
Re: The 1.44MB FAT32 floppy disk
Hi,
Cheers,
Brendan
Fun facts:Combuster wrote:Well congratulations. You just increased filesystem overhead to some 20% of your actual disk space. I'm sure it was worth it
- For FAT12 for a 1440 KiB volume you get 2880 clusters, so that one "cluster allocation table" costs 2880*1.5 = 4320 bytes, which (rounded up to the nearest sector) consumes 4608 bytes or 0.31% of the disk.
- For FAT32 the minimum volume size is 65525 (512-byte) clusters and for this case one "cluster allocation table" costs 65525*4 = 262100 bytes, which (rounded up to the nearest sector) consumes 262144 bytes or 17% of the disk.
- FAT typically uses 2 "cluster allocation tables" (where the second is for redundancy, which is important for floppy where read errors are far more common). The total space consumed by both cluster allocation tables for FAT12 is 0.625% of a 1440 KiB floppy, and FAT32 total space consumed by both cluster allocation tables is a massive 35.5% of a 1440 KiB disk.
- Because the minimum volume size for FAT32 is larger than 1440 KiB (it's roughly 32 MiB) the extra sectors/clusters that can't exist have be marked as faulty, so the majority of the 35.5% consumed by cluster allocation tables is used to convince an OS not to use sectors that don't exist.
I disagree. A "really cool" thing would be an OS that doesn't have the massive security and performance problems caused by using (any version of) FAT for storing critical files needed for booting.mikegonta wrote:The really cool thing is the adaption of the MikeOS FAT12 to FAT32.
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Re: The 1.44MB FAT32 floppy disk
It certainly was considering the space savings in the MikeOS-4.5 FAT32 (16-bit real mode) FAT32 driver which uses no 32-bit variablesCombuster wrote:Well congratulations. You just increased filesystem overhead to some 20% of your actual disk space. I'm sure it was worth it
in any form (instructions, registers, combined registers or memory).
Last edited by mikegonta on Mon Nov 21, 2016 10:25 am, edited 1 time in total.
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: The 1.44MB FAT32 floppy disk
Since when was MikeOS about security anyway? It's about a low-level operating system that's easy to understand and hack around with (and on).Brendan wrote:I disagree. A "really cool" thing would be an OS that doesn't have the massive security and performance problems caused by using (any version of) FAT for storing critical files needed for booting.
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing