TIP: Click on subject to list as thread! ANSI
echo: osdebate
to: DAVID BOWERMAN
from: SCOTT LITTLE
date: 1997-04-02 17:02:00
subject: Who can answer this?

 [ Quoting David Bowerman to Scott Little ] 
 SL> What program did you use to check the free space?
 DB> Simple call to find the free space on the drive.  Int 21H, function
 DB> 36.
I'm not familiar with ASM programming, so I don't know what the limitations
of that call are.
What program did you use to make the call? And what was it compiled in?
All compilers I have seen use 32bit signed integers to refer to disk size and
space. Since a 32bit integer has a maximum of |2147483647|, that means the
maximum disk size that can be stored is just over 2047meg. If the program
uses an unsigned 32bit integer, the max is obviously twice the above.
Regards,
 - Scott
[ admin@cyberia.asstdc.com.au | www.asstdc.com.au/~cyberia ]
--- FMail/Win32 1.22
3:712/848)
---------------
* Origin: Cyberia Internet, Fidonet, Battlenet..

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.