MACROTECH FILE MANAGEMENT LIBRARY
FILES
AND DEMO APPLICATIONS
Supported File Functions :
OpenFile : Opens a file
SaveFile : Saves a file
CreateDir : Creates a dir using full path
Deltree : Deletes a dir
DirBox : Shows files to open
SaveBox : Shows files to save
FindBox : Searches for a file in a directory including subdirectories
1.File.Asm
2.FStruct.Asm
3.FileFat.Asm
4.DateTime.Asm
5.DirEntry.Asm
6.Boxes.Asm
7.FileOps.Asm
Some Extreme Tests For Macrotech File Management Library
Here are some programs to test the reliability of MPL File Library
MPL : A Full Featured Text Editor with file open and save.
FindFile : Searches for a file in a directory including sub dirs
Dirbox : Shows files to open
Savebox : Shows files to save
IMPORTANT NOTES :
File Management is the most important
and also the most difficult task of an application (**multitasking may follow it**)
whether it is an OS or a user program.Can you imagine Windows, Linux, Unix or
other operating systems without open,save and delete file support.Without file
support not only the operating system but even the computer itself is nothing absolutely nothing.
Macrotech File Management Library
provides some extreme operations such as open,save, delete files,create, delete
directories even deltree directories without DOS interrupts.Although they are powerful enough, they
are not tested exhaustively and therefore we recommend you not to use this routines in your
main drive.Use a secondary hd,or partition your hd as C,D,E,F.. ,or use floppy
drive.To further protect your HD, add some routines to the start of
WriteSector proc in the File.Asm.This will affect all of the
library routines.Some safety code has already been added to the start of it.
Macrotech File Management Library is
using BIOS int 13h and as always no DOS interrupts have been used.They are completely
OS-free even the most daunting parts such as find file and deltree.They don't
support beyond 8GB.They support FAT12,FAT16 and FAT32.No Long FileName support
yet.
Since Windows XP does not allow BIOS
int 13h WinXP users won't be able use Macrotech File Management Library.Win
98,Win 95 allows BIOS int 13h.
If you create a file or directory using
Macrotech File Management Library in a floppy or especially in a HD you may not
see the file at first from within Windows.This is because Windows loads all
files and directories and fat tables into the memory at the startup ( and as I
understand it loads at least most recent files too) and if you create a file
using direct disk write Windows will be unable to detect this
unless you restart Windows or run scandisk for the
drive in which you created the file.