Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!sdd.hp.com!usc!apple!portal!cup.portal.com!Ordania-DM From: Ordania-DM@cup.portal.com (Charles K Hughes) Newsgroups: comp.sys.atari.8bit Subject: Re: DIRT - a new DIR command Message-ID: <36148@cup.portal.com> Date: 22 Nov 90 05:51:46 GMT References: <35990@cup.portal.com> <36045@cup.portal.com> Organization: The Portal System (TM) Lines: 23 Well, I've got some good news and some bad news... First the bad news...there is one confirmed bug in DIRT.COM, located by yours truly. It isn't painful or nasty, so don't worry about it. Apparently DIRT.COM skips the very first directory entry - not a major bug but I should have a fix for it this weekend. Anybody else find any bugs? Ok, now the good news...I've figured out a way to convert a 3 byte binary number to an 8 byte ASCII decimal number. Not very impressive eh? Well, my way is fast and doesn't use any division. It does, unfortunately, require a 1200 byte table. I'm working on this method right now, so if it shows a significant improvement, I'll actually use it in DIRT 2.0. Also in DIRT 2.0, I will include the /M and /C switches (paged output and count files respectively), and perhaps even support for the erased, in use, and open for write bits. Is anybody interested in a directory compactor? It would remove all the deleted & open for write files from a directory, and then deallocate any extra sectors the directory is using. Interested? Charles_K_Hughes@cup.portal.com