Writing FreeDOS Programs in C

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
sponsored
  1. PDCurses

    A curses library for environments that don't fit the termcap/terminfo model.

    I'm guessing that PC-Hack 1.0, the ancestor of Nethack, contains a fair subset of curses, and pdcurses is from 01987 according to the bottom of https://github.com/wmcbrine/PDCurses/blob/master/docs/HISTOR.... But on the IBM, curses mostly solved the problem of porting Unix software to MS-DOS. The problems it solved on Unix, like minimizing characters transmitted to the terminal, papering over differences between terminal types, and setting cbreak mode, just didn't exist.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. CSMWrap

    Get PC BIOS back on UEFI only systems.

    If enabling CSM in your BIOS isn't an option or isn't enough for FreeDOS, there is a translation layer that can get it to run on UEFI hardware: https://github.com/FlyGoat/CSMWrap

  4. MS-DOS

    Discontinued The original sources of MS-DOS 1.25 and 2.0, for reference purposes

    To the list of compiler listed I want to mention this one as well, that is my compiler of choice for 16-bit C in (Free)DOS these days (because it has a BSD license, it's very small, and it runs great inside of DOS itself so no need to mess with cross-compilation and I know if I have an environment like FreeDOS or DOSBox set up I can both compile and run my code, and I will never have to re-install or reconfigure anything when moving between different host systems):

    https://github.com/microsoft/MS-DOS/tree/main/v4.0/src/TOOLS

    (Not only Microsoft's C compiler in that directory, but also MASM, MAKE, and a bunch of other tools. 1-2 MB of files and you have an entire toolchain for 16-bit DOS.)

  5. Compiler

  6. SBEMU

    legacy sound blaster emulation for DOS

  7. fdpp

    FreeDOS plus-plus, 64bit DOS

    indeed there's something similar: https://github.com/dosemu2/fdpp

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • PDCurses – for environments that don't fit the termcap/terminfo model

    3 projects | news.ycombinator.com | 18 Apr 2025
  • How to make a GUI?

    1 project | /r/DOS | 9 Jul 2023
  • GDB on Windows 10, no TUI at all?

    1 project | /r/gdb | 17 Apr 2023
  • Can curses lib handle resizing of Windows console?

    1 project | /r/cpp_questions | 5 Oct 2022
  • stty not recognized, can't find any solutions anywhere else. Anyone know a fix or another way to set input to raw?

    1 project | /r/cpp_questions | 19 Sep 2022

Did you know that C is
the 6th most popular programming language
based on number of references?