aboutsummaryrefslogtreecommitdiff
path: root/Makefile.wcc
AgeCommit message (Collapse)AuthorFilesLines
2025-05-04DOS: added `wmake release` target to create zip archivesRobin Haberkorn1-2/+6
The text files are added with DOS line-breaks. Well, actually README.OLD is currently detected as a binary file, so it won't.
2025-05-04moved the DOS-specific defines into teco.h, so we don't need the `@WCC_DEFS` ↵Robin Haberkorn1-7/+6
workaround Also, we increased the maximum size of objects to be put into the "far data" section, which significantly decreases the DOS binary size.
2025-04-27implemented EC for non-UNIX almost pure standard C compilersRobin Haberkorn1-1/+2
In particular, this will work on MS-DOS, albeit inefficiently. You also cannot generically redirect stderr on COMMAND.COM.
2025-04-25DOS: Eliminate unused codeRobin Haberkorn1-2/+2
This reduces the binary size by a few kilobytes.
2025-04-24enabled LFN supportRobin Haberkorn1-1/+1
I tested it on FreeDOS with DOSLFN.COM. Should also work on Win9x, so the DOS port works a Windows editor as well.
2025-04-23updated Makefile.wcc: it assumes that $WATCOM has been set and the compilers ↵Robin Haberkorn1-7/+20
are in $PATH * has been tested both hosted on Linux and DOS with OpenWatcom v1.9. * more aggressively optimize for executable size
2025-04-23DOS: implemented console size detectionRobin Haberkorn1-1/+2
This is done via 10h interrupts and special memory regions. The alternative would have been to use set the cursor to 9999,9999 and query the cursor position via ANSI escape sequences.
2025-04-23MS-DOS real-mode (8086) portRobin Haberkorn1-0/+41
It can be cross-compiled or compiled natively on 32-bit DOS with OpenWatcom C v1.9. Compiling on an 8086 might be possible later on - but we would have to add support for some ancient ANSI C compiler.