home *** CD-ROM | disk | FTP | other *** search
- The program on this diskette is an entry to your C software contest.
- I have written it over the past several months in response to a need
- to clean up the garbage which had accumulated on my 30MB hard disk.
- This program was written in Lattice C V1.04 with a two assembler
- subroutines for the functions which were impossible in C (extended BDOS
- calls and video interrupt). It requires DOS 2.00 or later. The
- development and initial testing was done with an IBM AT on DOS 3.1, but
- was also tested under DOS 2.10 on an XT as well as several other
- machines and configurations. It should be compatible with any IBM
- clones, since it uses normal DOS function calls for everything except
- the video (which is impossible without using ANSI.SYS or equivalent).
- So I just used the BIOS video interrupt 10 Hex. The two assembler
- subroutines were required because this version of C does not support the
- later BDOS calls or an arbitrary interrupt (the video interrupt). It
- also only supports the small memory model, but I have run the program on
- a 30MB hard disk with nearly 2000 files with no problems.
-
- If you wish to recompile and/or relink the program, here are the
- commands which I used.
- C>lc1 treesurg
- C>lc2 treesurg
- C>link c+treesurg+xbdos,treesurg,,lc+hwmc
-
- The files I have included on this disk are:
- READ.ME the file you are reading
- TREESURG.C C source for the tree surgeon program
- TREESURG.DOC document file
- TREESURG.EXE runable program
- XBDOS.ASM assembly source of subroutine to allow
- access to extended BDOS functions
- SWINT.ASM assembly source of subroutine to perform
- interrupt (used for the video interrupt)
- HWMC.LIB
-
- I hope I have not forgotten anything vital. If you have questions or
- comments on the program, you can reach me at:
-
- Harvey W. Miller
- 428 Yosemite Court
- Petaluma, CA 94952