Compiling MS-DOS 4.0 using DOSbox & Qemu

Sdílet
Vložit
  • čas přidán 27. 04. 2024
  • In this video I show to to build MS-DOS 4.0 from Microsoft's GIT, convert the files using zip/unzip's ASCII auto convert feature, then edit the 3 further broken files to produce a binary build, then use QEMU to then bootstrap the files into a working system. I've provided the built files below:
    * Microsoft's GIT:
    github.com/microsoft/MS-DOS
    * Files:
    archive.org/details/msdos-4-b...
  • Věda a technologie

Komentáře • 19

  • @Prenderrem
    @Prenderrem Před 19 dny +9

    Awesome video! Can I ask what your background is? It seems like you really know your stuff, and 4.0 was released just a few days ago.

    • @neozeed8139
      @neozeed8139  Před 18 dny +5

      I built it some 30 minutes after release but I got tipped off ! I have always been fascinated with secret tech stuff like Mach so I’d spent so many hours trying to find and build stuff! You get better at it with time!

  • @zoomosis
    @zoomosis Před 19 dny +3

    Good stuff!
    Random thoughts:
    I wonder how much this will help the FreeDOS project? Presumably the MIT license allows them to reuse parts of Microsoft's code without any problems. Though the FreeDOS folks may have already gleaned any code they needed years from when DR DOS was open-sourced.
    Interesting that the DOS version of Microsoft C 5.1 was included, so it's now officially freeware. It does look like all the regular header files and libraries were included. Though it's also possible it differs from the retail release of MSC 5.1. I'd need to check.
    It's odd DOSSHELL wasn't included. Maybe it used a third-party UI library and Microsoft don't have the rights to re-distribute the source code. Admittedly DOSSHELL wasn't very popular, given there were already better file managers such as XTreePro and Norton Commander available at the time. (Why weren't they ever open sourced? I digress...)

    • @zoomosis
      @zoomosis Před 19 dny +2

      Bonus random thought: It'd be wild if someone forked the code and created a "lite" version that used less memory. They could call it DOS 3.3. 😆

    • @neozeed8139
      @neozeed8139  Před 19 dny +1

      @@zoomosis It can certainly help for glancing at compatibility as DOS4 was the basis of OS/2 2.x

    • @SlideRSB
      @SlideRSB Před 18 dny

      I believe Dosshell was not included until DOS 5.

    • @zoomosis
      @zoomosis Před 18 dny +2

      @@SlideRSB It was definitely included with DOS 4.

    • @neozeed8139
      @neozeed8139  Před 18 dny +1

      Shell was in 4, it appears to have been all from IBM, or it’s not part of this BAK, or binary adaptation kit that was released. Kind of a shame

  • @joshuasmith8119
    @joshuasmith8119 Před 14 dny +1

    How were you able to boot from the floppy image with a plain format and just copying the system files? Shouldn't you need to copy the boot sector somehow? When I tried this part in VirtualBox I got a non-system disk error.

    • @neozeed8139
      @neozeed8139  Před 14 dny

      I'd formatted a blank disk from dos 4, and 5. I suspect you used DOS 6? Its very specific about the file order, io.sys, msdos.sys must be put down in that order as they have to appear first and contiguous.

    • @joshuasmith8119
      @joshuasmith8119 Před 14 dny

      @@neozeed8139 I used format from DOS 5 and copied files in the same order as you did. Could the difference be in the initial pre-format state of the disk image? Mine was created using VirtualBox rather than QEMU.

    • @neozeed8139
      @neozeed8139  Před 14 dny

      @@joshuasmith8119 Ive built it on Qemu, DosBOX & a physical machine... I'm not sure as I just did run format with no options. I tried to put something together here to mess around with but it stalls on javascript dosbox for some reason.. . archive.org/details/vmdos-4

    • @joshuasmith8119
      @joshuasmith8119 Před 14 dny +2

      Update: I managed to get a bootable DOS 4 floppy by using SETVER so that I could run the DOS 4 version of FORMAT A: /S (while still in DOS 5).

  • @buleini
    @buleini Před 18 dny

    So..... Phil Katz to the rescue?

    • @neozeed8139
      @neozeed8139  Před 18 dny

      more like inspired InfoZip into existence. I frequently have to use this 'trick' when dealing with github sources & dos projects.

    • @buleini
      @buleini Před 18 dny

      @@neozeed8139 I'm too old to *remember* which product came first which such a feature, I looked up Phil (not the Winzip company) when i saw somebody using WinRAR earlier this week - with the age old trial period of 30 days ...... I admit I should have seen you invoked Info-ZIP at the prompt, hearing you say "this is basically pkzip" :)

  • @nick9323
    @nick9323 Před 17 dny

    clone --depth 1, why all the history u need