Hallo Bart,

Well if I claim I can get it under 64K I'm not lying.

Did I say you're lying?

OW compiles *plain 2035* as 66318 bytes uncompressed for me for FAT32/386. Why your kernel is bigger after all these optimizations is a puzzle. I've read that on low memory machines its optimizer may be limited

I have 256 MB RAM and 60 MB free XMS (the rest is for a XMSDSK) - surely enough for it.


but I can't think of anything else.

What version of OpenWatcom are you using? I use 1.2. I can't otherwise explain the size difference


For the unstable branch it's 64700 or so.

Even after reducing kernel size with my latest patches I still get 65830 bytes. That's more than a kilobyte bigger! How can we explain that?


Changing the calling convention to
#pragma aux default parm [ax dx cx] modify [ax dx es fs]
in portab.h (careful, don't do that for SYS & EXEFLAT)

Unfortunately this causes compile errors as early as in dsk.c for me, so I can't use it.


and making LoL (init-mod.h, main.c) extern struct lol FAR * const LoL; (see the const) chops of another couple 100s of bytes.

Adding "const" shortens it by 16 bytes for me, so I added it. Borland kernel size doesn't change.


The smiley implies that it can't be freely downloaded from Vietnam. Maybe you can but I can't.

Why are we so different? I'm much older than you but we both sound like it was the opposite! ;-)


Everything can be physically downloaded.

...if you know the right URL at the right time ;-)

But that's a silly argument and by publically encouraging it you're not doing this project a favour.

Oh, sorry, did I "trod the kitten" again (as we say here)? I'm scared of myself but not ashamed :) Why? Because I'm a complete copyright illiterate, or at least ignorant. And I'm too old to change.


Right, checking again I see it compresses a SYS file like a COM file. Well with some hand holding (load at 50:100) you could treat kernel.sys like a COM file too. Haven't tried that though.

Let me first achieve your uncompressed kernel sizes with OpenWatcom. I hope you help me with this.


Regards,
Lucho


------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to