Live data from Hacker News

SDL Now Supports DOS

github.com

121–130 of 136 posts

Re: SDL Now Supports DOS

#122
post #12

This is an especially funny screenshot as DosBOX itself is built on SDL.

Hm, then we need dosbox running in dos!

DOSBox-X has DOS as one of its supported host platforms (using HX-DOS that a sibling comment mentioned):

https://github.com/joncampbell123/dosbox-x#dosbox-x-supporte...

Re: SDL Now Supports DOS

#124
post #23
post #15

Earlier quoted context omitted.

Most computers in Turkey come with FreeDOS preinstalled because there's a law that states all computers must be sold with an operating system. FreeDOS turns out to be the cheapest and easiest. That's why you don't let people who have never touched a computer write tech laws. You get results like this.

Is there a reason they don't go with Ubuntu or something like that instead?

[deleted]

Re: SDL Now Supports DOS

#125
post #24
post #20

Earlier quoted context omitted.

The really weird case is where the computer isn't actually compatible with DOS, so they put in a locked-down Linux distro that emulates FreeDOS.

Wasn't it Dell or HP that did this? IIRC it was FreeDOS-on-QEMU-on-X11-on-Linux.

HP: https://blog.tmm.cx/2022/05/15/the-very-weird-hewlett-packar...

149 comments: https://news.ycombinator.com/item?id=31389893

Re: SDL Now Supports DOS

#126
post #17
post #8

Earlier quoted context omitted.

The real question is "why not?" :)

I think this PR is awesome, and I can totally see myself playing around with this at some point. Being able to create DOS executables of SDL projects is just ... cool! But I do wonder about the practicality. This would, I presume (never done DOS development, never touched a memory extender) only run on 386+ CPUs, and maybe more importantly, probably require a newer CPU than that to run anything non-trivial at accepta…

[deleted]

Re: SDL Now Supports DOS

#127
post #114

Earlier quoted context omitted.

Whether I saw your other response or not is moot. Your comment said "welcome to Amiga games", as if it were unique to Amiga. The context of the thread is PC, where they had their own booter/bare-metal games. So you don't have to go to "Amiga games world", you're already in the proper world.

It was certainly unique to Amiga games on my little part of the world. Not everyone was rich enough to know how the world looked elsewhere, connecting to all kinds of BBSs.

And yet, your little slice of the world doesn't represent the world at whole.

If you're ignorant of the situation, maybe don't come out with such a self-centered (and arguably, arrogant) statement; and especially don't double down on it when corrected.

Re: SDL Now Supports DOS

#128
For making DOS games, there is also an old port of Löve2D. Löve2D normally uses SDL, but the DOS port has its own little (mode 13h VGA) graphics/audio/input library instead. Guess with a proper SDL port it might be possible to make a more complete port of Löve 2D (and of a newer version).

https://github.com/SuperIlu/lovedos

The original upstream version is archived and has not been maintained in 9+ years. The link is to a fork that has fixes as recent as 2025.

Re: SDL Now Supports DOS

#129

Earlier quoted context omitted.

Most support Intel HDA. The problem is that people don't use onboard audio anymore (because its incredibly and audibly noisy). They use USB or Bluetooth. Bluetooth absolutely isn't standardized and is a mess, and USB miiiiiiight be okay if you limit to a subset of EHCI and USB Audio Class 1.0 devices. At this point, its easier to just use Linux and run your game as pid 1.

Regarding onboard audio: About 10 years ago, it became "common knowledge" about mainboards that onboard sound has become good enough for almost anybody. It has never been true for me, maybe because my recent mainboards have been lower middle class (AMD B350 / B650) largely chosen for good CPU power converters. Because my two (PC) laptops since 2020 have both had really damn good headphone outputs, I can believe that…

This common knowledge is still incorrect.

Good news, though, there are a lot of inexpensive good external DACs out there. Over the past decade, an entire industry grew up to fix this problem.

Re: SDL Now Supports DOS

#130
post #114

Earlier quoted context omitted.

It was certainly unique to Amiga games on my little part of the world. Not everyone was rich enough to know how the world looked elsewhere, connecting to all kinds of BBSs.

And yet, your little slice of the world doesn't represent the world at whole. If you're ignorant of the situation, maybe don't come out with such a self-centered (and arguably, arrogant) statement; and especially don't double down on it when corrected.

My slice of the world was certainly relevant to me.

You have the freedom to chose to reply or ignore me.

Post reply on HN