Compiling MS-DOS 4.0 using DOSbox & Qemu

Поділитися
Вставка
  • Опубліковано 27 кві 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...
  • Наука та технологія

КОМЕНТАРІ • 19

  • @Prenderrem
    @Prenderrem 19 днів тому +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  19 днів тому +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 19 днів тому +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 19 днів тому +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  19 днів тому +1

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

    • @SlideRSB
      @SlideRSB 19 днів тому

      I believe Dosshell was not included until DOS 5.

    • @zoomosis
      @zoomosis 18 днів тому +2

      @@SlideRSB It was definitely included with DOS 4.

    • @neozeed8139
      @neozeed8139  18 днів тому +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 15 днів тому +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  15 днів тому

      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 14 днів тому

      @@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  14 днів тому

      @@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 14 днів тому +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 18 днів тому

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

    • @neozeed8139
      @neozeed8139  18 днів тому

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

    • @buleini
      @buleini 18 днів тому

      @@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 17 днів тому

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