"dir" replacement?
-
toddvernon
- Posts: 47
- Joined: Sat Feb 29, 2020 11:38 am
"dir" replacement?
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?
It only takes that long to calculate free space on the first dir command to the drive. After that, it does much faster.
PCjr w/ Rapport Drive 2 + 384KB Memory Expansion Package, jrIDE
Wanted: light pen
Documentation (including new and updated pages for the Guide to Operations) from:
PC Compact Printer
Speech Attachment (except for the installation instructions)
Wanted: light pen
Documentation (including new and updated pages for the Guide to Operations) from:
PC Compact Printer
Speech Attachment (except for the installation instructions)
-
ZiggyTheHamster
- Posts: 46
- Joined: Wed Jul 24, 2019 7:19 am
Re: "dir" replacement?
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.