Hi everybody,
I'm trying to create some code that will give me the size of the volume if i feed it the driveletter of that volume. I already use the interrupt 21 function 360 approach elsewhere in my code (a bit like the "diskfree" approach in the pb35.inc stuff, in dosunit.bas i believe) to get the free space on a volume, i was hoping for a similar sort of thing but can't find anything.
As a sidenote, the int 21 function 360 approach doesn't return values higher than 2Gb as free space (the old dos fat16 limit), which is not a problem for the code that i use it for, but that would be a problem for the new bit of code i need: the volume size should be returned correctly for fat16 and fat32 drives of any size.
Any suggestions would be much appreciated, thanks.
Regards,
Tom
I'm trying to create some code that will give me the size of the volume if i feed it the driveletter of that volume. I already use the interrupt 21 function 360 approach elsewhere in my code (a bit like the "diskfree" approach in the pb35.inc stuff, in dosunit.bas i believe) to get the free space on a volume, i was hoping for a similar sort of thing but can't find anything.
As a sidenote, the int 21 function 360 approach doesn't return values higher than 2Gb as free space (the old dos fat16 limit), which is not a problem for the code that i use it for, but that would be a problem for the new bit of code i need: the volume size should be returned correctly for fat16 and fat32 drives of any size.
Any suggestions would be much appreciated, thanks.
Regards,
Tom
Comment