> PS Bernd: Could you try to get in touch with some of the old
> experts to find any who can help me by fixing the kernel /

TURBO C/FAT32:
you mentioned 'linker complains: TGROUP exceeds 64KB' somewhere.

TGROUP is *all* code called near and is a fundamental limit of small
memory modell. If that's the problem, you got a real problem, as the
kernels memory model is a bit complicated, and restructuring it might
require serious work.

AFAIR TGROUP comprises both HMA_CODE (the part that later goes to HMA)
and INIT_CODE (used during initialization).

Since OW optimizes better then TC, this might be the problem, and OW
fits into < 64 KB, and TC requires more. This might end the TC
kernel...
 

> sys "compileability" on Turbo C and OpenWatcom? Thanks a lot!

that's easy: drop the tiny model and use small model instead; should
work with watcom RTL, or some (easy to write)

void far *dosalloc(long length)
    {
    union REGS ir;
    ir.x.ax = 0x4800;
    ir.x.bx = (uint)((length+15)>>4);
    intdos(&ir, &ir);
    if (ir.x.cflag & CARRY_FLAG)
        return 0;
    return MK_FP(ir.x.ax,0);
    }

this does NOT work for tiny model programs !

Tom


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to