SDL has never supported DOS.
You might be thinking of Allegro?
https://github.com/superjamie/allegro-4.2.3.1-xc