Page 1 of 1
"dir" replacement?
Posted: Fri Apr 03, 2020 6:02 pm
by toddvernon
In college, I wrote a DOS "dir" replacement in Turbo Pascal for fun to try out DOS calls. Now after getting my jrIDE and 30mb partitions going the "wait" on calculating "free disk space" is crazy. I actually don't want to know that every time I issue a "DIR" command so I'm going to recreate that command unless this is a "thing" that exists everywhere.
Re: "dir" replacement?
Posted: Fri Apr 03, 2020 9:07 pm
by FortMax
It only takes that long to calculate free space on the first dir command to the drive. After that, it does much faster.
Re: "dir" replacement?
Posted: Sat May 02, 2020 3:02 pm
by ZiggyTheHamster
It would maybe be better to figure out what data structure in RAM holds the free space value (and whether or not it checked), and then overwrite that on boot so that DOS doesn't think it needs to check anymore.