Hi! 9-Апр-2005 14:05 [EMAIL PROTECTED] (Eric Auer) wrote to freedos-user@lists.sourceforge.net:
EA> The FDSHIELD COM file is now almost 4 kB big (UPXed size, otherwise it -----------------^^^ EA> is almost 6 kB big) and the shield takes about 4 kB RAM while resident EA> (you can load it to UMBs if you want, it will need 6-7 kB of UMB space -------------^^^^^^^^^^^^^^^-----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ EA> to initialize and load successfully). You definitely get more security I imperatively recommend to convert .COM file of (any) TSR, which allowed to load trough LOADHIGH, to .EXE format. Such conversion: - prevents memory destroying, when there is no sufficient (for initialization) memory space in UMB; - allows to load program into suitable (by size) UMB (not into biggest); - prevents users disturbing by useless (for them) information (about memory, required for initialization). Program may be converted: - by external converter (like my COM2EXE). Shortage: if you wish to reduce memory allocation for your program (from 64k to something lesser), you should know required value and point it as COM2EXE option argument. - by adding EXE header into COM source. After discussing with Eduardo Casino, I make template, which shows, how to do this. - by changing source from COM to EXE style. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user