Hi, El s�b, 19-06-2004 a las 10:19, Arkady V.Belousov escribi�:
> This is reason, why I wrote COM2EXE and convert CTMOUSE.COM into .EXE. > This adds only 32 bytes of header, so, overhead is small, but safety and > convenience for user is much increased. You may get my COM2EXE from > CuteMouse package or wrote your own COM2EXE utility. When converting .COM > into .EXE, my utility says in .EXE header, than program requires 64k of > memory, unless you use -s option, which specifies how much of space should > be allocated for data and stack areas. For CTMOUSE I specify 512 bytes, > which includes zero data area and 512 bytes of stack. Thanks a lot for the info. Is this equivalent to adding a harcoded EXE header, as described in the nasm manual? > Warning: unlike .COM, for .EXE DOS doesn't places zero on top of stack, > so, you can't end .EXE program (plain .EXE or converted from .COM to .EXE) > by RET instruction, only by INT20 or INT21/4C. No problem, append already uses INT21/4C. Eduardo. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel
