Hi!
21-Авг-2006 03:57 [EMAIL PROTECTED] (Aitor Santamarэa) wrote to "Eric Auer"
<[EMAIL PROTECTED]>:
AS> I think this was the problem when it was a COM, Bernd, can you
AS> remember the details?
Sure. Read my previous letter - because resident programs NEVER should
by in .COM format (without header, which specifies executable requirements
for dynamic memory).
>> If you make DISPLAY a true EXE which knows well about how
>> much heap it needs and preferrably also has a real stack
AS> Arkady may help with the settings of the EXE header for COM2EXE. I
All simple. If your program doesn't requires additional memory (in
compare with data, already present in executable), just use something like
"-s32" option (this dynamic memory+stack, and 32 bytes of stack should be
minimum specified). If your program requires additional memory after start
(for example, if you eliminate from executable 62000 bytes of zeros, but
require 62000 bytes of memory for these zeros after start), specify
something like "-s62032" option (62000 bytes of dynamic memory + 32 bytes
for stack).
Of course, space for stack may (and should be?) more, than 32 bytes
(even if your code is not too recursive). This is because some BIOS calls
advertised as required at least 128-512 bytes of stack space.
AS> actually supposed I was relying on caller's stack (I am not doing many
AS> weird things, not using C or the like, that can abuse the stack more
AS> than I do in assembler.
There is no such thing as "caller stack" when we discuss transient
portion (which gets control, when program starts).
>> You either have to use another compressor, design your
>> program as a proper EXE with own stack, or ask some UPX
>> expert to fix the sub-optimal workings of UPX for your
>> case. At least you can be sure that this is NOT a FreeDOS
>> kernel problem.
AS> Well, I have an option which is better (easier) than the other three
AS> that you gave me: wait until DISPLAY becomes DISPLAY.SYS. As I said,
Not need to convert exe/sys to plain sys, especially because combo may
give additional features (like information about status) without additional
executables.
AS> I've willing to finish with that the soonest, and I really wanted 0.13
AS> be the last one before 1.0 (but won't be, as 0.13. was a "quick"
AS> release for FD 1.0).
AS> I would nonetheless inform UPX guys about this...
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel