this post was submitted on 27 Apr 2024
153 points (96.4% liked)

Technology

59440 readers
5230 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
top 24 comments
sorted by: hot top controversial new old
[–] [email protected] 65 points 6 months ago (1 children)

Great.
This should be the standard for old retired software.

[–] [email protected] 33 points 6 months ago (1 children)
[–] [email protected] 20 points 6 months ago

I was shocked as I went through the source struggling to find any modules that had C. Craziness.

[–] [email protected] 33 points 6 months ago* (last edited 6 months ago)
[–] [email protected] 20 points 6 months ago* (last edited 6 months ago) (3 children)

Will it help improve wine? If yes, great! If no, I geuss it's a great learning tool for new OS devs.

[–] [email protected] 26 points 6 months ago (2 children)

As someone who has done some OS dev, it’s not likely to be of much help. DOS didn’t have much of any of the defining features of most modern OS’s — it barely had a kernel, there was no multitasking, no memory management, no memory protection, no networking, and everything ran at the same privilege level. What little bit of an API was there was purely through a handful of software interrupts — otherwise, it was up to your code to communicate with nearly all the hardware directly (or to communicate with whatever bespoke device driver your hardware required).

This is great for anyone that wants to provide old-school DOS compatibility, and could be useful in the far future to aid in “digital archaeology” (i.e.: being able to run old 80’s and early 90’s software for research and archival purposes on “real DOS”) — but that’s about it. DOS wasn’t even all that modern for its time — we have much better tools to use and learn from for designing OS’s today.

As a sort of historical perspective this is useful, but not likely for anything else.

[–] [email protected] 5 points 6 months ago (2 children)

Extremely enlightening comment here.

Sounds like IBM kindof got ripped off. Seems about right for Gates/Ballmer/Microsoft.

And I bet a lot more of that jank is still in modern Windows than I'd like to think about.

[–] [email protected] 12 points 6 months ago

To put things into context, IBM didn’t get ripped off in any way (at least not from DOS - the whole IBM/Microsoft OS/2 debacle is a different story). The earliest PCs (IBM PC, IBM PC XT, IBM PC Jr., and associated clones) didn’t really have the hardware capabilities needed to permit a more advanced operating system. There was no flat memory model, no protection rings, and no Translation Look-aside Buffer (TLB). The low maximum unpaged memory addressing limit (1MB) made it difficult to run more than one process at a time, and really limits how much OS you can have active on the machine (modern Windows by way of example reserves 1GB of virtual RAM per process just for kernel memory mapping).

These things did exist on mainframe and mini computers of the day — so the ideas and techniques weren’t unknown — but the cheaper IBM PCs had so many limitations that those techniques were mostly detrimental (there were some pre-emptive OSs for 8086/8088 based PCs, but they had a lot of limitations, particularly around memory management and protection), if not outright impossible. Hence the popularity of DOS in its day — it was simple, cheap, didn’t require a lot of resources, and mostly stayed out of the way of application development. It worked reasonably well given the limitations of the platforms it ran on, and the expectations of users.

So IBM did just fine from that deal — it was when they went in with Microsoft to replace DOS with a new OS that did feature pre-emptive multitasking, memory protection, and other modern techniques that they got royally screwed over by Microsoft (vis: the history of OS/2 development).

[–] [email protected] 5 points 6 months ago
[–] [email protected] 1 points 6 months ago* (last edited 6 months ago) (1 children)

I'd like to see the same for 5 and dos4gw. Could potentially help with maintaining legacy stuff.

[–] [email protected] 4 points 6 months ago

I’m not sure what’s keeping Microsoft and ibm from Open Sourcing all the rest of the DOS versions as well — the 3.x series was very influential, 5 added disk compression, and 6 was the most modern of them all. I can’t remember if Stac’s lawsuit against Microsoft would require them to take out the disk compression parts (although AFAIK the relevant patents are probably long expired now), but even if that’s the case having these available as OSS would also be useful — even if only for a historical context.

[–] [email protected] 26 points 6 months ago

It could be helpful for dosbox devs.

[–] [email protected] 7 points 6 months ago (1 children)

The only reason they would ever open source something like this is because there's no practical use for it in modern-day computing.

[–] [email protected] 5 points 6 months ago

Yeah. This is Microsoft we're talking about.

[–] [email protected] 9 points 6 months ago

DosBox gonna get a boost?

[–] [email protected] 4 points 6 months ago (1 children)

MIT license too, huh. I was sort of expecting a more restrictive one because, well, Microsoft and IBM

[–] [email protected] 4 points 6 months ago (1 children)

They could not care less, this is so ancient and irrelevant.

[–] [email protected] 3 points 6 months ago

Something being ancient and irrelevant tdoesn't stop a lot of companies.

[–] [email protected] 3 points 6 months ago

Then once all the problems are fixed, make it private again.

[–] [email protected] 1 points 6 months ago

Even Windows XP is unofficially open source at this point.