Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

trip report: Duff AWK (Miscellaneous)

posted by Rugxulo Homepage, Usono, 07.02.2026, 01:21

> I attempted to convert Duff AWK from Borland C & TASM to Watcom.

OpenWatcom used to have some small fascination with POSIX tools and bundled some sources, but I never looked too closely.

At the very least, Gunther K. (in 2010) built BWK's awk with OpenWatcom for 16-bit DOS. But I think it uses too small a stack, and it (rarely) runs out of memory on code where MAWK runs fine (and faster).

MAWK is faster and better, IMHO, but I test with both (and GAWK and maybe others). The 1996 DOS + OS/2 (MS C) build of MAWK was pretty bloated, so I rebuilt with TC++ and UPX'd it.

All of that should be on iBiblio for FreeDOS.

> The original build uses a small memory model. I found another build that
> uses a compact memory model so that it can better utilize conventional
> memory.

There was also an older (GNUish) build of MAWK that ran in small model.

 

Complete thread:

Back to the forum
Board view  Mix view
23153 Postings in 2179 Threads, 404 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum