Aggregatet
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
pastermil@sh.itjust.works to Open Source@lemmy.ml · 1 year ago

Microsoft Just Released MS-DOS Source Code!

github.com

external-link
message-square
31
fedilink
11
external-link

Microsoft Just Released MS-DOS Source Code!

github.com

pastermil@sh.itjust.works to Open Source@lemmy.ml · 1 year ago
message-square
31
fedilink
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 register to comment.
  • herrcaptain@lemmy.ca
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    I love that they specify that they’re not accepting pull requests.

    • QuazarOmega@lemy.lol
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Even funnier when it’s their own platform and it has been missing the feature to disable them for so long afaik

  • fubarx@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Ignore them. Send a pull request with the full source of Arch Linux.

    • deadbeef79000@lemmy.nz
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      Nah, just a giant compiled binary blob. That’s what all the cool hackers do these days.

  • viking@infosec.pub
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    LOL, some of the comments in the source are gold.

    https://github.com/microsoft/MS-DOS/blob/main/v4.0/src/DOS/ABORT.ASM

    Note:  We do need to explicitly close FCBs.  Reasons are as follows:  If we
    ; are running in the no-sharing no-network environment, we are simulating the
    ; 2.0 world and thus if the user doesn't close the file, that is his problem
    ; BUT...  the cache remains in a state with garbage that may be reused by the
    ; next process.  We scan the set and blast the ref counts of the FCBs we own.
    ;
    ; If sharing is loaded, then the following call to close process will
    ; correctly close all FCBs.  We will then need to walk the list AFTER here.
    ;
    ; Finally, the following call to NET_Abort will cause an EOP to be sent to all
    ; known network resources.  These resources are then responsible for cleaning
    ; up after this process.
    ;
    ; Sleazy, eh?~
    
    • bane_killgrind@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      This is what people mean when they say hostile to users damn wow

  • henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    The MS-DOS v1.25 and v2.0 files were originally shared at the Computer History Museum on March 25th, 2014 and are being (re)published in this repo to make them easier to find[.]

    • zarenki@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      In 2014, MS-DOS 1.25 and 2.0 were released under a Microsoft shared-source license (Microsoft Research License) which forbids redistribution

      In 2018, both versions were published to GitHub and relicensed as MIT, making them properly open-source

      Today, MS-DOS 4.00 was added to that repo, also under MIT.

  • katy ✨@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    2
    ·
    1 year 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 :)

    • Ms. ArmoredThirteen@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      1 year 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…

      • AMPher@lemmy.dbzer0.com
        link
        fedilink
        Italiano
        arrow-up
        1
        ·
        5 months ago

        Me but with pythonautogui

      • viking@infosec.pub
        link
        fedilink
        arrow-up
        1
        ·
        1 year 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.

      • SnipingNinja@slrpnk.net
        link
        fedilink
        arrow-up
        0
        ·
        1 year 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
          ·
          1 year ago

          I suggest Autohotkey ;)

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

            deleted by creator

            • WhiskyTangoFoxtrot@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              1 year ago

              Just set up a drinking bird to set off AHK.

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

                deleted by creator

  • Björn Tantau@swg-empire.de
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

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

    • onlinepersona@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

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

      Anti Commercial-AI license

  • moon@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    What’s the use case that would upset Microsoft the most?

    • Samsy@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Idk, maybe fork it under the name MS-DOSNT

  • blindbunny@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    FreeDos is better anyways

    • Björn Tantau@swg-empire.de
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I wonder if this is of any use to them or if they’re already too far ahead.

      • schnurrito@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        To my knowledge, FreeDOS has been a fairly complete implementation of DOS for a very long time, so this is probably not useful to them.

      • psud@aussie.zone
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        They couldn’t use it. MS DOS is released under a licence that restricts redistribution

        • Björn Tantau@swg-empire.de
          link
          fedilink
          Esperanto
          arrow-up
          1
          ·
          1 year ago

          They changed it to MIT. You can basically do what you want with it.

        • explodicle@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          It says here you can modify and distribute: https://github.com/Microsoft/MS-DOS/blob/main/LICENSE

  • Pantherina@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Cough

    If you want something actually useful

    • interdimensionalmeme@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Thanks, I was looking exactly for thst !

      It will be great to know exactly what happens when you make the function calls.

      I have been very curious to know how they wrote the InStr VB6 function. I hope it’s somewhere in there !

    • mac@infosec.pub
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 year ago

      That page is full of pop-ups.

      • Pantherina@feddit.de
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Your browser is not full of adblockers

        • mac@infosec.pub
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          It’s the built-in browser for sync for Lemmy on android

          • Pantherina@feddit.de
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Which is a chromium instance. I would use mull with UBO and noscript.

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.

  • 103 users / day
  • 1.36K users / week
  • 3.26K users / month
  • 10.4K users / 6 months
  • 3 local subscribers
  • 38.8K subscribers
  • 1.51K Posts
  • 18.2K Comments
  • Modlog
  • mods:
  • Evan@lemmy.ml
  • kevincox@lemmy.ml
  • CrypticCoffee@lemmy.ml
  • Lettuce eat lettuce@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org