5 ms·
Uhm... excuse me? Why? Is there anyone even using DOS for anything serious these days?
by jan_Sate 5mo ago
Uhm... excuse me? Why? Is there anyone even using DOS for anything serious these days?
- benatkin 5mo agoSDL is written in C. So it can support it without too much trouble. And some people are compiling stuff to run on DOS. So it makes sense. And your objection doesn't hold any water.
- zzo38computer 5mo agoThere are several reasons. One possible reason is, if you do not need the functions of other operating systems, then DOS will be much simpler.
- wk_end 5mo agoWho said anything about "serious"? (FWIW: I suspect there are more than a few old industrial control systems and such out there that are still running DOS, just because of an "if it ain't broke, don't fix it" attitude)
- kjs3 5mo agoMy brother is in manufacturing. DOS is everywhere. Older things too (PDP-11? DG Nova? Seen both, semi-recently). Not just because "ain't broke, don't fix", but because when you have a cloth dying machine or brick forming machine you spent >US$5M for, that is often a bespoke install for your plant, you don't replace it because some guy who prolly slings Javascript all day sez "DOS is oooold, boomer".
- ale42 5mo agoGiven the implications, I guess nobody is going to touch those setups to put an SDL-based program on them, though...
- kjs3 5mo agoYeah...this is "if you screw around with it enough, you void the warranty and we will no longer support it" for a potentially multimillion dollar machine.
- zozbot234 5mo agoThese DOS machines for industrial control could probably be replaced by an Arduino or a far more reliable MCU, whereas running an actual legacy PC as a business-critical component in manufacturing has to be a bit of a nightmare by now. AI could probably do a good enough job of working out how the legacy DOS executables were intended to work.
- deleted 5mo ago[deleted]
- kjs3 5mo agoThis isn't hackaday or adafruit. Everything is easy when you don't have to actually do it. You are wrong on every point.
- zozbot234 5mo agoYou might notice that I never once claimed that the replacement I described would be "easy" or, for that matter, even advisable given the broader real-world constraints involved; just technically feasible in the barest sense. I don't think many people would want to use DOS to design a greenfield system of that kind today, and there's a reason for that. Yes, you can buy newly made "DOS PCs" today, but can you really ensure that today's brand new DOS PC will behave in every way that matters like the actual 30 years old DOS PC that used to control the machinery? That's not a trivial question to answer. If you design the system from the outset to work with an actual PLC/SCADA or similar (the typical solution for hooking up to big industrial machinery of that sort) that's a bit less likely to come up as an issue, and the hardware will actually be designed for that kind of environment.
- kjs3 5mo agoYes, if you ignore everything that was discussed, invent time travel do you can "design the system from the outset" as the prescient you are, and pretend anyone was talking about greenfield, you get to be right. Good for you...some people just need the 'win'.
- gbin 5mo agoThe real question is "why not?" :)
- spijdar 5mo agoI 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 acceptable performance. So I wonder how many "real DOS machines" this can practically target. Still, it is massively cool.
- justsomehnguy 5mo ago> "real DOS machines" this can practically target. Define "real DOS machine". But I would give you my definition: something with ISA slot so you can hear that awful 2.0 stereo SB Pro-compatible with a hiss what could be almost parseltongue. Video card of choice. So basically anything between 386sx to P3 Tualatin and some rare and weird cases even P4 and AMD Athlon. https://theretroweb.com/motherboards?page=1&itemsPerPage=24&platform1=27&expansionSlotsIds%5B0%5D%5Bid%5D=6&expansionSlotsIds%5B0%5D%5Bcount%5D=1&expansionSlotsIds%5B0%5D%5Bsign%5D=%3D https://theretroweb.com/motherboards?page=1&itemsPerPage=24&...
- dosisking 5mo agoA real DOS machine is running on a 8086 (or 8088) ISA is part of IBM-compatibility.
- AJenbo 5mo agoI did testing on a K6-2 300Mhz, and yes it has 2 ISA slot, one of which is where I put the Sound Blaster 16. Compiling an SDL port of Quake quake gives you 90% performance at 320x200 and 97% at 640x480 compared to the original. That's about 45fps which isn't bad I think. SDL3 should now work with any i386+ with a VGA and 4MB of RAM which is roughly the requirements of Doom.
- queuebert 5mo agoThere used to be stock exchanges running happily on DOS. Maybe there still are.
- alnwlsn 5mo agobecause you can
- mikepurvis 5mo agoHacker News
- sedatk 5mo agoMost 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.
- Dwedit 5mo agoThe 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.
- ronsor 5mo agoWasn't it Dell or HP that did this? IIRC it was FreeDOS-on-QEMU-on-X11-on-Linux.
- 1313ed01 5mo agoHP: https://blog.tmm.cx/2022/05/15/the-very-weird-hewlett-packard-freedos-option/ https://blog.tmm.cx/2022/05/15/the-very-weird-hewlett-packar... 149 comments: https://news.ycombinator.com/item?id=31389893 https://news.ycombinator.com/item?id=31389893
- unleaded 5mo agoThose types of laws aren't all that bad.. they got us this: https://segaretro.org/Dottori_Kun https://segaretro.org/Dottori_Kun
- wk_end 5mo agoIs there a reason they don't go with Ubuntu or something like that instead?
- prmoustache 5mo agoI guess they don't want to get support's call. DOS looks like firmware for non techies.
- mrweasel 5mo agoPerhaps not serious, but I think people gravitate towards older systems these days because they are easier to conceptualize. It's not unrealistic for a single person to have a complete grasp of e.g. the C64 and it's programming environment. DOS is similarly constraint, but also easier for you to form a more or less complete mental model around. Some people love computers and making them do weird stuff, older computers make certain tasks feel more manageable.
- qsera 5mo agoYea, it is like looking at the insides of a mechanical clock vs looking into an electronic one. The former is mesmerizing, intriguing, inviting and inspiring. The later? you can't wait to put the lid back on...
- kjs3 5mo agoBecause it's fun, at least for certain folks? Crazy, right?
- jordand 5mo agoThere's a lot of interesting projects and even innovation going on making new games for old PCs/consoles. James Lambert and Kaze are doing fantastic work in the N64 space as one example (watch their videos on Youtube)
- reaperducer 5mo agoUhm... excuse me? Why? Is there anyone even using DOS for anything serious these days? Translation: "Stop liking things I don't like!"
- spankibalt 5mo agoI suppose it's an issue of ignorance; even IT veterans often don't know that DOS was, and still is, the driver of many highly specialized industry applications, or an OS running the software of individuals as well as small business owners around the world.
- zozbot234 5mo agoIt's a simple enough implementation that implicitly helps document how SDL is supposed to work (DOS being a well understood platform by now). Plenty of reasons to maintain it based on that alone.
- qsera 5mo agoBecause computers can be used to do things that are not...so serious?
- AJenbo 5mo agoMore specifically it's part of my quest to get Diablo (DevilutionX) running on anything it can, using modern tools. Next up PS2 and PSP.