lemmy.mlaga97.space
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
pastermil@sh.itjust.works to Open Source@lemmy.ml · 2 years ago

Microsoft Just Released MS-DOS Source Code!

github.com

external-link
message-square
144
link
fedilink
  • cross-posted to:
  • opensource@lemmy.ml
0
external-link

Microsoft Just Released MS-DOS Source Code!

github.com

pastermil@sh.itjust.works to Open Source@lemmy.ml · 2 years ago
message-square
144
link
fedilink
  • cross-posted to:
  • opensource@lemmy.ml
GitHub - microsoft/MS-DOS: The original sources of MS-DOS 1.25, 2.0, and 4.0 for reference purposes
github.com
external-link
The original sources of MS-DOS 1.25, 2.0, and 4.0 for reference purposes - microsoft/MS-DOS
alert-triangle
You must log in or # to comment.
  • theshatterstone54@feddit.uk
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    Ah, the Quick and Dirty Operating System… we meet again.

  • xia@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    How much you wanna bet that a select few turbo-nerds are racing to debug it or something.

  • katy ✨@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    i remember writing .bat files and pretending they were really fancy update scripts when i was like ten they did nothing but it was still fun :)

    • laughterlaughter@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Please use punctuation.

      • katy ✨@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        punctuation is a scam created by the shadow government

        • billgamesh@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          yeah punctuations is silly who cares

          • Eldritch@lemmy.world
            link
            fedilink
            English
            arrow-up
            0
            ·
            2 years ago

            Typicalcommingfromashillforbigwhitespace!

          • laughterlaughter@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            2 years ago

            It isn’t. There’s a reason for it.

    • chiliedogg@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      I still use bat h files and the system scheduler to automate a shocking amount of my job.

    • Ms. ArmoredThirteen@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Like half of my job is writing .bat files to automate stuff locally and not tell my boss that all I do anymore is double click the right things in the right order…

      • viking@infosec.pub
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        You can put in a timeout command at the end, and then call the next .bat file.

        For example “TIMEOUT /T 60” waits for 60 seconds before resuming, or you can override it by pressing any key.

        So if you know how long the wait time between scripts is, just write a master.bat and call them in order, with adequate waiting time in between.

        • Ms. ArmoredThirteen@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          Okay so the dumb part is a lot of this is me abstracting away our complex build system. I’ve basically bubble-gummed a dedicated build system in top of it for only the tasks I do. At a certain point if I start adding configurations or timing I might as well just wrap it in gradle or something. But the system that I’m calling is already their attempt at simplifying another build system that’s underneath it that was written by the old guard using arcane sorcery. The whole thing is a mess

        • DefederateLemmyMl@feddit.nl
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          Or just use the @CALL command to call them in order without having to guesstimate how long they run.

        • Tja@programming.dev
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          This guy is a master bat-er

      • DefederateLemmyMl@feddit.nl
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

      • CatTrickery@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        I had a job like that and powershell was a godsend. I let it slip when I accidentally set the multiplier for the delay randomiser too low and it did a months work in a morning. I ended up writing a guide for the others there when I left but sadly everyone but me had computers that supported newer versions of Windows where the scripts ended up broken. They asked me to come back and update it the Monday after I left. I asked if they would pay me to do it. They said no. Then I said no.

        • Ms. ArmoredThirteen@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          This is part of why I still have manual kickoffs for mine. Never need to worry about work getting done while I’m away or getting done suspiciously fast. Also they should have paid you lol, the dingdongs. Would cost a lot more just in work lost having someone else spend time deciphering and fixing it. They could always get someone else up to speed with the system after it is fixed by you so there’s little or no down time

      • SnipingNinja@slrpnk.net
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        Next step, bind them to unused keys on your keyboard and press them in the right order

        • ebits21@lemmy.ca
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 years ago

          I suggest Autohotkey ;)

          • ☂️-@lemmy.ml
            link
            fedilink
            arrow-up
            0
            ·
            2 years ago

            op’s job is now turning on the computer and setting off ahk.

            • WhiskyTangoFoxtrot@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              2 years ago

              Just set up a drinking bird to set off AHK.

              • ☂️-@lemmy.ml
                link
                fedilink
                arrow-up
                0
                ·
                2 years ago

                op’s job is now overseeing a drinking bird

                • ShieldGengar@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  2 years ago

                  Wow a promotion; fancy!

        • A Wild Mimic appears!@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          i propose to create a menu in which you can define what batchfiles to run in what order. its been a while since i worked with batch files, but if memory serves right, that should be doable, no?

      • WhiskyTangoFoxtrot@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        Do you ever list your job title as Batman?

        • katy ✨@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          only if they keep the it room as dark as possible and whenever someone walks in for help they jump up onto the desk with a flashlight and yell "I’M BATMAN’ while wearing a cape and underpants.

          • nycki@lemmy.world
            link
            fedilink
            English
            arrow-up
            0
            ·
            2 years ago

            Tra-la-la!

            • caseyweederman@lemmy.ca
              link
              fedilink
              arrow-up
              0
              ·
              2 years ago

              50% hero. 100% cotton.

        • kingthrillgore@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          No, because the IRS wants to tax Batman

    • KISSmyOSFeddit@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      They were important to boot games that needed most of your limited memory.

      • doublejay1999@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        640k should be enough for anybody

        • A Wild Mimic appears!@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          tell that my mouse driver, the soundblaster driver and the cdrom driver fighting over every single byte of that precious ram 😩

        • laughterlaughter@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          Bill Gates denied saying this, by the way.

      • Klear@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        Or to play the demo made by the warez group that cracked it before launching the game.

  • Björn@swg-empire.de
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    I guess we now have a timeframe in which to expect the release of Windows.

    • onlinepersona@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      30+ years after death. Better than 70+ years of copyright 🤷

      Anti Commercial-AI license

  • DogWater@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    Is this useful for hobbyists besides poking around and seeking the design philosophy at work back then?

    Like would there be any advantage or reason to implement this in a home project? For example maybe that it’s lightweight and has some rare compatibility or anything like that?

    • vext01@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      I think its interesting from a historical perspective.

      I imagine people will examine the code, find easter eggs, bugs, unknown features, amusing comments etc.

      I look forward to seeing what is found.

      • Potatos_are_not_friends@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        Looking forward to the “when I wrote this code, only god and I knew how it works. Now only god knows” comments.

    • bigredcar@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      There are a lot of decades old embedded systems out there. Every so often you hear about a big company still relying on floppy disks and other old tech, including major railways and airplane companies. Having the source code will help with debugging better than having to disassemble or other reverse engineering.

  • doublejay1999@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    Would this have Bill’s code in it ? Or was he off the shop floor by then ??

    • MonkderDritte@feddit.de
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      2 years ago

      Did Gates write any code? Wasn’t he the marketing guy?

      • amigan@lemmy.dynatron.me
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        2 years ago

        You’re thinking of Shit Jobs, the FruitCo charlatan. Gates’ pancake sort algorithm held the speed record for 30 years.

    • amigan@lemmy.dynatron.me
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      His last product was the OS for the Tandy model 100 in 1983.

    • ceasarlegsvin@kbin.social
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      I’d be surprised if Windows 11 didn’t still have bill’s code in it

      • nomous@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        I’d be surprised if Bill had written anything substantial in decades tbh.

        • Norah (pup/it/she)@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 years ago

          Both of these comments are probably true.

          • ForgotAboutDre@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            2 years ago

            Windows is just shit piled on top of shit and sold as something new. It’s so bloated so they can maintain backwards compatibility. So original code is definitely in Windows 11.

            • amigan@lemmy.dynatron.me
              link
              fedilink
              English
              arrow-up
              0
              ·
              2 years ago

              Ever hear of Windows NT? Legacy DOS code was relegated to userspace long ago. And NT was designed by Dave Cutler, the guy who designed VMS and RSX-11. Most certainly not “shit piled on top of shit.” Unix could have learned a thing or two from Dave but by then it was too late; the plane had very much taken off.

  • Murdoc@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    2 years ago

    So not 3? Why not, because it was the most successful or something? 🤷

    Plus I never even heard of 4 before. I’m going to have to look that up.

    Bah, I was thinking of windows. I need to get some sleep.

    • davidgro@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      2 years ago

      As far as Windows goes, 95 was actually version 4.00.950 for the first version.

      98 was 4.1, 2000 was 5.0, XP 5.1, Vista 6.0, 7 was 6.1, 8 was 6.2, 8.1 = 6.3

      Then they jumped to 10 in both the name and internal version.

      Windows 11 is still 10.0.x though.

  • Pennomi@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    Woah MIT license. That’s a lot more permissive than I expected.

  • Omega_Jimes@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    Look at them, embracing open source like this, how wonderful.

    • JasonDJ@lemmy.zip
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      I’m sure the only reason why they waited this long is that they needed to make sure it’s old enough that the companies they stole code from can’t sue.

    • MacN'Cheezus@lemmy.today
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      Can’t wait for the OSS community to fork it and build some cool shit on top of this /s

      • Duamerthrax@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        Well, this should be incredibly useful for Dosbox and improving playability of retro games, right?

        • MacN'Cheezus@lemmy.today
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 years ago

          Perhaps, if there are some very specific compatibility issues that haven’t been solved yet.

          That said, MS-DOS 4 isn’t even the most recent version, the last one was 6.22 to my knowledge, and IIRC a lot of games tended to require at least version 5 or 6.

    • AnIndefiniteArticle@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      And look at all of they ways they are extending the open source community via github and copilot!

      • h3rm17@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        They sure are extinguishing any posible fear I may have about the absolutely destroying anything beautiful.

  • TrickDacy@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    Did they use source control of any kind back then?

    • Lowpast@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      2 years ago

      Soke vrsions of DOS used a VCS named Source Library Manager, SLM, aka Slime. Later, it became Microsoft Delta, and eventually SourceSafe, then they switched to SourceDepot, which was a flavor of Perforce.

  • PowerCrazy@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    Where is the ctrl+alt+del function defined? I just want to see what made that sequence work. I’d also be interested in where ctrl+break is defined.

    • mkwt@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Ctrl+alt+delete was a separate interrupt line direct from the keyboard. That is, when you pressed the three keys, the interrupt signal was asserted, causing the CPU to jump to the interrupt service routine, which should be in the source code package.

      • billgamesh@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        is it in the source code, or is it just passed right to BIOS?

        • uid0gid0@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          2 years ago

          It was originally a BIOS interrupt, but eventually got captured by the OS. Here’s Dave Bradley talking about inventing it https://m.youtube.com/watch?v=K_lg7w8gAXQ

  • jemikwa@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 years ago

    https://github.com/microsoft/MS-DOS/blob/main/v4.0/src/DOS/CTRLC.ASM
    ; The user has returned to us.
    So ominous.
    ; Well... time to abort the user.
    Goodbye

  • leanleft@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    Too late.

    https://en.wikipedia.org/wiki/ReactOS already exists

    • Norah (pup/it/she)@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      ReactOS is a Windows clone though, not an MS-DOS one…

      • BeardedGingerWonder@feddit.uk
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 years ago

        And it’s cloning NT

    • MonkderDritte@feddit.de
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      That is different source code, doing way more.

    • 1ostA5tro6yne@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      how is reactos these days? is it a drop-in replacement for windblows yet?

      • billgamesh@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        not quite. it works for some things, but still a lot to go!

      • Ricky Rigatoni@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        still can’t run on bare metal unless you have very specific hardware

  • TypicalHog@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    Wake me up when they open source Windows 10/11.

    • werefreeatlast@lemmy.worldBanned
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      I think nobody wants that. I can think of a better way to fuck up your hardware and it pulls nails too.

      Microsoft…you keep it. We good.

    • neutron@thelemmy.club
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Let’s wait until 2050s.

      • TypicalHog@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 years ago

        That’s too optimistic, haha!

    • xavier666@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      Should have just before the heat death of the universe (if we are lucky)

  • Ricky Rigatoni@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    when rust

Open Source@lemmy.ml

opensource@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !opensource@lemmy.ml

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

  • Open Source Initiative
  • Free Software Foundation
  • Electronic Frontier Foundation
  • Software Freedom Conservancy
  • It’s FOSS
  • Android FOSS Apps Megathread

Rules

  • Posts must be relevant to the open source ideology
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !libre_culture@lemmy.ml
  • !libre_software@lemmy.ml
  • !libre_hardware@lemmy.ml
  • !linux@lemmy.ml
  • !technology@lemmy.ml

Community icon from opensource.org, but we are not affiliated with them.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 31 users / day
  • 136 users / week
  • 774 users / month
  • 2.15K users / 6 months
  • 0 local subscribers
  • 41.8K subscribers
  • 2.29K Posts
  • 29.8K Comments
  • Modlog
  • mods:
  • Evan@lemmy.ml
  • kevincox@lemmy.ml
  • CrypticCoffee@lemmy.ml
  • Lettuce eat lettuce@lemmy.ml
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org