> I don't care about any DOS editor other then mine, which I have used for 
> 30 years, and I'm not going to change that.

Is this editor publicly available?

> the above mentioned SVED shows how to write *really* small programs in WATCOM 
> C.
> 
> it provides a minimum ASM stub, which calls a C main() which does all the 
> hard work.

This ASM stub is actually a separate project of mine called WMINCRT (Watcom 
Minimal C RunTime). The revision shipped with SVED should be the following:

https://github.com/SvarDOS/core/tree/master/wmincrt/tags/20231113

Later revisions of WMINCRT support OPTIONAL command line processing into argc, 
argv, a VERY rudimentary memory allocator, test for NULL ptr writes, debug 
builds etc. However, they introduce quite some complexity, which I dislike in 
retrospective. But even with these added "features", a minimal .EXE file is 
still well below 300 bytes.

https://github.com/SvarDOS/core/tree/master/wmincrt/trunk

Bernd



_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to