Skip to content
Colin Cogle edited this page Oct 10, 2024 · 1 revision

aprs-weather-submit on DOS

Why? I don't know. I wanted to see if I could do it, and I did.

System Requirements

A system running MS-DOS, FreeDOS, or your other favorite DOS variant; or, any version of Microsoft Windows that supports running 16-bit code. (However, anyone running Windows Vista or newer should use the Windows builds instead!)

The binary release is compiled for the Intel 8086, so it will run on anything from the oldest IBM PC to the latest x86 processors. The x86S architecture is not supported by the DOS build.

Limitations

I had to make some sacrifices to get this to compile for DOS. Namely, all APRS-IS support is automatically disabled when compiling on DOS.

Additionally, due to filesystem limitations, the compiled binary should be called APRSWX.EXE.

Compiling

  1. Download and install the OpenWatcom compiler.
  2. Download and extract the source code.
  3. Run MAKE.BAT.

Roadmap

There are some things that I'd like to add to the DOS build, but are beyond my skill set.

Add back APRS-IS support

DOS does not have native networking support. However, I know that things like mTCP exist. If anyone knows how to port my GNU-compatible socket code to run on mTCP instead, submit a pull request!

Strip out my C99 kludges

Because OpenWatcom only supports C89, I had to redefine the C99 math functions that my code uses. When compiling on DOS (or, in fact, any system that's lacking C99 support), my custom c99math.h and c99math.c libraries will be compiled and linked. This introduces the possibility of me creating software bugs. Is there a better way to do this?

Clone this wiki locally