Hi!

19-Июл-2004 22:36 Arkady V.Belousov wrote to
[EMAIL PROTECTED]:

BO>> Essentially for Turbo C the compiler helpers are extracted from the c
BO>> compiler RTL to be absolutely sure we only link those and nothing else from
BO>> that library. These are automatically linked and called "far", which is
BO>> correct because init_text and _text are in different segments. This is why
BO>> those routines have to have a fixed segment and that's only easily
BO>> accomplished in low RAM.
AVB>      I have the trouble: when I move _TEXT after HMA_TEXT and include into
AVB> TGROUP (to minimize usage of low memory), BC's kernel behaves wrongly. Do
AVB> you mean, that joining _TEXT with HMA_TEXT causes BC to generate near calls
AVB> to far routines? Hm. I should try: what happen if (for non-Watcom) move
AVB> _TEXT after HMA_TEXT_END and define for it new group (say, TGROUP2)?

     Unfortunately, this one also doesn't works. :(  Probably, becuase
somewhere it not included into resident code, when computed size of this
code by substracting HMA_TEXT_END-HMA_TEXT_START. This is what you mean that
placing _TEXT into low memory "only easily accomplished"?




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to