<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/add-dos-platform-support-djgpp-by-ajenbo-pull-request-15377-libsdl-org-sdl-daq5jy6jx" -->

---
title: Add DOS platform support (DJGPP) by AJenbo · Pull...
description: SDL3 now supports DOS as a platform via DJGPP, merged as a 3.6.0 feature. The port is a collaborative effort covering VGA/VESA video (RGB and 8-bit indexed...
canonical: https://daily.dev/posts/add-dos-platform-support-djgpp-by-ajenbo-pull-request-15377-libsdl-org-sdl-daq5jy6jx
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Add DOS platform support (DJGPP) by AJenbo · Pull Request #15377 · libsdl-org/SDL | daily.dev
og:description: SDL3 now supports DOS as a platform via DJGPP, merged as a 3.6.0 feature. The port is a collaborative effort covering VGA/VESA video (RGB and 8-bit indexed...
og:url: https://daily.dev/posts/add-dos-platform-support-djgpp-by-ajenbo-pull-request-15377-libsdl-org-sdl-daq5jy6jx
og:image: https://api.daily.dev/og/posts/DaQ5jY6Jx.png
og:image:alt: Add DOS platform support (DJGPP) by AJenbo · Pull Request #15377 · libsdl-org/SDL
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Add DOS platform support (DJGPP) by AJenbo · Pull Request #15377 · libsdl-org/SDL

**[Hacker News](https://daily.dev/sources/hn)** · 6 min read · 0 upvotes · 0 comments

## Summary

SDL3 now supports DOS as a platform via DJGPP, merged as a 3.6.0 feature. The port is a collaborative effort covering VGA/VESA video (RGB and 8-bit indexed color, hardware page-flipping, vsync), Sound Blaster audio (SB16, SB Pro, SB 2.0/1.x via IRQ-driven DMA), PS/2 keyboard, INT 33h mouse, gameport joystick, and a cooperative threading scheduler using setjmp/longjmp. Build support includes a CMake cross-compilation toolchain file and a DJGPP CI job. The port has been tested extensively with DevilutionX in DOSBox and can run Quake 1. Known limitations include no audio recording, no shared library loading, and some minor formatting function issues in automated tests.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/libsdl-org/SDL/pull/15377>

## Similar posts on daily.dev

- [Post by @dosnostalgic.bsky.social — Bluesky](https://daily.dev/posts/post-by-dosnostalgic-bsky-social-bluesky-tl121ylth) · Lobsters · 0 upvotes · 0 comments
- [SDL3 Ported To HarmonyOS / OpenHarmony](https://daily.dev/posts/sdl3-ported-to-harmonyos-openharmony-mdvs8qahv) · Phoronix · 0 upvotes · 0 comments
- [Master Low-Level Graphics in C: Build a Software Renderer from Scratch](https://daily.dev/posts/master-low-level-graphics-in-c-build-a-software-renderer-from-scratch-ssvj3mayp) · freeCodeCamp · 0 upvotes · 0 comments
- [STM32 Handheld Has OpenGL And All The Classics](https://daily.dev/posts/stm32-handheld-has-opengl-and-all-the-classics-mweutk6ee) · Hackaday · 0 upvotes · 0 comments

---

Tags: [#c](https://daily.dev/tags/c)

[View this post on daily.dev](https://daily.dev/posts/add-dos-platform-support-djgpp-by-ajenbo-pull-request-15377-libsdl-org-sdl-daq5jy6jx)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Add DOS platform support (DJGPP) by AJenbo · Pull Request #15377 · libsdl-org/SDL","url":"https://daily.dev/posts/add-dos-platform-support-djgpp-by-ajenbo-pull-request-15377-libsdl-org-sdl-daq5jy6jx","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/add-dos-platform-support-djgpp-by-ajenbo-pull-request-15377-libsdl-org-sdl-daq5jy6jx"},"datePublished":"2026-04-24T18:21:14.576Z","dateModified":"2026-04-24T18:22:03.145Z","description":"SDL3 now supports DOS as a platform via DJGPP, merged as a 3.6.0 feature. The port is a collaborative effort covering VGA/VESA video (RGB and 8-bit indexed...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/12518beda83e769fee2b886aff92c062?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/12518beda83e769fee2b886aff92c062?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/add-dos-platform-support-djgpp-by-ajenbo-pull-request-15377-libsdl-org-sdl-daq5jy6jx","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"c","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"Add DOS platform support (DJGPP) by AJenbo · Pull Request #15377 · libsdl-org/SDL"}]}
```

