I have Freedos installed on 8086 hardware using an SD Card with a 1Gb
FAT-16 partition. (I have so far been unable to get a FAT-32 partition
to work)
After boot the first time I run a `DIR` command e.g.
```
C:\>dir
```
The directory list returns quickly, but the number of bytes free takes
another 30 seconds to appear. Subsequent `DIR` commands return
immediately whether in the same directory or elsewhere.
Now I realise my 8MHz 8086 is x,000 times slower than my linux notebook
and the 1GByte partition is >30 times larger than the original hard
drive in the machine from 1986, but am still wondering if this is just
how it is or if there is some sub-optimal code somewhere in there that
could be given a tweak.
I dug through as much of the code as I could and found the free bytes is
obtained by a DOS Interrupt call, int 21,7303 if implemented or int
21,36 otherwise. I started digging through the kernel code, but
unfortunately my x86 assembler knowledge is far to weak to make any
headway there.
Trevor
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user